This is the mail archive of the cygwin@cygwin.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]
Other format: [Raw text]

Re: How to create LIB from DLL


At 01:31 PM 5/6/2002, Scott Fell 1-0546 wrote:
>Larry,
>
>Due to circumstances beyond my control (yes, I know it sounds stupid), I
>don't have admin on my box and setup is so darned smart, it refuses to
>run.  SO that means that I am stuck...  I haven't found a site that will
>allow me to pick-and-choose which files I want, but if I do, I'm in
>business--do you know if there is one?


Hm, perhaps that's expected.  I'm not sure.  Of course, you can always just
go to a mirror's site and download the file you want directly.  But, 
unless you have access to a version of tar that understands bzip2 formats,
you'll have a bootstrap problem.  This shouldn't be too hard of a problem 
to solve I would guess.  Is there no system with sufficient permissions for
you to run setup there?


> > Also, keep in mind that Cygwin is licensed under the GPL so any application
> > you link with it will be too, in case that affects your efforts.
>
>Thanks for the reminder...  This is actually the reason why I'm working on
>this--our s/w won't be gpl'ed, so I have to get rid of the dependency.
>However, I need to know what the dependency IS before I can get rid of it
>:)...  
>
>Right now, it looks like we're using the rint() function [only] in the
>cygwin1.dll library.  I coded up an rint function, but I'm getting
>differing results from the baseline pre-compiled binary which depends on
>the cygwin1.dll.  SO I need to figure out what-all is different.  
>Probably more information than you really wanted :)  
>
>Anyhow, thanks for your response!


You bet.  I like the details.  It helps guide me in my responses, though I 
have to admit these details confuse me.  So you have your app already 
built against Cygwin?  Why do you need to do it again then?  And why can't
you do it the way it was done?  I have a better idea of what you're trying
to do but I'm not sure I really understand why you have the problem you do.
Anyway, it sounds to me like you want to debug into Cygwin to understand 
this difference.  That would mean that you need more than just an import
library.  You need a debug version of Cygwin.  You'd have to build that.  
Also sounds to me like you need to figure out what Cygwin does so you can 
emulate it.  The quickest way to that is to look at the source.  Of course,
that probably gets a little sticky since it's not quite proper to effectively
copy Cygwin source.

OK, I should stop speculating on your issues! ;-)



Larry Hall                              lhall@rfk.com
RFK Partners, Inc.                      http://www.rfk.com
838 Washington Street                   (508) 893-9779 - RFK Office
Holliston, MA 01746                     (508) 893-9889 - FAX


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


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