[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-libc-dev] problems with divisions using libgcc.a
From: |
Joerg Wunsch |
Subject: |
Re: [avr-libc-dev] problems with divisions using libgcc.a |
Date: |
Sun, 29 Jan 2006 22:30:36 +0100 |
User-agent: |
Mutt/1.4.2.1i |
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 linker commands disagree on the -mmcu= option used.
You wrote you are using cdk4avr: they appear to be seriously out of
date these days (alas). You'd be much better compiling your own tools
then.
--
cheers, J"org .-.-. --... ...-- -.. . DL8DTL
http://www.sax.de/~joerg/ NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)