From: canete AT acebuche DOT fie DOT us DOT es (José Miguel Cañete Valdeón) Subject: Linking Libraries 10 Jan 1997 13:39:48 -0800 Sender: daemon AT cygnus DOT com Approved: cygnus DOT gnu-win32 AT cygnus DOT com Distribution: cygnus Message-ID: <32D65F26.5FAF.cygnus.gnu-win32@acebuche.fie.us.es> Reply-To: canete AT acebuche DOT fie DOT us DOT es Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 3.01 (WinNT; I) Original-To: gnu-win32 AT cygnus DOT com Original-Sender: owner-gnu-win32 AT cygnus DOT com Hello Everybody. I'm trying to link an import library (libcrtdll.a) for a dll (crtdll.dll) to an object file obj.o. The problem is that I try with: ld obj.o -lcrtdll and the linker returns an error: Cannot open -lcrtdll: not such file or directory. I have already set the variables PATH and GCC_EXEC_PREFIX to their correct values. Does anyone knows what am I doing wrong? Thanks and Happy New Year to Everybody - For help on using this list, send a message to "gnu-win32-request AT cygnus DOT com" with one line of text: "help".