bug-commoncpp
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: PATCH: CommonC++-1.4.3/posix/ccgnu-config.in accomodation for gcc-3.


From: David Sugar
Subject: Re: PATCH: CommonC++-1.4.3/posix/ccgnu-config.in accomodation for gcc-3.0
Date: Tue, 26 Jun 2001 06:40:43 -0400
User-agent: Mozilla/5.0 (X11; U; Linux 2.2.16-9mdk i686; en-US; m18) Gecko/20001013

Actually, what will be the new 1.5 release (I hope to get it out this week) has lots of changes for compiling under gcc 3.0, but this is the first I heard of this specific quirk...hmm...I will add this in.

Adam J. Richter wrote:

        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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]