rtems-cvs toolchain

Nigel Spon nigel at adi.co.nz
Tue Apr 22 03:36:05 UTC 2008

On 22/04/2008, at 11:00 AM, Joel Sherrill wrote:
> It would be nice to get a 405 BSP back in the tree but that
> one was using (God help me) .. the other exception model
> and was the last one.  So it was removed in the interest
> of forward motion.

Hmm. Forward motion is good, but I seem to have gone too far forward  
and wound up in a bog.

After a lot of updating and unpacking, I find I can't compile gcc  
4.3.0 because it needs mpfr and gmp. I have the latest versions of  
these (2.3.1 and 4.2.2) and they build, but they default to 64-bit (- 
m64 -mtune=k8). The gcc build doesn't like this:

configure:4543: checking for correct version of mpfr.h
configure:4574: /Developer/usr/bin/cc -o conftest -g -O2     
conftest.c  -lmpfr -lgmp >&5
ld: warning in /usr/local/lib/libmpfr.dylib, file is not of required  
ld: warning in /usr/local/lib/libgmp.dylib, file is not of required  

If I try building gmp with ABI=32 the build fails with a lot of:

fib_table.c:61: warning: integer constant is too large for 'long' type

A bit of Googling reveals that Apples gcc is not popular with the gmp/ 
mpfr folks because Apple do bad things, etc, etc, so it doesn't look  

I don't think I'm going to be able to do anything with RTEMS 4.9. I  
may have to do what I can with RTEMS 4.8.

“Now, the objective of this expedition is to attempt to find some  
trace of last years expedition.”

Michael Hamel
ADInstruments Ltd, Dunedin, NZ

More information about the users mailing list