From: rf AT iitb DOT fhg DOT de (Nils Rehfeld) Subject: Making static library for use in an MSC++ environment 24 Sep 1997 03:52:47 -0700 Message-ID: <3428EBB7.6CA9EE6F.cygnus.gnu-win32@iitb.fhg.de> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="------------6256DCEA909C4A092BC2CAE6" To: gnu-win32 AT cygnus DOT com --------------6256DCEA909C4A092BC2CAE6 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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 AT iitb DOT fhg DOT de ************************************************************************ --------------6256DCEA909C4A092BC2CAE6 Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit 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 AT iitb DOT fhg DOT de
************************************************************************
  --------------6256DCEA909C4A092BC2CAE6-- - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request AT cygnus DOT com" with one line of text: "help".