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
>
> 2012/8/1 Georg-Johann Lay <
address@hidden>
>
> > 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
> >