Hello Ralf,

Thanks for the quick feedback.

> > 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...

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

I'll resend a new patch.

Bruno



_______________________________________________
Bug-libtool mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-libtool

Reply via email to