"-oformat=srec" not working
Ralf Corsepius
corsepiu@faw.uni-ulm.de
Mon Aug 26 08:55:00 GMT 2002
Am Mon, 2002-08-26 um 17.37 schrieb Ralf Corsepius:
> 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.
Grr, of cause I meant <target-alias>-ld, eg. i386-pc-linux-gnu-ld.
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
More information about the crossgcc
mailing list