Hi Volker, Yes, this was a bit confusing for me too, and yes the build-system appears to have changed a little: gcc-4.2.4 did not need gmp/mpfr/mpc gcc-4.3.x and 4.4.x need gmp/mpfr/mpc as binary libraries, won't accept the sources. gcc-4.5.x and 4.6.x need the sources, won't accept the binaries. -So I have 3 different cases in my build-script. ;)
You can probably leave the ABI=32 out entirely. I needed it only for 4.3.x and 4.4.x... :) Instead of making symbolic links, some people prefer copying the sources directly into gcc's source-directory, but making symbolic links works the same way, I have no problems anymore. =) Try it out and see if it builds. Love, Jens >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. > >_______________________________________________ >AVR-GCC-list mailing list >AVR-GCC-list@nongnu.org >https://lists.nongnu.org/mailman/listinfo/avr-gcc-list > _______________________________________________ AVR-GCC-list mailing list AVR-GCC-list@nongnu.org https://lists.nongnu.org/mailman/listinfo/avr-gcc-list