Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Incorrect ELF header size

82 views
Skip to first unread message

Chris Donohue

unread,
Jun 13, 2008, 9:15:00 AM6/13/08
to
I am developing a program on linux and compiling it using the arm-gp2x-
linux-gcc toolchain. When I copy it over to vxworks using:

ld < test.o

It gives me:

Incorrect ELF header size: 13312
ld error: error loading file (errno = 0x3d0001).
value = 0 = 0x0

My program doesn't use any libraries or other header files. Any idea
what this means?

Chris Donohue

unread,
Jun 13, 2008, 9:23:49 AM6/13/08
to
On Jun 13, 9:15 am, Chris Donohue <christopher.dono...@gmail.com>
wrote:

It works now if I compile with these options

arm-gp2x-linux-gcc -c -mbig-endian test.c

Can anyone explain what's going on

0 new messages