[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gm2] Status of builds on x86 and ARM using gcc-4.7.3+gm2-cvs-latest
From: |
Gaius Mulley |
Subject: |
Re: [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 21:32:23 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.4 (gnu/linux) |
JD <address@hidden> writes:
> 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.
Hi,
thanks for the bug report - will look into this.
> 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.
I just wonder if you could possibly check to see that --enable-libgm2 is
specified on the configure command line?
regards,
Gaius
>
> Regards,
> John
>
>
>
> _______________________________________________
> gm2 mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/gm2