From owner-freebsd-questions@FreeBSD.ORG Mon Jan 19 13:47:43 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 0F2B17BB for ; Mon, 19 Jan 2015 13:47:43 +0000 (UTC) Received: from smtp.infracaninophile.co.uk (smtp6.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3cd3:cd67:fafa:3d78]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.infracaninophile.co.uk", Issuer "ca.infracaninophile.co.uk" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id A4614E99 for ; Mon, 19 Jan 2015 13:47:42 +0000 (UTC) Received: from zero-gravitas.local (no-reverse-dns.metronet-uk.com [85.199.232.226] (may be forged)) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.15.1/8.15.1) with ESMTPSA id t0JDlZbB026851 (version=TLSv1.2 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Mon, 19 Jan 2015 13:47:36 GMT (envelope-from m.seaman@infracaninophile.co.uk) Authentication-Results: smtp.infracaninophile.co.uk; dmarc=none header.from=infracaninophile.co.uk DKIM-Filter: OpenDKIM Filter v2.9.2 smtp.infracaninophile.co.uk t0JDlZbB026851 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=infracaninophile.co.uk; s=201001-infracaninophile; t=1421675256; bh=fU0a/prieL5UeuN4NBloHYEp+FiWZFYYkViPpKawQOc=; h=Date:From:To:Subject:References:In-Reply-To; z=Date:=20Mon,=2019=20Jan=202015=2013:47:28=20+0000|From:=20Matthew =20Seaman=20|To:=20Odhiambo=20Was hington=20,=20=0D=0A=20User=20Questions=20|Subject:=20Re:=20FreeBSD=2010=20and=20 manually=20compile=20applications=20without=20gcc|References:=20|In-Reply-To:=20; b=KJwFsCVWyghg7vFCJKHJv3W0b4zvdM5MjWUJUtmSVYF0cnhUMOYPoen4o+cLD2LaI ZBKWTB9IhRjl/j7fdAQgvnR8oGf8SKMhn/UeegmE7RsuiXPt3V6fukteYYNUi7LWAO rbW1C1z42oGfShY7bfHNzBf07XLTBpRtTd84PM1s= X-Authentication-Warning: lucid-nonsense.infracaninophile.co.uk: Host no-reverse-dns.metronet-uk.com [85.199.232.226] (may be forged) claimed to be zero-gravitas.local Message-ID: <54BD0AF0.5040809@infracaninophile.co.uk> Date: Mon, 19 Jan 2015 13:47:28 +0000 From: Matthew Seaman User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:31.0) Gecko/20100101 Thunderbird/31.3.0 MIME-Version: 1.0 To: Odhiambo Washington , User Questions Subject: Re: FreeBSD 10 and manually compile applications without gcc References: In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="F7jBBxjv5nJog1fG7ksdBmPiAOTm6Sr9c" X-Virus-Scanned: clamav-milter 0.98.5 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.5 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU autolearn=ham autolearn_force=no version=3.4.0 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lucid-nonsense.infracaninophile.co.uk X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Jan 2015 13:47:43 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --F7jBBxjv5nJog1fG7ksdBmPiAOTm6Sr9c Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 2015/01/19 13:29, Odhiambo Washington wrote: > Now, suppose I did not install gcc from the ports and I'd like to insta= ll > an application by hand using native tools for FreeBSD 10.x, how do I do= > that? > I need a lecture on this:-) This is exactly why the ports exists: the port maintainer understands how to make whatever software it is compile smoothly and generally do what you want, so you don't have to. If you insist on building your own de-novo, then you are going to need to crawl up that fairly steep learning curve. I'm afraid I cannot deliver a simple lecture on 'do this, and it will work' because, well, it's not simple at all. Your first hurdle seems to be getting configure to choose consistent settings. configure is expecting 'cc' on FreeBSD 10.x to actually be clang -- which is what it usually is. If you want to use gcc instead, then you need to tell configure that, which you usually do by setting the CC environment variable when you call configure. Matthew --F7jBBxjv5nJog1fG7ksdBmPiAOTm6Sr9c 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.22 (Darwin) Comment: GPGTools - https://gpgtools.org iQIcBAEBCgAGBQJUvQr4AAoJEABRPxDgqeTnt0oQAKSIjor42q11+ZOD8NgA3+Mw 7Pb5rAzNSGhLeL93HGJP3fSjuYarkYUuJ8r3d03hbpUHISHLhOkxNwpSruvPmuOS 6MUUe1V0TgKRZ+f+69iOJJ6TyT9GmDe0t/nx5xaL1WkQZMbhIBQG1RJX+ktPyu17 0qwIgzjcEiR9ywvY6rMTzvawaN9+0qC8+LAII4NyV7j4WOKJXSF7N8+ONirlaxkn JJoCK4C2H72kXAeRJF6MKICOD8L2i+tdBmIUN5q4NNUvwQg5O2yIuu0W/aQQRYEH bIXcCIAP9f5VYv+W2E4iz5BodyuLWWDCF7g13aInMXPtxXCe1RYMsWLf3Szl2alT 7rjpZG/6oYv8wXQcuEct44BR7mYUFyIwM6LcK+IM6kEvnm3g3aTniGHrb2iJsyKY QNagQDuk4xaASeyj1yROLAgphGqnaevKjHK4ThXjAIvqN9TPATxhl7tfmEovOVWS Losyc07jqvcZZR96ma7qmnlTLyI9ncfMix2XnayZ12u6cxEZ5cIeTb7fdsBJCjEE JcJWJ18bR8bW5FDftFX0wDi3LbwSwz+xTCrpiNn4IxcVrfUtjRVBZSdpwFFWQ3cC G7Dnl9FdqylcHNUfKepIQYB2BR2y9SbDOoqEcRTlc4et33RQfxSFSQ/ZizDMSyaF XR0loEB0k6e+aDXXjL4k =Jna4 -----END PGP SIGNATURE----- --F7jBBxjv5nJog1fG7ksdBmPiAOTm6Sr9c--