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]

Re: How do you strip a dll ?


>   Steve Biskis (mlx@san.rr.com)
>   Mon, 23 Mar 1998 16:34:39 -0800
>> Quick couple o' questions for you gnu-win32 dll experts:
>>
>> I never have any problems running stripped .exe's.
>> However, when I strip my .dll and then run an app that
>> accesses it, I get a pop-up that says:
>>
>> "The application or DLL  is not a valid Windows NT image.
>> Please check this against your installation diskette."
>>
>> Are there some special flags that need to be provided to strip dlls ?
>>
Stripping a cgywin .a library makes it invalid.  You have to link the 
library into an executable and then strip the executable.  I am guessing
the same thing happens when you strip a .dll file.

In other words, don't strip dll's, especially in public in broad daylight.

-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".


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