Query
Philip Blundell
philb@gnu.org
Mon Jan 22 12:28:00 GMT 2001
>I cross compiled Linux and the OS (Linux) is working fine. Now, I am
>cross compiling an Application with for ARM-SDT compiler and generating
>an image in elf format and when I run it on ARM board (with Linux OS),
>it gives memory violation -- this may be because of non static linking
>(as there is no linker option in ARM-SDT for static linking).
I thought the ARM tools only supported static linking. Your problem is more
likely to be that the application base address is wrong, or you are linking
with the wrong set of libraries and startup files.
>Is there any utility to convert object files in AOF format to ELF
>format??
I don't think so. I believe the latest version of the SDT can write ELF
object files - interworking with the GNU tools is not 100%, but for a simple
static binary it should be OK.
p.
More information about the Gcc
mailing list