octave-maintainers
[Top][All Lists]
Advanced

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

Re: default clang on Debian


From: José Luis García Pallero
Subject: Re: default clang on Debian
Date: Thu, 25 Feb 2016 18:49:40 +0100

2016-02-25 18:48 GMT+01:00 Mike Miller <address@hidden>:
> On Thu, Feb 25, 2016 at 09:34:44 -0800, Rik wrote:
>> On 02/25/2016 09:00 AM, address@hidden wrote:
>> >
>> > Also, I had both clang 3.6 and 3.7 installed, but though I installed 3.7
>> > after 3.6, it was not set up as the default version of clang.  Then I
>> > removed 3.6 and there was no default version of clang (I still had to use
>> > clang-3.7 and clang++-3.7 to invoke them).  Is there a proper way to set
>> > up 3.7 as the default version on Debian?
>> >
>> Maybe 'update-alternatives'?
>
> No, compilers on Debian do not use the alternatives facility. The
> symlinks to the default versions are hardcoded. I have clang 3.6, 3.7,
> and 3.8 installed and 3.6 is still the default.
>
> I configure Octave for clang with
>
>   CC="clang-$ver" CXX="clang++-$ver -stdlib=libc++"
>
> (the latter option instructs clang to use libc++ instead of libstdc++).

Is not possible to use the alias command in bash?

>
> --
> mike
>



-- 
*****************************************
José Luis García Pallero
address@hidden
(o<
/ / \
V_/_
Use Debian GNU/Linux and enjoy!
*****************************************



reply via email to

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