I am really confused because if I do not set any prefix during configuration; both avr-gcc and avr-binutils will use /usr/local which means default is not the supported way.
So to give an example if I use prefix /usr/local for avr-binutils, should I be using something outside of /usr/local ? For example /usr/share/avr. Then I need to export both /usr/local and /usr/share/avr as PATH? Did I get i right? Kaan 2012/8/1 Senthil Kumar Selvaraj <senthil_kumar.selva...@atmel.com> > 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 <a...@gjlay.de> > > > > > 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 AVR-GCC-list@nongnu.org https://lists.nongnu.org/mailman/listinfo/avr-gcc-list