This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Query
- To: mnshukla <mnshukla at cirrus dot stpp dot soft dot net>
- Subject: Re: Query
- From: Philip Blundell <philb at gnu dot org>
- Date: Mon, 22 Jan 2001 20:18:46 +0000
- cc: gcc at gcc dot gnu dot org
- References: <3A6C412B.529B4827@cirrus.stpp.soft.net>
>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.