[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-gcc-list] Building AVRGCC on an AMD64-Box fails
From: |
Matthias Weißer |
Subject: |
Re: [avr-gcc-list] Building AVRGCC on an AMD64-Box fails |
Date: |
Wed, 14 Apr 2004 19:39:58 +0200 |
User-agent: |
Mozilla Thunderbird 0.5 (Windows/20040207) |
Joerg Wunsch schrieb:
/home/mat/avr/gcc-3.3.2/obj-avr/gcc/xgcc -B/home/mat/avr/gcc-3.3.2/obj-avr/gcc/
-B/usr/local/avr/avr/bin/ -B/usr/local/avr/avr/lib/ -isystem
/usr/local/avr/avr/include -O2 -DIN_GCC -DCROSS_COMPILE -W -Wall
-Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -isystem ./include
-DDF=SF -Dinhibit_libc -mcall-prologues -g -DIN_LIBGCC2
-D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc -I. -I. -I../../gcc -I../../gcc/.
-I../../gcc/config -I../../gcc/../include -DL_fixunsdfsi -S
../../gcc/libgcc2.c -o libgcc/./_fixunsdfsi.s
After a little bit of confusion I could do it. The command had to be run
from <obj-dir>/gcc and not from <obj-dir>
And look into lines 111...114 of the generated _fixunsdfsi.s file.
Here http://matwei.callisto.twam.info/fixunsdfsi.tar.gz is the complete
file. The interesting lines are
ldi r18,lo8(0xffffffffcf000000)
ldi r19,hi8(0xffffffffcf000000)
ldi r20,hlo8(0xffffffffcf000000)
ldi r21,hhi8(0xffffffffcf000000)
And there seems to be 64Bit-Int's instead of 32Bit-Int's which should be
there. Right?
Maybe this will get us some enlightenment about the root of the evil.
I think we now know what causes the error. But now: How to fix it? I can
compile the gcc on a 32 Bit box and then put it to my desktop. But that
can't be the solution. Do I have to fix the lo8()... "functions" of the
assembler?
Hmm, and just in case, have you tried that with the `C' locale, too
(instead of the German one)?
What?
--
Matthias Weißer
address@hidden
http://www.matwei.de
- [avr-gcc-list] Building AVRGCC on an AMD64-Box fails, Matthias Weißer, 2004/04/11
- Re: [avr-gcc-list] Building AVRGCC on an AMD64-Box fails, Anton Erasmus, 2004/04/12
- Re: [avr-gcc-list] Building AVRGCC on an AMD64-Box fails, E. Weddington, 2004/04/12
- Re: [avr-gcc-list] Building AVRGCC on an AMD64-Box fails, Matthias Weißer, 2004/04/13
- Re: [avr-gcc-list] Building AVRGCC on an AMD64-Box fails, E. Weddington, 2004/04/13
- Re: [avr-gcc-list] Building AVRGCC on an AMD64-Box fails, Matthias Weißer, 2004/04/13
- Re: [avr-gcc-list] Building AVRGCC on an AMD64-Box fails, E. Weddington, 2004/04/13
- Re: [avr-gcc-list] Building AVRGCC on an AMD64-Box fails, Matthias Weißer, 2004/04/14
- Re: [avr-gcc-list] Building AVRGCC on an AMD64-Box fails, Joerg Wunsch, 2004/04/14
- Re: [avr-gcc-list] Building AVRGCC on an AMD64-Box fails,
Matthias Weißer <=
- Re: [avr-gcc-list] Building AVRGCC on an AMD64-Box fails, Joerg Wunsch, 2004/04/15
- Re: [avr-gcc-list] Building AVRGCC on an AMD64-Box fails, Joerg Wunsch, 2004/04/15
- Re: [avr-gcc-list] Building AVRGCC on an AMD64-Box fails, Matthias Weißer, 2004/04/16
- Re: [avr-gcc-list] Building AVRGCC on an AMD64-Box fails, E. Weddington, 2004/04/15
- Re: [avr-gcc-list] Building AVRGCC on an AMD64-Box fails, Matthias Weißer, 2004/04/16
- Re: [avr-gcc-list] Building AVRGCC on an AMD64-Box fails, E. Weddington, 2004/04/16
- Re: [avr-gcc-list] Building AVRGCC on an AMD64-Box fails, Joerg Wunsch, 2004/04/21