Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 May 2012 08:49:15 +0100
From:      Matthew Seaman <matthew@FreeBSD.org>
To:        "Thomas D. Dean" <tomdean@speakeasy.org>
Cc:        freebsd-questions@FreeBSD.org
Subject:   Re: How Do I Remove Clang
Message-ID:  <4FC47F7B.50806@FreeBSD.org>
In-Reply-To: <4FC47A74.4000206@speakeasy.org>
References:  <4FC47A74.4000206@speakeasy.org>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig5B0F9C61141DB95EC0590B6D
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

On 29/05/2012 08:27, Thomas D. Dean wrote:
>> uname -a
> FreeBSD P9X79.tddhome 9.0-STABLE FreeBSD 9.0-STABLE #2: Fri May 11
> 20:41:54 PDT 2012     tomdean@P9X79.tddhome:/usr/src/sys/GENERIC  amd64=


Hmmm... normally this sort of question is asked in exactly the opposite
sense.  I shall trust that it is not asked ironically and answer at face
value.

> I want to remove clang from my system and stick with gcc.

Set WITHOUT_CLANG=3Dyes in /etc/src.conf and do a normal buildworld cycle=

plus 'make delete-old'

See src.conf(5) for more details.

Or just do nothing: gcc is still the default compiler on 9.0, and you
need positive action to tweak /etc/make.conf to enable clang.

> I do not want any code I produce to have a non-GPL license.

That's not actually affected by using clang as your compiler.  It's BSD
licensed, and doesn't have any "viral" clauses, so your code can be
licensed as you see fit.  Similarly the runtime bits of the system are
BSD licensed and even though they are linked into any executables you
produce, you can release the result under whatever terms you see fit
other than not claiming authorship / copyright on material you didn't
yourself produce.

> Do I need to regress to 8.3?  Or, will that be back-fit with clang also=
?

No.  I think you can update to 9.1 without such concerns as well, but
10.x could well be a different matter.

	Cheers,

	Matthew

--=20
Dr Matthew J Seaman MA, D.Phil.
PGP: http://www.infracaninophile.co.uk/pgpkey



--------------enig5B0F9C61141DB95EC0590B6D
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.16 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk/Ef3sACgkQ8Mjk52CukIxGMACdHFMGFUdXuN9r8Um+BdRQ/iMj
vWsAnAgJIniBz7ut8LKnR6KfP1TYTmLR
=3n4c
-----END PGP SIGNATURE-----

--------------enig5B0F9C61141DB95EC0590B6D--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4FC47F7B.50806>