This is the mail archive of the
newlib@sourceware.cygnus.com
mailing list for the newlib project.
Re: help me ,about ARM ep7209
- To: wangshirui <wangshirui at 21cn dot com>
- Subject: Re: help me ,about ARM ep7209
- From: Chris Faylor <cgf at cygnus dot com>
- Date: Thu, 15 Jun 2000 22:02:00 -0400
- Cc: newlib at sourceware dot cygnus dot com
- References: <004d01bfd736$97df41a0$5e9867ca@wsr>
On Fri, Jun 16, 2000 at 09:55:45AM +0800, wangshirui wrote:
>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 .
Does adding the '-s' option to your gcc compilation reduce the size?
It should.
cgf