From mboxrd@z Thu Jan 1 00:00:00 1970 From: Philip Blundell To: mnshukla Cc: gcc@gcc.gnu.org Subject: Re: Query Date: Mon, 22 Jan 2001 12:28:00 -0000 Message-id: References: <3A6C412B.529B4827@cirrus.stpp.soft.net> X-SW-Source: 2001-01/msg01254.html >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.