Re: NSPR build

Wan-Teh Chang <[email protected]> Wed, 27 May 2009 16:55:55 -0700
Newsgroups gmane.comp.mozilla.devel.nspr
Message-ID <[email protected]>
On Wed, May 27, 2009 at 3:04 PM, Vinu <[email protected]> wrote:
> Hi,
>
> I just downloaded the sources for NSPR 4.7.4 for a Solaris build.
>
> I unzipped and untarred the file and then
>
> cd mozilla/nsprpub
> ./configure
>
> Here it tries to use the Sun C compiler, but I want to use gcc, So i did
>
> ./configure NS_USE_GCC=1

Please configure NSPR as follows to use gcc:

In Bourne shell, Korn shell, or Bash:
    CC=gcc CXX=g++ ./configure

In C shell or tcsh:
    env CC=gcc CXX=g++ ./configure

Then just type 'gmake'.  If you use 'make', please first run 'make -v' to
verify that it is GNU make.  Our makefiles require GNU make.

Wan-Teh