cvs.gedasymbols.org/archives/browse.cgi   search  
Mail Archives: djgpp/2013/02/21/05:45:05

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
X-Received: by 10.66.162.163 with SMTP id yb3mr3498761pab.14.1361442690439;
Thu, 21 Feb 2013 02:31:30 -0800 (PST)
X-Received: by 10.50.217.201 with SMTP id pa9mr3041548igc.17.1361442690395;
Thu, 21 Feb 2013 02:31:30 -0800 (PST)
Newsgroups: comp.os.msdos.djgpp
Date: Thu, 21 Feb 2013 02:31:30 -0800 (PST)
In-Reply-To: <83ppzwp8vf.fsf@gnu.org>
Complaints-To: groups-abuse AT google DOT com
Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=120.60.47.157;
posting-account=-J4QYgoAAADixJ1fgJcNtE6XYdP2WoO_
NNTP-Posting-Host: 120.60.47.157
References: <c8729087-538d-4355-a855-b4f1aa7a2b79 AT googlegroups DOT com> <83ppzwp8vf DOT fsf AT gnu DOT org>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <4a5bc95e-ab2d-42e3-aa89-cbada34909d8@googlegroups.com>
Subject: Re: ld canot find -lgcc and -lc
From: mahesh DOT s DOT chavan AT gmail DOT com
Cc: djgpp AT delorie DOT com
Injection-Date: Thu, 21 Feb 2013 10:31:30 +0000
Bytes: 2567
Lines: 45
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

Dear Sir,
My mistake was that I have put files=50 in my config.sys on HDD but now I am booting from floppy where files=10 was there. DJGPP needs at least files=15.
When I changed it, I was able to compile the program correcly.
Thanking you.
_Mahesh Chavan
On Wednesday, February 20, 2013 12:27:00 AM UTC+8, Eli Zaretskii wrote:
> > Date: Tue, 19 Feb 2013 02:04:38 -0800 (PST)
> 
> 
> 
> > 
> 
> > When I tried to compile sqlite3 from source, object files were produced.  But when I tried to build exe using libsqlite3.a, it gave me error ld can not find lgcc and -lc.
> 
> > libgcc.a was there in lib\djgpp\4.72 subdirectory which I copied to c:\djgpp\lib.
> 
> 
> 
> You shouldn't need to copy libgcc.a.
> 
> 
> 
> > libc.a is already there in c:\djggp\lib.
> 
> > my djgpp.env is set correctly as djgpp=c:/djgpp/djgpp.env
> 
> > In my config.sys, I have kept files=50 and buffers=40.
> 
> > I am using DOSLFN to enable long file names on DOS platform.
> 
> > Can anybody tell me, how can I get rid of this error. 
> 
> 
> 
> Add -v to the link command line and post here everything the compiler
> 
> and the linker display as result (if looking at that output doesn't
> 
> give tell you what's wrong).  Also tell which command you invoked that
> 
> failed in this manner.
> 
> 
> 
> One popular mistake is to invoke ld directly instead of via gcc.

- Raw text -


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