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

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: "-oformat=srec" not working


>> I have a cross-compile tool chain working on a Slackware Linux box and have
>> ported it to Darwin (Mac OS X 10.1.5).
>> 
>> I have everything working except the linker is not converting the output to
>> a Motorola S-record format like it does on the Linux box.  In particular,
>> The -oformat=srec is what seems to be getting ignored by the linker.  There
>> are no errors produced.
> 
> Is that one or two dashes before the oformat?  According to the manpage for
> ld, the oformat argument needs to be introduced by two dashes.

Thank you!  That was it.  Apparently the linker on the Linux box is more
forgiving.  After inserting the second "-", I now have proper S records!


David

===========================================================================
David Knuth, Director of Software Engineering, Intellibot, LLC.
office: (804)775-0004 | mobile: (804)543-2703 | email: dknuth@intellibot.cc 


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


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