Re: [ANNOUNCE] NSPR 4.7.2 Release

Joachim Ziegler <[email protected]> Fri, 07 Nov 2008 10:32:54 +0100
Newsgroups gmane.comp.mozilla.devel.nspr
Message-ID <[email protected]>
Hello Wan-Teh,

Wan-Teh Chang wrote:
> OK.  I'm not familiar with GCC on  Windows.  I believe this
> is equivalent to the so-called MinGW because of the -mno-cygwin
> flag.

Frankly speaking, I do not understand the difference between "normal" 
gcc and MinGW gcc. In my Cygwin setup, I see that both packages "gcc" 
and "gcc-mingw-core" are installed. If I try to uninstall gcc-ming-core, 
I get the error message "Unmet dependencies found: gcc-mingw-core 
required by gcc, gcc-core".

> This crash is an assertion failure.  Note that there are two build
> configurations on Windows, and you're building the "WINNT"
> configuration (the default).  Please try the "WIN95" configuration
> by passing the --enable-win32-target=WIN95 option to NSPR's
> configure script.  All the people who build NSPR with MinGW
> build the "WIN95" configuration, which is used by the Mozilla
> clients.

OK, this works. Now the programs run:

> D:\nspr-4.7.2-build-dir\nspr-4.7.2\target95\pr\tests>stdio
> This to standard out
> This to standard err

But what does that mean for me? Can I not build the default WINNT 
configuration? I do not want MinGW (primarily because I do not fully 
understand what it is.)

IMHO, the whole description as given on

https://developer.mozilla.org/en/Checkout_and_Build_NSPR

needs revision, with many additonal information taken from this thread.

Greetings from Germany,
Joachim