[Top][All Lists]

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

[Gm2] Status of builds on x86 and ARM using gcc-4.7.3+gm2-cvs-latest.tar

From: JD
Subject: [Gm2] Status of builds on x86 and ARM using gcc-4.7.3+gm2-cvs-latest.tar.gz (27-Sep-2013)
Date: Mon, 30 Sep 2013 20:13:10 +0100
User-agent: Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Thunderbird/24.0

1. Building
I've built native compilers on x86 with Ubuntu 13.04 and on ARM (i.e. Raspberry Pi) with Raspbian from gcc-4.7.3+gm2-cvs-latest (27-Sep-2013). By 'built' I mean I've run configure, make and make-install and this created a new binary file gm2 in $HOME/opt/bin. The Ubuntu make ended with just "leaving directory" output but the Raspbian make ended with Errors 1 & 2.

2.  Testing
I've found the reason for the cc1plus error (thanks for the strong hint, Gaius!). I hadn't set GM2_ROOT to ~/opt (or to anything in fact).

a) Ubuntu
'hello world' compiles and executes. However, a similar simple module does not compile. It should display the lengths of all the multi-sized types, e.g. INTEGER64. It appears that the built file ~/opt/lib/gcc/i686-pc-linux-gnu/4.7.3/gm2/iso/SYSTEM.def does not contain the full list of types, e.g. INTEGER64, whereas the file that comes when you install the gm2 package, /opt/gm2/lib/gcc/i486-linux-gnu/4.1.2/gm2/iso/SYSTEM.def, does have these multi-sized types defined.

b) Raspbian on Pi
'hello world' does not compile.  It failed to find SYSTEM.def even after:
      export GM2_ROOT=~/opt

The immediate problem is that the library is incomplete. For example, there is NOT a gm2 directory in ~/opt/lib/gcc/armv6l-unknown-linux-gnueabihf/4.7.3/ I can see that gcc-4.7.3+gm2-cvs-latest/gcc/gm2/gm2-libs-iso contains SYSTEM.def but it doesn't have StrIO.def, so I'll not try this route anymore.


reply via email to

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