delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2013/02/19/05:15:18

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
X-Received: by 10.66.159.106 with SMTP id xb10mr2781092pab.46.1361268279015;
Tue, 19 Feb 2013 02:04:39 -0800 (PST)
X-Received: by 10.50.169.102 with SMTP id ad6mr1861395igc.11.1361268278702;
Tue, 19 Feb 2013 02:04:38 -0800 (PST)
Newsgroups: comp.os.msdos.djgpp
Date: Tue, 19 Feb 2013 02:04:38 -0800 (PST)
Complaints-To: groups-abuse AT google DOT com
Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=120.60.19.121;
posting-account=-J4QYgoAAADixJ1fgJcNtE6XYdP2WoO_
NNTP-Posting-Host: 120.60.19.121
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <c8729087-538d-4355-a855-b4f1aa7a2b79@googlegroups.com>
Subject: ld canot find -lgcc and -lc
From: mahesh DOT s DOT chavan AT gmail DOT com
Injection-Date: Tue, 19 Feb 2013 10:04:38 +0000
Bytes: 1653
Lines: 7
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

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.
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. 
Thanking you

- Raw text -


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