libtool
[Top][All Lists]
Advanced

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

Re: 1 compiler (called from 2 symbolic links) -> 2 different libtool scr


From: Peter O'Gorman
Subject: Re: 1 compiler (called from 2 symbolic links) -> 2 different libtool scripts
Date: Thu, 24 Jul 2008 09:51:20 -0500
User-agent: Thunderbird 2.0.0.14 (X11/20080501)

Ethan Mallove wrote:
> Hello,
> 
> I'm using libtool with the Sun Studio Ceres compilers, and I
> see a different resulting libtool script when I configure
> with CC=sunCC versus CC=cc (though they both point to the
> same executable). The Sun Studio installation has the below
> symbolic links:
>   
>   $ ls -l /opt/SUNWspro/bin/*CC
>   lrwxrwxrwx 1 nik staff 14 Jul 11 15:33 /opt/SUNWspro/bin/CC -> 
> ../prod/bin/CC
>   lrwxrwxrwx 1 nik staff 14 Jul 11 15:33 /opt/SUNWspro/bin/sunCC -> 
> ../prod/bin/CC

> Is it possible the libtool macros do things differently
> depending on a symlink name?

The test is:
case $cc_basename in
CC*)

So this does not match 'sunCC'.

I guess we can change the test to match sunCC*|CC*).

Peter
-- 
Peter O'Gorman
http://pogma.com




reply via email to

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