Testing an application build with H8300 cross compiler
Arati Dikey
AratiD@kpit.com
Mon Nov 19 13:04:00 GMT 2001
hi !
Linked executable means the final executable file created by the linker
in your case, h8300-hitachi-hms-ld.
This would be a '.out' file. If you see the detail directory listing of
this file, it will show the size of the file in bytes.
Hope its clear now.
Arati.
-----Original Message-----
From: Mohammad Saleem [mailto:mosa@enea.se]
Sent: Wednesday, November 21, 2001 12:54 PM
To: Arati Dikey
Cc: crossgcc@sourceware.cygnus.com
Subject: Re: Testing an application build with H8300 cross compiler
Hi Arati,
Thanks for your reply.
I still wonder what do you mean by linked executable and how to find its
size?
regards
/Mohammad
Arati Dikey wrote:
>To know the actual size of your appln which will download on
>your hardware, look at the size of your linked executable which
>is a pure binary file.
>the srec format is an ASCII format with headers etc.
>
>h.t.h
>
>Arati Dikey
>
>Mohammad:
>
>>I have build a small application test.srec using h8300-hitachi-hms-gcc
>>
>
>>compiler.
>>Is it possible to test the application using h8300-hitachi-hms-gdb.
>>I the answer is yes then what is the exakt procedure.
>>I remember that I saw some mail on this archive where it was mentioned
>>
>
>>that to run
>>gdb a simulated hardware is used and then with the help of gdb it is
>>
>loaded.
>
>>I would appreciate if someone could send me the exakt procedure.
>>
>
>>Further I have another question. I have hitachi board with ram 32k
>>and when I build my application with a small os-kernel, the
>>resulting srec file became around 33k. Now my question is, is the
>>size of srec file(33k) is the true size or does it contain extra
>>symbols which are not loaded to the target and actual size may be
>>less than 33k. If the above is true i.e. srec file contatin extra
>>symbols then how can I find the actual size of a srec file. any
>>help in this regard
>>
>
>>thanks in advance
>>regards
>>/Mohammad
>>
>>
>>------
>>Want more information? See the CrossGCC FAQ,
>>
><http://www.objsw.com/CrossGCC/>
>
>>Want to unsubscribe? Send a note to
>>
>crossgcc-unsubscribe@sourceware.cygnus.com
>
>
>
>------
>Want more information? See the CrossGCC FAQ,
http://www.objsw.com/CrossGCC/
>Want to unsubscribe? Send a note to
crossgcc-unsubscribe@sourceware.cygnus.com
>
>
------
Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com
More information about the crossgcc
mailing list