From owner-freebsd-questions@FreeBSD.ORG Tue May 29 07:49:19 2012 Return-Path: Delivered-To: freebsd-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E12F01065677 for ; Tue, 29 May 2012 07:49:19 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from smtp.infracaninophile.co.uk (smtp6.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3cd3:cd67:fafa:3d78]) by mx1.freebsd.org (Postfix) with ESMTP id 4C8748FC1E for ; Tue, 29 May 2012 07:49:19 +0000 (UTC) Received: from seedling.black-earth.co.uk (seedling.black-earth.co.uk [81.187.76.163]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.5/8.14.5) with ESMTP id q4T7nFp4037168 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Tue, 29 May 2012 08:49:15 +0100 (BST) (envelope-from matthew@FreeBSD.org) X-DKIM: OpenDKIM Filter v2.5.2 smtp.infracaninophile.co.uk q4T7nFp4037168 Authentication-Results: smtp.infracaninophile.co.uk/q4T7nFp4037168; dkim=none (no signature); dkim-adsp=none Message-ID: <4FC47F7B.50806@FreeBSD.org> Date: Tue, 29 May 2012 08:49:15 +0100 From: Matthew Seaman User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:12.0) Gecko/20120428 Thunderbird/12.0.1 MIME-Version: 1.0 To: "Thomas D. Dean" References: <4FC47A74.4000206@speakeasy.org> In-Reply-To: <4FC47A74.4000206@speakeasy.org> X-Enigmail-Version: 1.4.1 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig5B0F9C61141DB95EC0590B6D" X-Virus-Scanned: clamav-milter 0.97.4 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.6 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on lucid-nonsense.infracaninophile.co.uk Cc: freebsd-questions@FreeBSD.org Subject: Re: How Do I Remove Clang X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 May 2012 07:49:20 -0000 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--