You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Virtual Cogs
I am trying to compile the trivial hello work program
if I use arm-linux-gcc (arm-linux-gcc hello,c -o hello )all is fine
but of course its linked in the wrong place
using a copy of the ldscript from the virtualcogs web site
I get the following error
arm-linux-ld: BFD 2.16.90.0.3 20050510 assertion fail /home/src/
buildroot-0.9.27/buildroot/toolchain_build_arm/binutils-2.16.90.0.3/
bfd/elf32-arm.c:5869
Segmentation fault
I don't have this source tree, so its a bit surprising. The compiler
im using is from the virtualcogs website (crosstools-0.43)
if I use
arm-linux-ld -g -v -T ldscript -o main crt0.o hello.o
it will not compile because I use printf, but add -lc for the libc.a
library causes the problem
if I remove the ldscript everything works fine.
IS THERE ANYBODY THAT CAN TELL ME WHAT I'M DOING WRONG
many thanks chris