Hi Bruno,

* Bruno Haible wrote on Mon, May 08, 2006 at 10:40:59PM CEST:
> 
> > > The compiler executable for C is called 'c89' and 'c99' (two slightly
> > > different programs); for C++ it is called 'CC'.
> >
> > How unfortunate.  Several compilers on GNU/Linux install themselves with
> > links or wrappers named c89 or c99.  I don't think all of them
> > understand -KPIC, and none of the others will understand '-Qoption ld'.
> > We should probably do a --version|-V test as well to disambiguate.
> 
> Something like this, or test whether "$CC -flags > /dev/null" gives no 
> error...

Yes, maybe.

> Does the same hold also for the name 'CC' of the C++ compiler?

I think that is a lot safer.

> I'll resend a new patch.

Thanks.

Cheers,
Ralf


_______________________________________________
Bug-libtool mailing list
Bug-libtool@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-libtool

Reply via email to