Closed Bug 18662 Opened 20 years ago Closed 20 years ago

g++ always used

Categories

(NSPR :: NSPR, defect, P3, trivial)

x86
Linux
defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: ytiddo, Assigned: srinivas)

Details

the configure script does not detect machines that use gcc as their native c++
compiler, and instead tries to use a (non-existant) g++.

fixed on the system by symlinking, so trivial. but should be checked
Status: NEW → ASSIGNED
accepted bug.
Component: Build Config → NSPR
Product: Browser → NSPR
Version: other → 3.5
Actually, the autoconf check for the c++ does this:
        AC_CHECK_PROGS(HOST_CXX, $CCC c++ g++ gcc CC cxx cc++ cl, "")
so it should use either g++ or gcc.
NSPR, on the other hand, hardcodes g++.  You can try --enable-nspr-autoconf when
building Mozilla but it hasn't been tested on all platforms.
Reassigning to NSPR.
Assignee: granrose → srinivas
Status: ASSIGNED → NEW
reassigning to default nspr component owner.
Status: NEW → ASSIGNED
Can this bug be marked resolved?
Status: ASSIGNED → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
marking fixed.
You need to log in before you can comment on or make changes to this bug.