This is the mail archive of the crossgcc@cygnus.com mailing list for the crossgcc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: BSD to Hitachi sh-hms cross compiler problems.


Bernie Doehner wrote:
> 
> > I don't know if it will directly.  I use objcopy to convert the coff to
> > srecords.  My final link command in the make file looks something like this:
> 
> Hi:
> 
> This is a classic FAQ question. Sorry about that. Yes, a very long time
> ago I remmember using objcopy to convert. Thanks for refreshing my memory
> - works well!
> 
> Bernie
you can force gcc to output srec directly by adding the following line
to your linkerscript:

OUTPUT_FORMAT( srec)

-- 
Bernd Becker
becker@faw.uni-ulm.de