RE: [arm-gnu] codesourcery compile helping
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [arm-gnu] codesourcery compile helping



Hi, dear sir:

  In the arm ads or realview plat
I use the assemble language to program, I use the EXPORT and INPORT
function,
Could you tell me what I should to do, if I use these function in the
codesourcery palt. 

Could you give me any references.

Thank you
stephen

-----Original Message-----
From: Mark Mitchell [mailto:mark@xxxxxxxxxxxxxxxx] 
Sent: Wednesday, March 08, 2006 11:45 AM
To: Yongming (Stephen Lg) Hu
Cc: Borkar, Parag (Parag); arm-gnu@xxxxxxxxxxxxxxxx
Subject: Re: [arm-gnu] codesourcery compile helping

Yongming (Stephen Lg) Hu wrote:
> I install the arm-2005q3-2-arm-none-eabi.exe in my pc.
> 
> I had program and compile your company's tools
> 
> I use these command step by step, but the endless is not my holp:
> 
>  
> 
> 1> arm-none-eabi-as -a=Vector_GNU.lst -mcpu=arm7 -o Vector_GNU.o
> Vector_GNU.s
> 
> 2>arm-none-eabi-ld -e 0x0 -m armelf -o Vector_GNU.elf  Vector_GNU.o

The -e option just tells the linker what address should be encoded as
the program entry point.  To place the code at a different address, you
will have to write a linker script that specifies the location.  For
simple cases, you may be able to use "-Ttext 0x0" without writing a
linker script.

-- 
Mark Mitchell
CodeSourcery
mark@xxxxxxxxxxxxxxxx
(650) 331-3385 x713