🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #50682

using command-line scripts with ld

#50682
From: Terry Edhouse
Date: Mon, 09 Aug 1993 16:01
17 lines
991 bytes
Can anybody tell me how to specify a command-line script to GNU ld?  I am  
trying the method given in the linker documentation but I always get an error.

eg:

xgcc-ld '{INPUT(test.o) OUTPUT(test) OUTPUT_FORMAT(srec)}'

gives the error

xgcc-ld: Can't open INPUT


Please e-mail replies to te@ohm.york.ac.uk

Thanks in advance 

Terry Edhouse
Technical Details
Message-ID: <1993Aug5.134309.6313@ohm.york.ac.uk>
Path: arc1-ca.pugleaf.net!gmd.de!xlink.net!sol.ctr.columbia.edu!math.ohio-state.edu!cis.ohio-state.edu!ohm.york.ac.UK!te

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,1cc0f51c0c20fce0,start
X-Google-Attributes: gid11318c,public
X-Google-ArrivalTime: 1993-08-09 10:44:38 PST
Path: arc1-ca.pugleaf.net!gmd.de!xlink.net!sol.ctr.columbia.edu!math.ohio-state.edu!cis.ohio-state.edu!ohm.york.ac.UK!te
From: te@ohm.york.ac.UK (Terry Edhouse)
Newsgroups: gnu.gcc.help
Subject: using command-line scripts with ld
Date: 9 Aug 1993 12:01:23 -0400
Organization: Electronics Department, University of York, UK
Lines: 18
Sender: daemon@cis.ohio-state.edu
Distribution: gnu
Message-ID: <1993Aug5.134309.6313@ohm.york.ac.uk>
Reply-To: te@ohm.york.ac.uk