bug-libtool
[Top][All Lists]
Advanced

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

Re: support for SunPRO C/C++ on Linux


From: Bruno Haible
Subject: Re: support for SunPRO C/C++ on Linux
Date: Mon, 8 May 2006 22:40:59 +0200
User-agent: KMail/1.5

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





reply via email to

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