delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/09/05/02:00:15

From: Damian Yerrick <Bullcr_pd_yerrick AT hotmail DOT comRemoveBullcr_p>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: How can ld be used stand alone?
Organization: Pin Eight Software http://pineight.8m.com/
Message-ID: <nlv8rssvbl7etp1ffeb0r44jdiuk98staj@4ax.com>
References: <8p1a77$sr5$1 AT supernews DOT com>
X-Newsreader: Forte Agent 1.7/32.534
MIME-Version: 1.0
Lines: 19
X-Trace: /wObnZJmrVFuU26HF/V+CL0oTk3wNJ3VDEIYzsbwiNxQZAWAQ1zPtpu2N0wfg9Uq5N9M1m7C/51v!I4kYiqIEb7jwkdCxg32Ho22Rtiabg0jmz5bj+D/XTuBE451R719DtsIgloQ38IUDf5thb3eBRpen!nLHIRd8=
X-Complaints-To: abuse AT gte DOT net
X-Abuse-Info: Please be sure to forward a copy of ALL headers
X-Abuse-Info: Otherwise we will be unable to process your complaint properly
NNTP-Posting-Date: Tue, 05 Sep 2000 05:04:21 GMT
Distribution: world
Date: Tue, 05 Sep 2000 05:04:21 GMT
Path: news.mv.net!newspeer.phoen-x.net!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.direct.ca!look.ca!paloalto-snh1.gtei.net!news.gtei.net!paloalto-snr1.gtei.net.POSTED!not-for-mail
Xref: news.mv.net comp.os.msdos.djgpp:103171

On Tue, 5 Sep 2000 00:09:19 +0100, "Hax"
<hax AT no-junk-please DOT haxware DOT co DOT uk> wrote:

>ld -o test.exe -Lt:\djgpp\lib -lt:\djgpp\lib\libc.a main.o process.o
>
>I get the error message:
>
>T:/DJGPP/BIN/ld.exe: cannot find -lt:\djgpp\lib\libc.a

IIRC, you can include a .a library in a link by simply listing its
filename (without the -l).

-- 
MS (n)  1. A debilitating and surprisingly widespread affliction
  that renders the sufferer barely able to perform the simplest
  task.  2. A disease, multiple sclerosis (see).

This is McAfee VirusScan. Add these two lines to your signature to
prevent the spread of signature viruses.  http://www.mcafee.com/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019