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.
_______________________________________________
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal