[arm-gnu] linking fails
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[arm-gnu] linking fails
- To: arm-gnu@xxxxxxxxxxxxxxxx
- Subject: [arm-gnu] linking fails
- From: Robert Brusa <bob.brusa@xxxxxxxxx>
- Date: Wed, 26 Aug 2009 16:43:38 +0200
Hi
I installed the most recent arm-none-eabi-toolchain of CS
(arm-2009q1-161-arm-none-eabi.bin). Using these tools, I generated an eCos
library from my eCos repository. Then I tried to build a simple
"hello-world"-type of a program that uses this library and got the
following linking error:
Building target: serial_2
Invoking: GCC C Linker
arm-none-eabi-gcc -nostartfiles -L"/home/rwb/icb4/ilw_4_install/lib"
-T../target.ld -mno-thumb-interwork -mcpu=arm7tdmi -Wl,--gc-sections
-Wl,-static -g -nostdlib -Xlinker -Map -Xlinker serial_2.Map -o"serial_2"
./serial_2.o
collect2: ld terminated with signal 11 [Segmentation fault]
make: *** [serial_2] Fehler 1
How can I fix this? Thanks and regards - Robert