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: Ralf Wildenhues
Subject: Re: support for SunPRO C/C++ on Linux
Date: Tue, 9 May 2006 07:21:06 +0200
User-agent: Mutt/1.5.11+cvs20060403

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




reply via email to

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