Re: [avr-libc-dev] problems with divisions using libgcc.a

2006-01-29 Thread Björn Haase
Ingo Heffe wrote on Sonntag, 29. Januar 2006 12:19 : Hello, i'm using the cdk4avr environment for programming an Atmel-Mega64 controller on a Mandrake-10.1-PC. If a division-command with a divisor, that can't be expressed by a shift-operation (e.g. variable /= 10;) is implemented, the linker

Re: [avr-libc-dev] problems with divisions using libgcc.a

2006-01-29 Thread Joerg Wunsch
As Ingo Heffe wrote: If a division-command with a divisor, that can't be expressed by a shift-operation (e.g. variable /= 10;) is implemented, the linker causes an error undefined reference to __udivmodhi4. Either your software configuration is broken/inconsistent, or your compiler and