gm2
[Top][All Lists]
Advanced

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

Re: [Gm2] cross compile gm2 for rpi arm?


From: Charles Bradshaw
Subject: Re: [Gm2] cross compile gm2 for rpi arm?
Date: Sun, 25 May 2014 09:08:31 +0100

I see some attempts to do a native compile of gm2 on the pi, but this
takes "> 7 days" !

Surely it makes more sense to cross compile? After all, we could get
errors during the 7 day run only to have to repeat N times before
getting it to work.

The purpose of RPI gm2 is to provide beginner programmers the
opportunity to experience the "obvious!" advantages of Modula 2.

Ultimately compiling anything non trivial (the whole purpose of Modula
2) on the RPI is fraught. The final step, therefore, is a cross gm2
targeting the pi.

Please help...

On Sat, 2014-05-24 at 11:55 +0100, Charles Bradshaw wrote:
> I have a successful install of crosstool-ng for the RPI arm processor.
> 
> During the configuration I see some options for compiling optional GNU
> front ends, fortran etc, but not gm2.
> 
> My native gm2 is based on gcc 4.1.2
> 
> I'm hoping to cross compile gm2 using the arm tool chain from the above
> install, but the gcc version is 4.7.2
> 
> $  arm-unknown-linux-gnueabi-gcc -v
> ...
> Thread model: posix
> gcc version 4.7.2 (crosstool-NG 1.18.0)
> 
> 
> I would be grateful if someone could give me some pointers how to cross
> compile gm2 with the arm tool chain.
> 
> 
> 
> _______________________________________________
> gm2 mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/gm2





reply via email to

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