delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1997/08/08/06:11:53

From: jont AT harlequin DOT co DOT uk (Jon Thackray)
Subject: Error : Ld : cannot load '-lgcc' no such file or directory
8 Aug 1997 06:11:53 -0700 :
Approved: cygnus DOT gnu-win32 AT cygnus DOT com
Distribution: cygnus
Message-ID: <199708081019.LAA11268.cygnus.gnu-win32@zaphod.long.harlequin.co.uk>
References: <32098040 DOT 5E78780D AT cimtegration DOT com>
Original-To: gnu-win32 AT cygnus DOT com
In-Reply-To: <32098040.5E78780D@cimtegration.com>
Original-Sender: owner-gnu-win32 AT cygnus DOT com

Greg Maynard writes:
 > I have been working with GCC for the past couple days, basically
 > tweaking things out because I am very slow at getting things to WORK
 > properly ;).. Anyhow, when I run gcc it gives me the error 'Ld : cannot
 > load '-lgcc' no such file or directory' and I don't know where the heck
 > that is coming from or how I can fix it.. Someone must know ;).. Any
 > help is appreciated..

-lgcc means it is looking for libgcc.a. That can be found in
gcc-lib/i386-cygwin32/cygnus-2.7.2-961023 (at least that's where it is
for beta 17.1). The real question though, is why are you requiring
libgcc.a at all? You might try nm libgcc.a to see if any of the
symbols exported (those marked T or ?) are in your code.
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


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