On 08-02-12 17:31, Koenraad Lelong wrote:
On 08-02-12 15:42, Jonas Maebe wrote:
On 08 Feb 2012, at 15:31, Koenraad Lelong wrote:
After some debugging, I think my compiler does not work. I'm pretty
certain it outputs arm-code in stead of the needed thumb2 code.
The error below indicates the compiler does not get to emitting any kind
of code at all.
What I say above is from a crosscompiler made with 2.6.0.
Below is what I get when I try to make a new crosscompiler, using svn
20278.
I just tried to make a crosscompiler using svn 20278, which fails :
I did another experiment.
I make a zip-file with a 2.7.1 compiler and its sources. I installled
this on a brand new virtual machine with OpenSuse, so no fpc 2.6.0
available. With this I compiled the compiler itself (no install). This
went fine, so I expect the installation was OK. Then I tried to make the
crosscompiler. This failed with the same error as before :
make rtl_all FPC=/home/koenraad/devel/fpc-svn/compiler/ppcrossarm RELEASE=1
make[1]: Map '/home/koenraad/devel/fpc-svn' wordt binnengegaan
make -C rtl all
make[2]: Map '/home/koenraad/devel/fpc-svn/rtl' wordt binnengegaan
make -C embedded all
make[3]: Map '/home/koenraad/devel/fpc-svn/rtl/embedded' wordt binnengegaan
/bin/mkdir -p /home/koenraad/devel/fpc-svn/rtl/units/arm-embedded
/home/koenraad/devel/fpc-svn/compiler/ppcrossarm -Cparmv7m @rtl.cfg -Ur
-Tembedded -Parm -XParm-none-eabi- -Xr -Ur -Xs -O2 -n -Fi../inc
-Fi../arm
-FD/home/koenraad/CodeSourcery/Sourcery_CodeBench_Lite_for_ARM_EABI/bin
-FE. -FU/home/koenraad/devel/fpc-svn/rtl/units/arm-embedded -darm
-dRELEASE -CfSoft -Us -Sg system.pp
text.inc(1897,3) Fatal: Unknown compilerproc "fpc_ansistr_assign". Check
if you use the correct run time library.
Fatal: Compilation aborted
make[3]: *** [system.ppu] Fout 1
make[3]: Map '/home/koenraad/devel/fpc-svn/rtl/embedded' wordt verlaten
make[2]: *** [embedded_all] Fout 2
make[2]: Map '/home/koenraad/devel/fpc-svn/rtl' wordt verlaten
make[1]: *** [rtl_all] Fout 2
make[1]: Map '/home/koenraad/devel/fpc-svn' wordt verlaten
make: *** [base.build-stamp.arm-embedded] Fout 2
What am I doing wrong ? All suggestions to help resolve this are welcomed.
Thanks,
Koenraad Lelong.
_______________________________________________
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal