> -----Original Message----- > From: avr-gcc-list-bounces+eric.weddington=atmel....@nongnu.org > [mailto:avr-gcc-list-bounces+eric.weddington=atmel....@nongnu.org] On > Behalf Of Joerg Wunsch > Sent: Tuesday, November 01, 2011 10:08 AM > To: avr-libc-dev@nongnu.org > Cc: avr-gcc-l...@nongnu.org > Subject: Re: [avr-gcc-list] [avr-libc-dev] [bug #28837] using PSTR with > c++ produces warnings > > > . use --disable-shared when configuring the gmp, mpc, and mpfr > libraries for your new compiler > > (In the latter case, make sure that there are no .so libs from > previous attempts sitting around in ${prefix}/lib.) > > Based on experience from previous toolchain compilations, it's also > always a good idea to reset PATH to the minimal elements that are > strictly needed for the compilation, like /bin/:/usr/bin, or > /bin:/usr/bin:/usr/local/bin. >
The above advice always worked for me. Personally I don't like messing around with shared libraries (DLLs) unless I have to. Simplifying the PATH also has always made building things easier. I do this in my build scripts. A lot of build problems that I have run into seems to get fixed quickly by fixing the PATH. _______________________________________________ AVR-libc-dev mailing list AVR-libc-dev@nongnu.org https://lists.nongnu.org/mailman/listinfo/avr-libc-dev