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


Am Mon, 2002-08-26 um 16.16 schrieb David Knuth:
> Hi,
> 
> 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 output remains in binary, rather than an ASCII S-record.
> 
> Here is the line that is executing:
> 
> ld -oformat=srec -v -T app-rom.ld  \
>         -Map ../../obj/app-ug7.x.map  \
>         -o ../../bin/app-ug7.x <followed by a list of object files and
> libraries>
> 
> The -oformat=srec is what seems to be getting ignored by the linker.  There
> are no errors produced.  is there any other debugging information I can turn
> on?  Why isn't it working?
You seem to be using the wrong linker. ld normally is your host's
linker, while <target-alias> is the target linker.

Ralf



------
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]