delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/10/20/07:19:30

From: colin AT fu DOT is DOT saga-u DOT ac DOT jp (Colin Peters)
Subject: RE: MSVCRT/threads
20 Oct 1998 07:19:30 -0700 :
Message-ID: <004d01bdfbd0$01ae2040$fa173185.cygnus.gnu-win32@gbird0.fu.is.saga-u.ac.jp>
Mime-Version: 1.0
To: "Darren Cook" <darren AT netschool DOT co DOT jp>
Cc: "GNU-win32" <gnu-win32 AT cygnus DOT com>

Darren Cook <darren AT netschool DOT co DOT jp> wrote:

>>>But it still fails with EGCS. After reading the source for process.h I've
>>>added this line:
>>> #define __MSVCRT__ //For EGCS
>>
>>
>>Remove that line, the procedure I describe should do the equivalent for
>>you...
>
>Thanks, it works :-).


Whoops! As Mumit also pointed out there are some other libraries which rely
on the specific C run-time you are using and have to be recompiled to make
the change. Basically if you are using the C++ standard libraries (including
iostreams) or other libraries (other than the Win32 API libraries) you
should recompile them under the new specs. This may be rather tedious and/or
difficult if you have to compile something like (say) the C++ standard
libraries, or if you don't have the source code readily available.

However, for plain C code and only your own libraries (or ones that don't
depend on the C run-time) the solution I gave should work AFAIK. <crossing
fingers>

Good luck,
Colin.

- Colin Peters - colin at fu.is.saga-u.ac.jp
- http://www.geocities.com/Tokyo/Towers/6162/index.html
- Go not to usenet for counsel, for it will say both
- 'yes' and 'no' and 'try another newsgroup'.


-
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".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019