Re: ARM7 toolchain from the scratch
Albert Vélez Ortiz <[email protected]>
| Newsgroups | gmane.linux.uclinux.devel |
|---|---|
| Message-ID | <OF75D89564.14180D30-ONC1257C5B.0040C657-C1257C5B.0040C876@parkaregroup.com> |
The first error is:
/tmp/toolchain-4.3.1/gcc-4.3.1/builddir/./gcc/xgcc
-B/tmp/toolchain-4.3.1/gcc-4.3.1/builddir/./gcc/
-B/usr/local/toolchain-4.3.1/arm-elf/bin/
-B/usr/local/toolchain-4.3.1/arm-elf/lib/ -isystem
/usr/local/toolchain-4.3.1/arm-elf/include -isystem
/usr/local/toolchain-4.3.1/arm-elf/sys-include -O2 -g -g -O2 -O2 -O2 -g
-g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE -W -Wall -Wwrite-strings
-Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem
./include -fno-inline -g -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -I. -I.
-I../.././gcc -I../../../libgcc -I../../../libgcc/.
-I../../../libgcc/../gcc -I../../../libgcc/../include -DHAVE_CC_TLS -o
_muldi3.o -MT _muldi3.o -MD -MP -MF _muldi3.dep -DL_muldi3 -c
../../../libgcc/../gcc/libgcc2.c \
In file included from
/usr/local/toolchain-4.3.1/arm-elf/sys-include/stdio.h:28,
from ../../../libgcc/../gcc/tsystem.h:90,
from ../../../libgcc/../gcc/libgcc2.c:33:
/usr/local/toolchain-4.3.1/arm-elf/sys-include/features.h:187:33: error:
bits/uClibc_config.h: No such file or directory
In file included from ../../../libgcc/../gcc/tsystem.h:90,
from ../../../libgcc/../gcc/libgcc2.c:33:
/usr/local/toolchain-4.3.1/arm-elf/sys-include/stdio.h:36:25: error:
bits/types.h: No such file or directory
/usr/local/toolchain-4.3.1/arm-elf/sys-include/stdio.h:72:31: error:
bits/uClibc_stdio.h: No such file or directory
In file included from ../../../libgcc/../gcc/tsystem.h:90,
from ../../../libgcc/../gcc/libgcc2.c:33:
/usr/local/toolchain-4.3.1/arm-elf/sys-include/stdio.h:81: error: expected
'=', ',', ';', 'asm' or '__attribute__' before 'fpos_t'
/usr/local/toolchain-4.3.1/arm-elf/sys-include/stdio.h:131:28: error:
bits/stdio_lim.h: No such file or directory
/usr/local/toolchain-4.3.1/arm-elf/sys-include/stdio.h: In function
'libc_hidden_proto':
/usr/local/toolchain-4.3.1/arm-elf/sys-include/stdio.h:148: error: storage
class specified for parameter 'rename'
/usr/local/toolchain-4.3.1/arm-elf/sys-include/stdio.h:154: error: storage
class specified for parameter 'renameat'
/usr/local/toolchain-4.3.1/arm-elf/sys-include/stdio.h:163: error: storage
class specified for parameter 'tmpfile'
Albert Vélez Ortiz
Software Engineer ? R&D
Tel: +34 93 564 76 00 - Ext: 2418
Fax: +34 93 564 76 17
De acuerdo con lo establecido en la Ley de Protección de Datos de Carácter
Personal, les informamos que los datos que figuran en esta comunicación
están incluidos en un fichero automatizado propiedad de PARKARE GROUP,
S.L. Estos datos han sido obtenidos legítimamente o bien de fuentes
accesibles al público o bien han sido cedidos voluntariamente por Vd. Para
el ejercicio de los derecho de acceso, rectificación, cancelación u
oposición, podrán dirigirse en cualquier momento a dicha entidad, en el
domicilio sito en de Calle Vapor, 36, 08110 - Montcada i Reixac, Barcelona
.
De: "beck" <[email protected]>
Para: "'uClinux development list'" <[email protected]>
Fecha: 09/01/2014 08:16
Asunto: Re: [uClinux-dev] ARM7 toolchain from the scratch
Enviado por: [email protected]
Can you stamp out the compile message more detail.
beck
From: [email protected] [
mailto:[email protected]] On Behalf Of Albert Velez Ortiz
Sent: Wednesday, January 08, 2014 3:05 PM
To: [email protected]
Subject: [uClinux-dev] ARM7 toolchain from the scratch
Hi all,
I'm currently using an old compiler (gcc 2.95.3) and I wanted to upgrade
it to a newer version. I'm using uClinux 2.4.20 on top of a STR710.
I tried to use gcc 4.3.1 with binutils 2.19 and uClibc 0.9.33.
The steps I followed are:
I've compiled the binutiles
I've compiled the gcc (make all-gcc) with the folloging configure chain:
../configure --target=$target --prefix=$prefix --disable-nls
--disable-shared --disable-threads --with-float=soft --with-gcc
--with-gnu-ld --with-gnu-as --with-dwarf2 --enable-languages=c,c++
--with-endian=little --disable-libgomp --disable-multilib --disable-shared
--without-headers --with-headers=../../uClibc-0.9.33.2/include
--with-sysroot=$sysroot -v
Everything seems to work, but when I make "make all" in gcc i get an error
with libgcc. It isn't suposed to be built, isn't it? Anyone has an idea of
the exact versions and the procedure to follow?
Thanks for your help,
Albert Vélez Ortiz
Software Engineer ? R&D
Tel: +34 93 564 76 00 - Ext: 2418
Fax: +34 93 564 76 17
De acuerdo con lo establecido en la Ley de Protección de Datos de Carácter
Personal, les informamos que los datos que figuran en esta comunicación
están incluidos en un fichero automatizado propiedad de PARKARE GROUP,
S.L. Estos datos han sido obtenidos legítimamente o bien de fuentes
accesibles al público o bien han sido cedidos voluntariamente por Vd. Para
el ejercicio de los derecho de acceso, rectificación, cancelación u
oposición, podrán dirigirse en cualquier momento a dicha entidad, en el
domicilio sito en de Calle Vapor, 36, 08110 - Montcada i Reixac, Barcelona
._______________________________________________
uClinux-dev mailing list
[email protected]
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [email protected]
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev
_______________________________________________
uClinux-dev mailing list
[email protected]
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [email protected]
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev
(unnamed)
(image/gif, 6.4 KB) - not displayed
(unnamed)
(image/gif, 6.4 KB) - not displayed