avr-gcc-list
[Top][All Lists]
Advanced

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

Re: [avr-gcc-list] cannot compile arrrghh...


From: Volker Kuhlmann
Subject: Re: [avr-gcc-list] cannot compile arrrghh...
Date: Sun, 30 Oct 2011 22:16:30 +1300

On Sun 30 Oct 2011 19:58:12 NZDT +1300, Jens Bauer wrote:

Hi Jens,

thanks!

> ln -s $source/gmp-5.0.2 $source/gcc-4.6.2/gmp
> ln -s $source/mpfr-5.0.2 $source/gcc-4.6.2/mpfr
> ln -s $source/mpc-5.0.2 $source/gcc-4.6.2/mpc

Well if that's the case I have to laugh. Instructions said to compile
gcc those libraries are needed, which is commonly understood as the .so,
headers and maybe the .a being available (they are, configure would barf
otherwise). It doesn't say "the lib sources need to be available in the gcc
source directory" (what for? and why doesn't configure test for this if
it's that critical?). 

> Furthermore, you no longer need to compile the gmp/mpfr/mpc libraries; that's 
> only for gcc 4.3.x and 4.4.x!
> You should not need --with-gmp/--with-mpfr/--with-mpc either; just the above 
> mentioned symbolic links.

I don't have those --with-gmp etc.

Also, 4.3.3 compiles without those library sources being available, so
unless the 4.6 build system is different I wouldn't expect this to make
a difference, but I'll try.

> It might be required for you to set ABI... I have the following on my PowerPC 
> Mac:
> 
> CC="gcc -m32"
> $source/gcc-4.6.2/configure ABI=32

The host system is 64bit, the cross compiler will still run on 64bit,
though the target is 8bit or maybe 32bit. I'll try this too, but again
for 4.3.3 it's not needed.

Thanks for yourhelp,

Volker

-- 
Volker Kuhlmann
http://volker.dnsalias.net/     Please do not CC list postings to me.



reply via email to

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