public inbox for crossgcc@sourceware.org
 help / color / mirror / Atom feed
* RE: help me ,about ARM ep7209
@ 2000-06-20  7:00 Stephane Dalton
  0 siblings, 0 replies; only message in thread
From: Stephane Dalton @ 2000-06-20  7:00 UTC (permalink / raw)
  To: wangshirui, crossgcc

> Hi, All
> 
> I'm build newlib-1.8.2 on --target=arm-coff ,build gcc-2.95.2 on
> --target=arm-cpoff,host=i686-pc-cygwin32 .
> I'm use them on CIRRUS LOGIC ARM chip ep7209, 37K on chip ram,128k rom.
> I'm build a very small program(five lines), result binary image szie so
> big(200k byte).
> I use Build command:
> C:\ARM-COFF\bin\arm-coff-gcc -mcpu=arm7tdmi -IC:\arm-coff\arm-coff\include
> -Lc:\arm-coff\arm-coff\lib hello.c -o hello.coff
> C:\ARM-COFF\bin\arm-coff-objcopy -O binary hello.coff hello.bin
> Can someone help me with the make a small binary image .
	[Stephane Dalton]  
	Depens of your five lines program... if you're using printf you'll
end up using lots of functions inside libc... did you take a look at the
stripped object file, cause if there's an offset between 0 and the beginning
address of you program I think the default behavior of objcopy is to fill it
with zeros. Just open the .bin with an hex editor to make sure it is not the
case.

	Send your program to this list it will help for sure to understand
your problem
> 
> 
> Thanks a lot
> wangshirui
> 
> 
> 
> 

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2000-06-20  7:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-06-20  7:00 help me ,about ARM ep7209 Stephane Dalton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).