This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

[Q]: Linking against DLLs.


I would think that this would be a FAQ (and forgive me if it is, and I
just haven't seen it), but how do you link against thrid-party DLLs? 
CygWin includes import libraries for most/all of the standard Win32
libraries, but what would it take to make an import library for any
random DLL? 

Specificaly, I'm trying to build a Ming application against Tcl/Tk
8.0.5.  Yes, I know there are ports out there (and I may have to use
one), but a bit of my code is 8.0.5-specific, and I don't want to port
it up to a later version just yet -- I'd like to get it to work as-is
for now, plus, I don't trust 8.1+.

Anything I can do about this?  Plus, while I'm here, what exactly does
the "-mwindows" flag do?  What relation does it have to "-mno-cygwin"?

Thanks for any help (including "you're screwed - upgrade", if that's
it).

-Steve

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]