Discussion:
[uClinux-dev] ARM7 toolchain from the scratch
Albert Vélez Ortiz
2014-01-08 07:05:00 UTC
Permalink
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
.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.uclinux.org/pipermail/uclinux-dev/attachments/20140108/6d637fe5/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/gif
Size: 6587 bytes
Desc: not available
URL: <Loading Image...>
beck
2014-01-09 07:16:19 UTC
Permalink
Can you stamp out the compile message more detail.





beck



_____

From: uclinux-dev-bounces at uclinux.org
[mailto:uclinux-dev-bounces at uclinux.org] On Behalf Of Albert Velez Ortiz
Sent: Wednesday, January 08, 2014 3:05 PM
To: uclinux-dev at uclinux.org
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.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.uclinux.org/pipermail/uclinux-dev/attachments/20140109/f5c162b7/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.gif
Type: image/gif
Size: 6587 bytes
Desc: not available
URL: <Loading Image...>
Albert Vélez Ortiz
2014-01-09 11:47:36 UTC
Permalink
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" <beck at redcom.com.tw>
Para: "'uClinux development list'" <uclinux-dev at uclinux.org>
Fecha: 09/01/2014 08:16
Asunto: Re: [uClinux-dev] ARM7 toolchain from the scratch
Enviado por: uclinux-dev-bounces at uclinux.org



Can you stamp out the compile message more detail.


beck


From: uclinux-dev-bounces at uclinux.org [
mailto:uclinux-dev-bounces at uclinux.org] On Behalf Of Albert Velez Ortiz
Sent: Wednesday, January 08, 2014 3:05 PM
To: uclinux-dev at uclinux.org
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
uClinux-dev at uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev at uclinux.org
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.uclinux.org/pipermail/uclinux-dev/attachments/20140109/ea9316fd/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/gif
Size: 6587 bytes
Desc: not available
URL: <Loading Image...>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/gif
Size: 6587 bytes
Desc: not available
URL: <Loading Image...>
Albert Vélez Ortiz
2014-01-10 08:00:15 UTC
Permalink
Morning all,

I've compiled it from /tmp/toolchain-4.3.1/gcc-4.3.1/builddir

The target was arm-elf
The output directory was /usr/local/toolchain-4.3.1

Best regards,

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" <beck at redcom.com.tw>
Para: "'uClinux development list'" <uclinux-dev at uclinux.org>
Fecha: 10/01/2014 07:46
Asunto: Re: [uClinux-dev] ARM7 toolchain from the scratch
Enviado por: uclinux-dev-bounces at uclinux.org



Include path error

beck


From: uclinux-dev-bounces at uclinux.org [
mailto:uclinux-dev-bounces at uclinux.org] On Behalf Of Albert Velez Ortiz
Sent: Thursday, January 09, 2014 7:48 PM
To: uClinux development list
Subject: Re: [uClinux-dev] ARM7 toolchain from the scratch

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" <beck at redcom.com.tw>
Para: "'uClinux development list'" <uclinux-dev at uclinux.org>
Fecha: 09/01/2014 08:16
Asunto: Re: [uClinux-dev] ARM7 toolchain from the scratch
Enviado por: uclinux-dev-bounces at uclinux.org




Can you stamp out the compile message more detail.


beck




From: uclinux-dev-bounces at uclinux.org [
mailto:uclinux-dev-bounces at uclinux.org] On Behalf Of Albert Velez Ortiz
Sent: Wednesday, January 08, 2014 3:05 PM
To: uclinux-dev at uclinux.org
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
uClinux-dev at uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev at uclinux.org
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev
_______________________________________________
uClinux-dev mailing list
uClinux-dev at uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev at uclinux.org
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.uclinux.org/pipermail/uclinux-dev/attachments/20140110/597e1603/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/gif
Size: 6587 bytes
Desc: not available
URL: <Loading Image...>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/gif
Size: 6587 bytes
Desc: not available
URL: <Loading Image...>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/gif
Size: 6587 bytes
Desc: not available
URL: <Loading Image...>
Natarajan BLR
2014-01-10 09:06:07 UTC
Permalink
Economic lessons from an Electronics Engineer
once an Embedded system development enthu.

If any of you are interested topics such as Economics and Knowledge from
the perspective of people outside Economics and Education space, you may
enjoy.

This is an e book and free :

DOWNLOAD FOUR EBOOKS FOR FREE.

EASY STEPS



http://pothi.com/pothi/book/ebook-n-natarajanee-oxhole-economists-assford

DOWNLOAD

Continue shopping

GOTO: http://pothi.com/pothi/book/ebook-n-natarajan-knowledge-go-get-it

DOWNLOAD

CHECKOUT

Give your email ID

You will receive the ebooks to your email box






On Fri, Jan 10, 2014 at 1:30 PM, Albert V?lez Ortiz <avelez at parkaregroup.com
Post by Albert Vélez Ortiz
Morning all,
I've compiled it from /tmp/toolchain-4.3.1/gcc-4.3.1/builddir
The target was arm-elf
The output directory was /usr/local/toolchain-4.3.1
Best regards,
*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" <beck at redcom.com.tw>
Para: "'uClinux development list'" <uclinux-dev at uclinux.org>
Fecha: 10/01/2014 07:46
Asunto: Re: [uClinux-dev] ARM7 toolchain from the scratch
Enviado por: uclinux-dev-bounces at uclinux.org
------------------------------
Include path error
beck
------------------------------
*From:* uclinux-dev-bounces at uclinux.org [
mailto:uclinux-dev-bounces at uclinux.org <uclinux-dev-bounces at uclinux.org>] *On
Behalf Of *Albert Velez Ortiz
* Sent:* Thursday, January 09, 2014 7:48 PM
* To:* uClinux development list
* Subject:* Re: [uClinux-dev] ARM7 toolchain from the scratch
/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,
bits/uClibc_config.h: No such file or directory
In file included from ../../../libgcc/../gcc/tsystem.h:90,
bits/types.h: No such file or directory
bits/uClibc_stdio.h: No such file or directory
In file included from ../../../libgcc/../gcc/tsystem.h:90,
/usr/local/toolchain-4.3.1/arm-elf/sys-include/stdio.h:81: error: expected
'=', ',', ';', 'asm' or '__attribute__' before 'fpos_t'
bits/stdio_lim.h: No such file or directory
/usr/local/toolchain-4.3.1/arm-elf/sys-include/stdio.h: In function
/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" <beck at redcom.com.tw>
Para: "'uClinux development list'" <uclinux-dev at uclinux.org>
Fecha: 09/01/2014 08:16
Asunto: Re: [uClinux-dev] ARM7 toolchain from the scratch
Enviado por: uclinux-dev-bounces at uclinux.org
------------------------------
Can you stamp out the compile message more detail.
beck
------------------------------
* From:* uclinux-dev-bounces at uclinux.org [
*mailto:uclinux-dev-bounces at uclinux.org* <uclinux-dev-bounces at uclinux.org>]
*On Behalf Of *Albert Velez Ortiz
* Sent:* Wednesday, January 08, 2014 3:05 PM
* To:* uclinux-dev at uclinux.org
* 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.
I've compiled the binutiles
../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
uClinux-dev at uclinux.org
*http://mailman.uclinux.org/mailman/listinfo/uclinux-dev*<http://mailman.uclinux.org/mailman/listinfo/uclinux-dev>
This message was resent by uclinux-dev at uclinux.org
*http://mailman.uclinux.org/mailman/options/uclinux-dev*<http://mailman.uclinux.org/mailman/options/uclinux-dev>
_______________________________________________
uClinux-dev mailing list
uClinux-dev at uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev at uclinux.org
http://mailman.uclinux.org/mailman/options/uclinux-dev
_______________________________________________
uClinux-dev mailing list
uClinux-dev at uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev at uclinux.org
http://mailman.uclinux.org/mailman/options/uclinux-dev
--
N Natarajan
http://science-of-good-living.blogspot.com/
http://economic-theories-and-poverty.blogspot.in/
http://www.sangapalagai.in/author/N-Natarajan/136
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.uclinux.org/pipermail/uclinux-dev/attachments/20140110/f5c7548a/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/gif
Size: 6587 bytes
Desc: not available
URL: <Loading Image...>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/gif
Size: 6587 bytes
Desc: not available
URL: <Loading Image...>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/gif
Size: 6587 bytes
Desc: not available
URL: <Loading Image...>
beck
2014-01-10 06:45:34 UTC
Permalink
Include path error



beck



_____

From: uclinux-dev-bounces at uclinux.org
[mailto:uclinux-dev-bounces at uclinux.org] On Behalf Of Albert Velez Ortiz
Sent: Thursday, January 09, 2014 7:48 PM
To: uClinux development list
Subject: Re: [uClinux-dev] ARM7 toolchain from the scratch



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" <beck at redcom.com.tw>
Para: "'uClinux development list'" <uclinux-dev at uclinux.org>
Fecha: 09/01/2014 08:16
Asunto: Re: [uClinux-dev] ARM7 toolchain from the scratch
Enviado por: uclinux-dev-bounces at uclinux.org

_____




Can you stamp out the compile message more detail.


beck




_____


From: uclinux-dev-bounces at uclinux.org [
<mailto:uclinux-dev-bounces at uclinux.org>
mailto:uclinux-dev-bounces at uclinux.org] On Behalf Of Albert Velez Ortiz
Sent: Wednesday, January 08, 2014 3:05 PM
To: uclinux-dev at uclinux.org
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
uClinux-dev at uclinux.org
<http://mailman.uclinux.org/mailman/listinfo/uclinux-dev>
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev at uclinux.org
To unsubscribe see:
<http://mailman.uclinux.org/mailman/options/uclinux-dev>
http://mailman.uclinux.org/mailman/options/uclinux-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.uclinux.org/pipermail/uclinux-dev/attachments/20140110/27dfef4b/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.gif
Type: image/gif
Size: 6587 bytes
Desc: not available
URL: <Loading Image...>
Loading...