AIX: Dependency problem with xlC/g++ combination

Jan-Benedict Glaw jbglaw@lug-owl.de
Thu Oct 24 08:24:00 GMT 2013


On Wed, 2013-10-23 20:21:50 -0400, David Edelsohn <dje.gcc@gmail.com> wrote:
> On Wed, Oct 23, 2013 at 6:21 PM, Jan-Benedict Glaw <jbglaw@lug-owl.de> wrote:
> > When building on gcc111, I tried to use different compilers for my
> > build robot. This machine has IBM's XL C compiler installed, but not
> > the C++ compiler. So I used CC=xlC, g++ was auto-detected for CXX.
> > This led to depmode=aix, but g++ was actually used later on for
> > calculating dependencies, totally fucking up the build directory
> > (since it's output was wrongly parsed using aix-style.)
> 
> Why do you say that the C++ compiler is not installed on gcc111? That
> statement is incorrect.  The AIX XL C++ compiler is xlC, which you
> mention.
> 
> Updating the dependencies to C++ makes sense.

Ah! I thought this would be `xlc++', which is not in $PATH, unlike
`xlC', which is. Now I see that xlC is symlinked from
/usr/vacpp/bin/xlC, where the `xlc++' also exists (as a symlink to the
same file.)

  That's great, thanks for the notice! So I'll change one instance to
use xlC/xlc++ throughout the build.  However I still think that the
patch itself is correct and thus would like to discuss it to gain
final approval.

Thanks, JBG

-- 
      Jan-Benedict Glaw      jbglaw@lug-owl.de              +49-172-7608481
Signature of:               The real problem with C++ for kernel modules is:
the second  :                                 the language just sucks.
                                                   -- Linus Torvalds
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20131024/fa306aee/attachment.sig>


More information about the Gcc-patches mailing list