gcc-3.0, and, therefore, g++-3.0, generally chokes on -I/usr/include
(search for "-I/usr/include" in gcc-3.0/gcc/doc/gcc.texi for details).
The following patch changes to CommonC++/posix/ccgnu-config.in to
accomodate this quirk.
I think a number of source code changes will also be necessary
to appease gcc-3.0, but this should get things to the point where the
error messages are usually sensible.
Adam J. Richter __ ______________ 4880 Stevens Creek Blvd, Suite 104
address@hidden \ / San Jose, California 95129-1034
+1 408 261-6630 | g g d r a s i l United States of America
fax +1 408 261-6631 "Free Software For The Rest Of Us."
------------------------------CUT HERE---------------------------------
--- CommonC++-1.4.3/posix/ccgnu-config.in Wed Mar 28 13:26:34 2001
+++ CommonC++/posix/ccgnu-config.in Mon Jun 25 22:30:14 2001
@@ -7,7 +7,11 @@
prefix="@prefix@"
exec_prefix="@exec_prefix@"
libdir="address@hidden@"
-includedir="address@hidden@"
+if test "@includedir@" = "/usr/include" ; then
+ includedir=""
+else
+ includedir="address@hidden@"
+fi
usage()
{
_______________________________________________
Bug-commoncpp mailing list
address@hidden
http://mail.gnu.org/mailman/listinfo/bug-commoncpp