please help in building a arm7/9 toolchain

classic Classic list List threaded Threaded
2 messages Options
Rafael Dias Menezes Rafael Dias Menezes
Reply | Threaded
Open this post in threaded view
|

please help in building a arm7/9 toolchain

Hi people,

I'm trying to build a arm7/9 toolchain in my linux 2.6 (debian 5.0) machine. The compilers version is gcc-4.3.2.

I got the gcc-4.4.0, binutils-2.20 and newlib-1.17.

I'm using the tutorials http://elua.berlios.de/en_tc_arm.html to help-me..

Basically, following the tutorial I stopped in the compilation of newlib. During the compilation I got this error:

 arm-elf-gcc -B/home/rdias/ARM_Tollchain/newlib-1.17.0/build/arm-elf/newlib/ -isystem /home/rdias/ARM_Tollchain/newlib-1.17.0/build/arm-elf/newlib/targ-include -isystem /home/rdias/ARM_Tollchain/newlib-1.17.0/newlib/libc/include -B/home/rdias/ARM_Tollchain/newlib-1.17.0/build/arm-elf/libgloss/arm -L/home/rdias/ARM_Tollchain/newlib-1.17.0/build/arm-elf/libgloss/libnosys -L/home/rdias/ARM_Tollchain/newlib-1.17.0/libgloss/arm -ffunction-sections -fdata-sections -DPREFER_SIZE_OVER_SPEED -D__OPTIMIZE_SIZE__ -Os -fomit-frame-pointer -D__BUFSIZ__=256 -I. -I../../../../../libgloss/arm/.. -ffunction-sections -fdata-sections -DPREFER_SIZE_OVER_SPEED -D__OPTIMIZE_SIZE__ -Os -fomit-frame-pointer -D__BUFSIZ__=256    -mthumb -c ../../../../../libgloss/arm/crt0.S
arm-elf-gcc -B/home/rdias/ARM_Tollchain/newlib-1.17.0/build/arm-elf/newlib/ -isystem /home/rdias/ARM_Tollchain/newlib-1.17.0/build/arm-elf/newlib/targ-include -isystem /home/rdias/ARM_Tollchain/newlib-1.17.0/newlib/libc/include -B/home/rdias/ARM_Tollchain/newlib-1.17.0/build/arm-elf/libgloss/arm -L/home/rdias/ARM_Tollchain/newlib-1.17.0/build/arm-elf/libgloss/libnosys -L/home/rdias/ARM_Tollchain/newlib-1.17.0/libgloss/arm -ffunction-sections -fdata-sections -DPREFER_SIZE_OVER_SPEED -D__OPTIMIZE_SIZE__ -Os -fomit-frame-pointer -D__BUFSIZ__=256 -O2 -I. -I../../../../../libgloss/arm/.. -c -ffunction-sections -fdata-sections -DPREFER_SIZE_OVER_SPEED -D__OPTIMIZE_SIZE__ -Os -fomit-frame-pointer -D__BUFSIZ__=256    -mthumb ../../../../../libgloss/arm/linux-crt0.c
/tmp/ccRbvk4b.s: Assembler messages:
/tmp/ccRbvk4b.s:8: Error: symbol _start_thumb is in a different section
make[5]: *** [linux-crt0.o] Error 1
make[5]: Leaving directory `/home/rdias/ARM_Tollchain/newlib-1.17.0/build/arm-elf/thumb/libgloss/arm'
make[4]: *** [stmp-bsp] Error 2
make[4]: Leaving directory `/home/rdias/ARM_Tollchain/newlib-1.17.0/build/arm-elf/thumb/libgloss'
make[3]: *** [multi-do] Error 1
make[3]: Leaving directory `/home/rdias/ARM_Tollchain/newlib-1.17.0/build/arm-elf/libgloss'
make[2]: *** [all] Error 2

I don't know what it is.

Can someone help me?

thanks,
Rafael Dias


Veja quais são os assuntos do momento no Yahoo! + Buscados: Top 10 - Celebridades - Música - Esportes
_______________________________________________
Elua-dev mailing list
[hidden email]
https://lists.berlios.de/mailman/listinfo/elua-dev
BogdanM BogdanM
Reply | Threaded
Open this post in threaded view
|

Re: please help in building a arm7/9 toolchain

Hi,

Try again, but this time with the exact versions listed on that page (for gcc, newlib and bintutils). Other combinations seem to yield very strange results.

Best,
Bogdan

On Thu, Nov 19, 2009 at 4:55 AM, Rafael Dias Menezes <[hidden email]> wrote:
Hi people,

I'm trying to build a arm7/9 toolchain in my linux 2.6 (debian 5.0) machine. The compilers version is gcc-4.3.2.

I got the gcc-4.4.0, binutils-2.20 and newlib-1.17.

I'm using the tutorials http://elua.berlios.de/en_tc_arm.html to help-me..

Basically, following the tutorial I stopped in the compilation of newlib. During the compilation I got this error:

 arm-elf-gcc -B/home/rdias/ARM_Tollchain/newlib-1.17.0/build/arm-elf/newlib/ -isystem /home/rdias/ARM_Tollchain/newlib-1.17.0/build/arm-elf/newlib/targ-include -isystem /home/rdias/ARM_Tollchain/newlib-1.17.0/newlib/libc/include -B/home/rdias/ARM_Tollchain/newlib-1.17.0/build/arm-elf/libgloss/arm -L/home/rdias/ARM_Tollchain/newlib-1.17.0/build/arm-elf/libgloss/libnosys -L/home/rdias/ARM_Tollchain/newlib-1.17.0/libgloss/arm -ffunction-sections -fdata-sections -DPREFER_SIZE_OVER_SPEED -D__OPTIMIZE_SIZE__ -Os -fomit-frame-pointer -D__BUFSIZ__=256 -I. -I../../../../../libgloss/arm/.. -ffunction-sections -fdata-sections -DPREFER_SIZE_OVER_SPEED -D__OPTIMIZE_SIZE__ -Os -fomit-frame-pointer -D__BUFSIZ__=256    -mthumb -c ../../../../../libgloss/arm/crt0.S
arm-elf-gcc -B/home/rdias/ARM_Tollchain/newlib-1.17.0/build/arm-elf/newlib/ -isystem /home/rdias/ARM_Tollchain/newlib-1.17.0/build/arm-elf/newlib/targ-include -isystem /home/rdias/ARM_Tollchain/newlib-1.17.0/newlib/libc/include -B/home/rdias/ARM_Tollchain/newlib-1.17.0/build/arm-elf/libgloss/arm -L/home/rdias/ARM_Tollchain/newlib-1.17.0/build/arm-elf/libgloss/libnosys -L/home/rdias/ARM_Tollchain/newlib-1.17.0/libgloss/arm -ffunction-sections -fdata-sections -DPREFER_SIZE_OVER_SPEED -D__OPTIMIZE_SIZE__ -Os -fomit-frame-pointer -D__BUFSIZ__=256 -O2 -I. -I../../../../../libgloss/arm/.. -c -ffunction-sections -fdata-sections -DPREFER_SIZE_OVER_SPEED -D__OPTIMIZE_SIZE__ -Os -fomit-frame-pointer -D__BUFSIZ__=256    -mthumb ../../../../../libgloss/arm/linux-crt0.c
/tmp/ccRbvk4b.s: Assembler messages:
/tmp/ccRbvk4b.s:8: Error: symbol _start_thumb is in a different section
make[5]: *** [linux-crt0.o] Error 1
make[5]: Leaving directory `/home/rdias/ARM_Tollchain/newlib-1.17.0/build/arm-elf/thumb/libgloss/arm'
make[4]: *** [stmp-bsp] Error 2
make[4]: Leaving directory `/home/rdias/ARM_Tollchain/newlib-1.17.0/build/arm-elf/thumb/libgloss'
make[3]: *** [multi-do] Error 1
make[3]: Leaving directory `/home/rdias/ARM_Tollchain/newlib-1.17.0/build/arm-elf/libgloss'
make[2]: *** [all] Error 2

I don't know what it is.

Can someone help me?

thanks,
Rafael Dias


Veja quais são os assuntos do momento no Yahoo! + Buscados: Top 10 - Celebridades - Música - Esportes

_______________________________________________
Elua-dev mailing list
[hidden email]
https://lists.berlios.de/mailman/listinfo/elua-dev



_______________________________________________
Elua-dev mailing list
[hidden email]
https://lists.berlios.de/mailman/listinfo/elua-dev