<div>I am sorry for the mistake in sizes mentioned</div>
<div>The correct sizes are</div>
<div> </div>
<div>     text          data          bss        dec          hex       filename 
<div>   118665       3908          7794    130328      1fd3f       hello.exe</div>
<div> </div>
<div>     text          data          bss        dec          hex         filename 
<div>      0           122573         0       122573       1de92      rtemshello.hex</div><br></div><br><br></div>
<div class="gmail_quote">On Wed, Jul 6, 2011 at 8:51 AM, S Akhtar <span dir="ltr"><<a href="mailto:crystaldoll85@gmail.com">crystaldoll85@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div>Hello all</div>
<div> </div>
<div>I am using RTEMS 4.10 for my i386ex custom board. Host operating System is ubuntu 11.04</div>
<div> </div>
<div>I have configured my RTEMS as </div>
<div> </div>
<div>--target=i386-rtems4.10 --prefix=/opt/rtems-4.10 --disable-itron --disable-posix --disable-networking --disable-multiprocessing --enable-rtemsbsp="i386ex"</div>
<div> </div>
<div>By this configuration, i get sample application "hello world" executable of size 1.02 MB</div>
<div> </div>
<div>      text          data          bss        dec        filename</div>
<div>   118665       3908          7794     1fd3f       hello.exe</div>
<div> </div>
<div>By converting it into downloadable hex file </div>
<div> </div>
<div>i386-rtems4.10-objcopy -O ihex hello.exe hello.hex</div>
<div> </div>
<div>packhex <hello.hex >rtemshello.hex</div>
<div> </div>
<div>The final downloadable image is rtemshello</div>
<div> </div>
<div>     text          data          bss        dec            filename 
<div>        0         122573         0         122573       rtemshello.hex</div>
<div> </div>
<div>The file size of rtemshello.hex is 246KB, whereas the available ROM in my board is 128K, is there any way i can reduce this size upto 128K so that i can download it into ROM?</div>
<div> </div>
<div>Thank you for your time</div>
<div> </div>
<div>Regards</div></div></blockquote></div><br>