Changes to the assembler headers
Tony van der Hoff
tony at mk-net.demon.co.uk
Sat Jan 3 18:50:05 GMT 2004
Philip Ludlam <philip at philipnet.com> wrote in message
<5728166b4c.philip at philipnet.com>
[snip]
>
> Comparing with the previous version of OSLib I had installed, it looks
> like GET OSLib:oslib.Hdr.Types has been changed to GET oslib.Hdr.Types .
> Is this intentional?
>
Yes - see Changelog :
- Fix to DefMod to no longer emit the OSLib: prefix to assembler Hdr
includes (20031227-1, Tony van der Hoff).
This is something we did years ago for the C headers to make OSLib less
platform-dependant; and I found it necessary to do this for the OBJASM
headers.
[snip]
> In an attempt to get Director to compile I added the -I argument to objasm
> like so:
> objasm -throwback -depend !Depend -predefine "Name SETS \"Director\"" -I
OSLib: s.Messages o.Messages -predefine "OSVersion SETA 0" -PreDefine
"SIGNATURE SETL {TRUE}"
ObjAsm has a 'feature' which seems to prevent it expanding path variables
from the command line.
>
> So do tell how I might get it to compile?
Try this:
do objasm -throwback -depend !Depend -predefine "Name SETS \"Director\"" -I
<OSLib$Path> s.Messages o.Messages -predefine "OSVersion SETA 0" -PreDefine
"SIGNATURE SETL {TRUE}"
Don't forget the "do".
Have a look in OSLib/!OsLib/Source/Test/TestHDR/Makefile,fe1 in the
repository to see a Makefile implementation.
I'll add this to the FAQ before it becomes one ;-)
HTH, Tony
--
Tony van der Hoff
Buckinghamshire England
More information about the oslib-user
mailing list