This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Query


>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.



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]