Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com Message-ID: <01135E04E54DD311BAC300A0C9ED9352177BB3@micsrv1.mic.dtu.dk> From: Torben Mikael Hansen To: "'cygwin'" Subject: DLL that does not use cygwin ? Date: Wed, 17 Nov 1999 16:43:51 +0100 X-MS-TNEF-Correlator: <01135E04E54DD311BAC300A0C9ED9352177BB3 AT micsrv1 DOT mic DOT dtu DOT dk> MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.10) Content-Type: multipart/mixed; boundary="----_=_NextPart_000_01BF3112.900D47A8" ------_=_NextPart_000_01BF3112.900D47A8 Content-Type: text/plain How do I build a DLL that does not use cygwin1.dll I've tried the following but the DLL still has cygwin1.dll in its import table gcc -c axdrv.cpp -Wall -mno-cygwin ld --base-file axdrv.base --dll -o axdrv.dll -e _dll_entry AT 12 axdrv.o dlltool --as=as --dllname axdrv.dll --def axdrv.def --base-file axdrv.base --output-exp axdrv.exp ld --base-file axdrv.base axdrv.exp --dll -o axdrv.dll -e _dll_entry AT 12 axdrv.o dlltool --as=as --dllname axdrv.dll --def axdrv.def --base-file axdrv.base --output-exp axdrv.exp ld axdrv.exp --dll -o axdrv.dll -e _dll_entry AT 12 axdrv.o Putting a -mno-cygwin anywhere else results in compile time errors. Torben ___________________________________________________ Torben Mikael Hansen Research Assistant Nanotechnology Mikroelektronik Centret DTU Building 345e, DK-2800 Kgs. Lyngby, Denmark office: 157 tel.: +45 4525 5731 lab: +45 4525 5812 fax: +45 4588 7762 email: tmh AT mic DOT dtu DOT dk ------_=_NextPart_000_01BF3112.900D47A8 Content-Type: text/plain; charset=us-ascii -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com ------_=_NextPart_000_01BF3112.900D47A8--