[fpc-pascal] FPC only 32 bits?

Francisco Reyes lists at stringsutils.com
Thu Jun 7 15:22:46 CEST 2007


Henry Vermaak writes:

> this doesn't look right you've got BINUTILSPREFIX=x86_64-freebsd
> -INSTALL_PREFIX=... where you should have
> BINUTILSPREFIX=x86_64-freebsd- INSTALL_PREFIX=... (note the space
> after freebsd)
> 
> did you copy in paste or is this a typo?

It was a typo.
Corrected. Thanks.
 
>> I think one of my problems may be the CROSSBINDIR. Reading the buildfaq I
>> am not sure what that is supposed to point it to.
> 
> this is the folder with the files x86_64-freebsd-* in it (e.g. as, ld)

So I copy /usr/bin/as to /vol2/fp-amd/fpc/crossbin and name it 
x86_64-freebsd-as?

Did that.

Tried again. Got a number of errors from the assembler. Errors like:
/vol2/fp-amd/fpc/crossbin/x86_64-freebsd-as -o 
/vol2/fp-amd/fpc/rtl/units/x86_64-freebsd/prt0.o x86_64/prt0.as
x86_64/prt0.as: Assembler messages:
x86_64/prt0.as:31: Error: suffix or operands invalid for `push'
x86_64/prt0.as:33: Error: suffix or operands invalid for `movq'
x86_64/prt0.as:37: Error: `-8(%rbp)' is not a valid 32 bit base/index 
expression
x86_64/prt0.as:38: Error: `-16(%rbp)' is not a valid 32 bit base/index 
expression




More information about the fpc-pascal mailing list