Hi Senthil, >> -bash-3.2$ avr-gcc -v >> Using built-in specs. >> Target: avr >> Configured with: ../gcc-4.3.3/configure --target=avr --prefix=/usr/local/avr >> --enable-languages=c --disable-libssp --disable-shared --disable-libada >> --disable-libssp --disable-nls --with-dwarf2 --with-gmp=/usr/local >> --with-mpfr=/usr/local --prefix=/usr/local/avr : (reconfigured) >> ../gcc-4.3.3/configure --target=avr --prefix=/usr/local/avr >> --enable-languages=c --disable-libssp --disable-shared --disable-libada >> --disable-libssp --disable-nls --with-dwarf2 --with-gmp=/usr/local >> --with-mpfr=/usr/local --prefix=/usr/local/avr : (reconfigured) >> ../gcc-4.3.3/configure --target=avr --prefix=/usr/local/avr >> --enable-languages=c --disable-libssp --disable-shared --disable-libada >> --disable-libssp --disable-nls --with-dwarf2 --with-gmp=/usr/local >> --with-mpfr=/usr/local --prefix=/usr/local/avr >> Thread model: single >> gcc version 4.3.3 (GCC) >> > > Hmm, did you manage to build avr-libc successfully? Atleast from the avr-libc > configure command line you sent in the previous email, it looks like > you're missing --prefix. > > Can you try configuring avr-libc with > > ./configure --host=avr --prefix=/usr/local/avr > > and then running make and make install?
Wow, that fixed it! I can successfully build code now: -bash-3.2$ make avr-gcc -mmcu=atmega8 -Wall -O2 -I /usr/local/avr/include -I./ -o toggle_led.out main.c Serial.c Timer.c AnalogDigital.c avr-objcopy -j .text -O ihex toggle_led.out toggle_led.hex -rw-r--r-- 1 ahoesch other 5908 Oct 9 12:31 toggle_led.hex Thanks a lot!!! Andreas _______________________________________________ AVR-GCC-list mailing list AVR-GCC-list@nongnu.org https://lists.nongnu.org/mailman/listinfo/avr-gcc-list