[M3devel] more cm3cg on Raspberry Pi

Jay jay.krell at cornell.edu
Wed Oct 23 17:35:37 CEST 2013


Let's maybe backup and build a working gcc? And, "apt get source" on the rpi and compare to stock FSF gcc 4.7.x? And/or give me ssh access?

I haven't compared cm3cg with C wrt performance.

 - Jay

On Oct 22, 2013, at 9:47 AM, <mika at async.caltech.edu> wrote:

> 
> One more thing ...
> 
> from
> 
> https://wiki.debian.org/ArmHardFloatPort/VfpComparison
> 
> "The combination of -mfpu=vfp and -mfloat-abi=hard is not available in FSF GCC 4.4, but the CodeSourcery 2009q1 compiler (and later, current release is 2010q1) supports it as does FSF GCC 4.5."
> 
> but the way cm3cg is compiled it says:
> 
> root at raspberrypi:/big/home/mika# /usr/local/cm3/bin/cm3cg -version
> Modula-3 backend (GCC) version 4.7.1 (armv6l-unknown-linux-gnueabihf)
>        compiled by GNU C version 4.6.3, GGC heuristics: --param ggc-min-expand=59 --param ggc-min-heapsize=56092
> Modula-3 backend (GCC) version 4.7.1 (armv6l-unknown-linux-gnueabihf)
>        compiled by GNU C version 4.6.3, GGC heuristics: --param ggc-min-expand=59 --param ggc-min-heapsize=56092
> options passed: 
> 
> Hmm... so it should support the combination?  But:
> 
> root at raspberrypi:/big/home/mika# /usr/local/cm3/bin/cm3cg -mfpu=vfp -mfloat-abi=hard
> cm3cg: sorry, unimplemented: -mfloat-abi=hard and VFP
> 
> Execution times (seconds)
> TOTAL                 :   0.00             0.00             0.02                  0 kB
> 
>      Mika 



More information about the M3devel mailing list