Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Jan 2015 13:47:28 +0000
From:      Matthew Seaman <m.seaman@infracaninophile.co.uk>
To:        Odhiambo Washington <odhiambo@gmail.com>, User Questions <freebsd-questions@freebsd.org>
Subject:   Re: FreeBSD 10 and manually compile applications without gcc
Message-ID:  <54BD0AF0.5040809@infracaninophile.co.uk>
In-Reply-To: <CAAdA2WNpTpnQ_7KO10mEnoz7w9=TU%2BiSOcjo=Wi=asxk5aopww@mail.gmail.com>
References:  <CAAdA2WNpTpnQ_7KO10mEnoz7w9=TU%2BiSOcjo=Wi=asxk5aopww@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?54BD0AF0.5040809>