libtool-patches
[Top][All Lists]
Advanced

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

patch for "g++-x.x" named compilers


From: Ossama Othman
Subject: patch for "g++-x.x" named compilers
Date: Thu, 24 Oct 2002 13:51:53 -0700
User-agent: Mutt/1.3.28i

Hi,

This is from a Debian user:

--------------------------
When one tells libtool to use g++-3.0 as the compiler, libtool barfs
because it doesn't recognize that as a C/C++ compiler.  This makes it
harder for people on an architecture which uses GCC 2.x as the default
compiler (eg i386) to diagnose and debug problems related to GCC 3.x.

Here is a simple possible fix, to /usr/bin/libtool:

<     *cc | *++ | gcc* | *-gcc*)

>     *cc | *++ | gcc* | *-gcc* | g++*)
--------------------------

I suppose this should now be:

<    *cc | *++ | gcc* | *-gcc* | xlc*)

>    *cc | *++ | gcc* | *-gcc* | g++* | xlc*)



-Ossama
-- 
Ossama Othman <address@hidden>
Distributed Object Computing Laboratory, Univ. of California at Irvine
1024D/F7A394A8 - 84ED AA0B 1203 99E4 1068  70E6 5EB7 5E71 F7A3 94A8




reply via email to

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