This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
B19: Link error between libs linked with -l
- To: gnu-win32 at cygnus dot com
- Subject: B19: Link error between libs linked with -l
- From: Adam Chlipala <psion at tpu dot org>
- Date: Sun, 27 Sep 1998 09:34:18 -0400
- Organization: The Teen Programmers' Union
When I do something like the following:
gcc file.c -l1 -l2
I get linker errors involving functions found in 1 and used in 2. When
I move a lib to the cwd and do:
gcc file.c lib1.a -l2
all is well. Am I doing something incorrectly here or is this a bug?
-- Adam Chlipala
psion@tpu.org
http://www.tpu.org/~psion/
ICQ UIN: 489166
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCS/L/P/SS d- s:- a--- C++$ UL+ UA+$ UB$ P++ W+++ N+ w+ M- V? PS+++
PE++ Y+ t++
5 X+++ R+++>$ tv b++(+++) DI++ D- G e- h! !r y
------END GEEK CODE BLOCK------
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".