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]

Making static library for use in an MSC++ environment


Hallo,

I have some functionality in use in my normal unix environment (linux, solaris) using .  Now I have to port this to WinNT.

All things I want to transfer are in an static library.  I can make up a test program for  win32 linking this library using the cygwin.dll. The test program works correkt on WinNT.

Now I like to use my static library on  WinNT in an environment compiled and linked with MS-C++.
I get trouble with the linker. There are typical some unresoved symbols :
__impure_ptr
__ctype_
___srget
___assert
___errno
__alloca

These I think are special GNU functions which are not known to the Libc on MS-C++.

Is the usage of a cygwin-compiled static library in the WinNT environment totaly nonsence?
Can I configure my lib in a way that it uses only standard functions?
Can I use the cygwin.dll to comlpete my library?

Is there anybody who can give me a hint?

Thank you

Nils Rehfeld

-- 
************************************************************************
Dr. Nils Rehfeld , BSI FhG-IITB, Fraunhoferstr. 1, D-76131 Karlsruhe
Tel:0049-721/6091-366  Fax:0049-721/6091-413  email:rf@iitb.fhg.de
************************************************************************
 
Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]