You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by bu...@apache.org on 2002/06/10 16:46:02 UTC
DO NOT REPLY [Bug 9747] New: -
Solaris+gcc build failure (patch)
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9747>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9747
Solaris+gcc build failure (patch)
Summary: Solaris+gcc build failure (patch)
Product: Xerces-C++
Version: 1.7.0
Platform: Sun
OS/Version: Solaris
Status: NEW
Severity: Major
Priority: Other
Component: Build
AssignedTo: xerces-c-dev@xml.apache.org
ReportedBy: svanegmond@tinyplanet.ca
My configuration:
Solaris 2.8, gcc 3.0.4.
root@dev:xercesc: which
c++
/opt/GNU/bin/c++
root@dev:xercesc: which
gcc
/opt/GNU/bin/gcc
root@dev:xercesc: which
g++
/opt/GNU/bin/g++
root@dev:xercesc: ./configure | more
loading cache
./config.cache
checking for gcc... (cached) gcc
checking whether the C compiler (gcc )
works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking
whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached)
yes
checking for c++... (cached) c++
checking whether the C++ compiler (c++ ) works...
yes
checking whether the C++ compiler (c++ ) is a cross-compiler... yes
checking whether we
are using GNU C++... (cached) yes
checking whether c++ accepts -g... (cached) yes
In the
various makefiles, configure produced:
CXX = c++
However Makefile.incl
says:
ifeq (${PLATFORM}, SOLARIS)
ifeq (${CXX}, g++)
The "g++" and the "c++"
should match. This bug results in the build system trying to feed Solaris compiler options to
gcc, which results in all kinds of unspeakable horrors. Just this patch will do:
< ifeq
(${CXX}, g++)
---
> ifeq (${CXX}, c++)
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org