[fpc-pascal] FPC only 32 bits?

Francisco Reyes lists at stringsutils.com
Thu Jun 7 15:35:27 CEST 2007


Vincent Snijders writes:

>> x86_64/prt0.as:38: Error: `-16(%rbp)' is not a valid 32 bit base/index 
>> expression
> 
> Can you manually assemble prt0.as?
 
> Maybe the assembler needs --64 to be in 64 bits mode. In that case you may need to 
> write some wrapper scripts to add that parameter.

Even though my very first attempt did not produce compiled rtl units for 
x86. It seems I did get a compiler.

I am trying to use that compiler to then do an install in the amd64 machine.
It crashes trying to run:
as -o /data/fpc/rtl/units/i386-freebsd/prt0.o i386/prt0.as

However if I add --64 to the same line.. (manually.. and including 
the missing path) it works.

Will try two things now..
1- See if I can find the crosscompile tools needed
2- See if somehow I can pass the right parameter to the 'as' on the amd64 
and see if I am able to finish the build on that environment.  



More information about the fpc-pascal mailing list