As Joerg Wunsch wrote: > > > avr-gcc -mmcu=atmega8 jsp.c -o jsp.hex
> > That's odd considering your command line above cannot compile a C > > file directly to a hex file. GCC compiles to object code (.o), then > > linked to an ELF file (.elf), then converted to a hex file (.hex) > > via avr-objcopy. > I think you nailed it down with this, Eric. p.s.: In theory, it's possible to instruct the linker to emit an intel hex file itself: avr-gcc -mmcu=atmega8 -Wl,--oformat=ihex jsp.c -o jsp.hex but somehow, the resulting hex file doesn't work. Something obviously goes wrong when using that route even though it is supposed to work. -- cheers, J"org .-.-. --... ...-- -.. . DL8DTL http://www.sax.de/~joerg/ NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-) _______________________________________________ AVR-libc-dev mailing list AVR-libc-dev@nongnu.org http://lists.nongnu.org/mailman/listinfo/avr-libc-dev