Re: build problems

Wan-Teh Chang <[email protected]> Wed, 29 Jul 2009 14:16:45 -0700
Newsgroups gmane.comp.mozilla.devel.nspr
Message-ID <[email protected]>
Hi VT,

On Wed, Jul 29, 2009 at 2:01 PM,
news.mozilla.org<[email protected]> wrote:
> Hi,
>
> I am trying to build NSPR version greater than 4.2 on windows.
>
> I understand cygwin is the only way to build this.

We also support MSYS now.  I now recommend that you get MozillaBuild,
which includes MSYS and will set up everything for you.

> I have Visual Studio 6.0 on my machine. I have tried both on a Windows XP
> and Windows Vista machine.
>
> When i do a build as described on the build web page, I get a error at the
> final link step.
>
> link: invalid option -- n
> Try `link --help' for more information.

Most likely, you are using Cygwin's "link" rather than Visual C++'s "link".
Please adjust your PATH environment variable so that "link" is Visual
C++'s "link".

Wan-Teh