This is the mail archive of the cygwin 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: Visual Studio linking


Alastair Growcott wrote:
> Hi.
>
> I have read all the FAQs and stuff. I have searched the web. I would like
a
> step by step list of instructions to achieve the following.
>
> I want to use check to test an MFC application. This means I must use the
> Visual Studio compiler, cl, and linker, link.
> Check calls fork(). This function is implemented in the cygwin1.dll.
> I cannot link using the DLL. I read somewhere that libcygwin.a is
equivalent
> to the cygwin1.lib, but when I try and link against it I get all sorts of
> bizarre symbols not found. According to cygcheck, cygwin1.dll only has
> dependencies on standard Windows DLLs that I am already linking against.
>
> So how do I;
>
> a) obtain a version of cygwin1.lib that I can link against using the
Visual
> Studio linker that will work nicely and neatly, or
> b) link against libcygwin.a using the Visual Studio linker.

I don't think anyone has ever done this before, so I doubt very much whether
what you are looking for exists.

If you are serious about doing this, you will likely need to figure it out
yourself, assuming of course, that it actually is possible at all.

Max.


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.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]