os-byte and UnixLib
John Tytgat
John.Tytgat at aaug.net
Sat Mar 17 02:14:12 GMT 2001
In message <4a5c4b691fron at rplund.demon.co.uk>
RP Lund <ron at rplund.demon.co.uk> wrote:
> In article <0cd8ab594a.Jo at village.uunet.be>,
> John Tytgat <John.Tytgat at aaug.net> wrote:
> > A patch for UnixLib to remove the os_byte() & os_cli() function name
> > clash with OSLib, has been submitted & accepted. See
> > <URL:http://hard-mofo.dsvr.net/unixlib/> for information on UnixLib and
> > how to get an up to date version.
>
> > John.
>
> Great!
>
> I downloaded the source gz [ 20010211 ]
> but....
>
> How do I get past this?
>
> gcc -c -o unix.o.getpagesiz ^.source.unix.s.getpagesiz
> : 1 4
> Error: IF expression must be boolean (treating as TRUE) at line 101 in
> macro return in file 'lH'
> at line 22
> gcc: Fatal compiler error: program as
>
> This seems to refer to
> [ APCS32 = "no"
>
> in unixlib.s.asm_dec
This is a first go at an APCS32 compliant UnixLib. In fact this should
and will be corrected into "{CONFIG}=32" one day. However, for the moment
you need to define the APCS32 variable for your assembler to an appropriate
value.
If you use 'as', you probably need -DAPCS32="no" (I'm not too sure about
this as I'm not an 'as' user). If you use 'objasm', you need
-Predefine "APCS32 SETS \"no\"" on your command line. I don't recommend
to set this variable to other values than "no".
For more UnixLib questions, please use the UnixLib mailing list.
John.
--
John Tytgat, in his comfy chair at home BASS
John.Tytgat at aaug.net ARM powered, RISC OS driven
More information about the oslib-user
mailing list