Path: news.mv.net!news.shore.net!news.chicago1.Level3.net!Level3.net!pln-e!extra.newsguy.com!lotsanews.com!howland.erols.net!news.maxwell.syr.edu!news.netcologne.de!news.rwth-aachen.de!!broeker From: Hans-Bernhard Broeker Newsgroups: comp.os.msdos.djgpp Subject: Re: How can ld be used stand alone? Date: 6 Sep 2000 13:10:09 GMT Organization: Aachen University of Technology (RWTH) Lines: 17 Message-ID: <8p5fnh$ng5$1@nets3.rz.RWTH-Aachen.DE> References: <8p1a77$sr5$1 AT supernews DOT com> NNTP-Posting-Host: acp3bf.physik.rwth-aachen.de X-Trace: nets3.rz.RWTH-Aachen.DE 968245809 24069 137.226.32.75 (6 Sep 2000 13:10:09 GMT) X-Complaints-To: abuse AT rwth-aachen DOT de NNTP-Posting-Date: 6 Sep 2000 13:10:09 GMT Originator: broeker@ Xref: news.mv.net comp.os.msdos.djgpp:103201 Hax wrote: > Can anyone out there tell me how I might use ld as a stand alone linker - > i.e. not use gcc as the linker. If I understand correctly, gcc simply calls > ld with the correct command-line options. Yes. And the best answer to your second question is obviously to just watch *how* gcc does that. Link a program with 'gcc -v' and you'll see the exact linker command line it built. Note down that line, and then look up 'info ld' to see what all the stuff in that command line means, exactly. -- Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de) Even if all the snow were burnt, ashes would remain.