Closed
Bug 323307
Opened 20 years ago
Closed 20 years ago
Build needs to work with gcc on Solaris
Categories
(Directory Graveyard :: LDAP C SDK, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: richm, Assigned: mcs)
Details
Attachments
(2 files)
There are a few problems related to building on Solaris with gcc, some of them 64 bit related as well.
| Reporter | ||
Comment 1•20 years ago
|
||
| Reporter | ||
Comment 2•20 years ago
|
||
| Reporter | ||
Comment 3•20 years ago
|
||
There were only a few places that needed to be changed. I needed to change the order of c++ and cc detection around in configure - it seems that if you do the cross compilation stuff first, it messes up the "regular" case, which is the more important one. In order for the GNU_CC tests to work, you must define CC=gcc and CXX=g++ on the configure command line. If building 64 bit, you must also specify CFLAGS=-m64 and CXXFLAGS=-m64. I also removed the extra arguments for static library building as they were not only not necessary but they were also making the build abort.
| Reporter | ||
Comment 4•20 years ago
|
||
Checking in mozilla/directory/c-sdk/build.mk;
/cvsroot/mozilla/directory/c-sdk/build.mk,v <-- build.mk
new revision: 5.25; previous revision: 5.24
done
Checking in mozilla/directory/c-sdk/configure;
/cvsroot/mozilla/directory/c-sdk/configure,v <-- configure
new revision: 5.40; previous revision: 5.39
done
Checking in mozilla/directory/c-sdk/configure.in;
/cvsroot/mozilla/directory/c-sdk/configure.in,v <-- configure.in
new revision: 5.41; previous revision: 5.40
done
Checking in mozilla/directory/c-sdk/ldap/libraries/libldap/Makefile.in;
/cvsroot/mozilla/directory/c-sdk/ldap/libraries/libldap/Makefile.in,v <-- Makefile.in
new revision: 5.17; previous revision: 5.16
done
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•