|
From: | Joerg Wunsch |
Subject: | Re: [avr-gcc-list] Linking Problems with undefined reference to '__mulhi3' when using fdevopen on atmega8 |
Date: | Mon, 6 Oct 2003 15:29:51 +0200 (MET DST) |
"Peter Hierholzer" <address@hidden> wrote: > As soon as I use fdevopen from the the avr-libc I get an unresolved > reference to __mulhi3 for MCU = atmega8. I'd take this as an indication that you forgot to add the -mmcu=atmega8 option to the compiler command-line that is used when linking the entire job. The fdevopen() function compiled for the ATmega8 is not supposed to call __mulhi3 (since the ATmega8 has a hardware multiplication unit). -- J"org Wunsch Unix support engineer address@hidden http://www.interface-systems.de/~j/
[Prev in Thread] | Current Thread | [Next in Thread] |