From: fabio AT joplin DOT colorado DOT edu (Fabio Somenzi) Subject: Linking Libraries 10 Jan 1997 17:32:34 -0800 Sender: daemon AT cygnus DOT com Approved: cygnus DOT gnu-win32 AT cygnus DOT com Distribution: cygnus Message-ID: <199701110003.RAA01134.cygnus.gnu-win32@joplin.colorado.edu> References: <32D65F26 DOT 5FAF AT acebuche DOT fie DOT us DOT es> Reply-To: Fabio AT Colorado DOT EDU Original-To: canete AT acebuche DOT fie DOT us DOT es Original-Cc: gnu-win32 AT cygnus DOT com In-Reply-To: <32D65F26.5FAF@acebuche.fie.us.es> Original-Sender: owner-gnu-win32 AT cygnus DOT com >>>>> "JMCV" == José Miguel Cañete Valdeón writes: JMCV> Hello Everybody. I'm trying to link an import library JMCV> (libcrtdll.a) for a dll (crtdll.dll) to an object file JMCV> obj.o. The problem is that I try with: ld obj.o -lcrtdll and JMCV> the linker returns an error: Cannot open -lcrtdll: not such JMCV> file or directory. I have already set the variables PATH and JMCV> GCC_EXEC_PREFIX to their correct values. Does anyone knows JMCV> what am I doing wrong? Have you tried the -L option? (I.e., -L /path/to/my/lib -lcrtdll.) Hope this helps Fabio -- Fabio Somenzi | Phone: 303-492-3466 University of Colorado | Fax: 303-492-2758 ECE Dept. | Email: Fabio AT Colorado DOT EDU Boulder CO 80309-0425 | WWW: http://vlsi.colorado.edu/~fabio - For help on using this list, send a message to "gnu-win32-request AT cygnus DOT com" with one line of text: "help".