[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gm2] Problem with building native compiler on x86 - about 1000 comp

From: Gaius Mulley
Subject: Re: [Gm2] Problem with building native compiler on x86 - about 1000 compiler errors
Date: Wed, 18 Sep 2013 13:23:31 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.4 (gnu/linux)

Gaius Mulley <address@hidden> writes:

>> I've also tried on the Raspberry Pi.  In that case the end of the make output
>> is a bit different:
>>     /home/pi/Modula-2/compiler/gcc/gm2/gm2-compiler-boot/M2LexBuf.c:1176:
>>     undefined reference to `m2flex_GetColumnNo'
>>     gm2/gm2-compiler-boot/gm2.a(M2Comp.o): In function
>>     `ExamineCompilationUnit':
>>     /home/pi/Modula-2/compiler/gcc/gm2/gm2-compiler-boot/M2Comp.c:270:
>>     undefined reference to `m2flex_M2Error'
>>     collect2: ld returned 1 exit status
>>     make[3]: *** [stage1/gm2/cc1gm2] Error 1
>>     make[3]: Leaving directory `/home/pi/Modula-2/compiler/gcc'
>>     cp: cannot stat `stage1/gm2/cc1gm2': No such file or directory
>>     make[2]: *** [cc1gm2] Error 1
>>     make[2]: Leaving directory `/home/pi/Modula-2/compiler/gcc'
>>     make[1]: *** [all-gcc] Error 2
>>     make[1]: Leaving directory `/home/pi/Modula-2/compiler'
>>     make: *** [all] Error 2
>> I've successfully installed the gm2 binary.  My eventual aim is to build a
>> cross-compiler on x86 for the Raspberry PI.  I'm trying native builds as a 
>> bit
>> of practice.  Any tips on building the cross-compiler would be very welcome!
>> Do you need any further details to be able to help me?

Hi John,

I was aiming to do the exact same thing (as well as a cross compiler for
atmega chips).  I'd definitely start playing with the gcc-4.7.3 graft,
it does still have problems - but it builds on LP64 with the pim and iso
libraries.  I'm currently getting about 90 regression test failures out
of about 1000.  But these are largely on large sets, floating point
casts etc


reply via email to

[Prev in Thread] Current Thread [Next in Thread]