🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #50839

Re: how to get S-records from GNU ld?

#50839
From: David J. MacKenzie
Date: Fri, 06 Aug 1993 03:56
17 lines
1567 bytes
* embedding scripts on the command line doesn't work; it will no
longer be documented in the future, so don't try it.

* the GNUTARGET environment variable affects input files format, not
output files

* the next release of ld will have a -oformat option to do what you
want, but for now...

* You have to write a linker script and use the OUTPUT_FORMAT
directive.  use the -T option to use your script.  This script
replaces the compiled-in default script, so you must specify the
output sections, library search directories, etc. in the script.  See
ld.texinfo for full details.  You can start with one of the built-in
scripts, which are in your build directory as files sun4.x, etc.,
except you need to remove the junk that mkscript adds to make them
into C strings.
Technical Details
Message-ID: <DJM.93Aug5235631@edison.eng.umd.edu>
Path: arc1-ca.pugleaf.net!gmd.de!xlink.net!howland.reston.ans.net!darwin.sura.net!mojo.eng.umd.edu!news!djm
References: <ERIC.93Aug4233622@iceland.telebit.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,f86e43a8f013d0b3
X-Google-Attributes: gid11318c,public
X-Google-Thread: feb3e,f86e43a8f013d0b3
X-Google-Attributes: gidfeb3e,public
X-Google-ArrivalTime: 1993-08-06 00:04:52 PST
Path: arc1-ca.pugleaf.net!gmd.de!xlink.net!howland.reston.ans.net!darwin.sura.net!mojo.eng.umd.edu!news!djm
From: djm@eng.umd.edu (David J. MacKenzie)
Newsgroups: gnu.gcc.help,comp.sys.m68k
Subject: Re: how to get S-records from GNU ld?
Date: 06 Aug 1993 03:56:30 GMT
Organization: Cygnus Support
Lines: 18
Distribution: world
Message-ID: <DJM.93Aug5235631@edison.eng.umd.edu>
References: <ERIC.93Aug4233622@iceland.telebit.com>
NNTP-Posting-Host: edison.eng.umd.edu
In-reply-to: eric@telebit.com's message of Thu, 5 Aug 1993 07:36:22 GMT