On Wed, Aug 01, 2012 at 12:35:47PM +0300, Kaan Akşit wrote: > I am using below code to configure avr-gcc, I don't understand what is > wrong with it: > > ../configure --target=avr --mandir=/usr/share/man --datadir=/usr/share > --prefix=/usr/share/avr --enable-languages="c,c++" --disable-nls > --disable-libssp --with-dwarf2 --with-system-zlib > --enable-version-specific-runtime-libs --with-pkgversion="Pardus Linux" > --with-bugurl=http://bugs.pardus.org.tr > > Kaan
Running configure from within a subdirectory of the gcc source directory (as inferred from ../configure) is not supported. See http://gcc.gnu.org/install/configure.html. You need to create a directory outside the toplevel source directory for GCC and run configure from there. Regards Senthil > > 2012/8/1 Georg-Johann Lay <[email protected]> > > > Kaan Akşit schrieb: > > > > > > $ avr-gcc -mmcu=atmega8 -v -c demo.c > >> Using built-in specs. > >> COLLECT_GCC=avr-gcc > >> Target: avr > >> Configured with: ../configure --target=avr --mandir=/usr/share/man > >> > > > > You still configure in the source tree which is not supported. > > > > Johann > > _______________________________________________ AVR-GCC-list mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/avr-gcc-list
