Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Jan 2015 17:04:45 +0300
From:      Odhiambo Washington <>
To:        Matthew Seaman <>
Cc:        User Questions <>
Subject:   Re: FreeBSD 10 and manually compile applications without gcc
Message-ID:  <>
In-Reply-To: <>
References:  <> <>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
Hi Matthew,

Thank you do much for that short lecture. It really helps:)

I am fond of compiling  bleeding edge apps at certain times to see how the
new features created will play with my setup and then give feedback to the
developers. Then again there are times like this, when I am having a hell
with squid-3.4.10 on FreeBSD 10 (amd64) - with memory leaks. I an running
with the same configuration on FreeBSD 9.3 (amd64) but with Squid-
and have no memory leaks!

I know the best way to get around this would be report to squid dev about
it, but I wanted to try squid-3.5 and it's not in the ports, hence the need
to compile by hand.

So is there a shortcut way?:)

On 19 January 2015 at 16:47, Matthew Seaman <
> wrote:

> On 2015/01/19 13:29, Odhiambo Washington wrote:
> > Now, suppose I did not install gcc from the ports and I'd like to install
> > 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

Best regards,
"I can't hear you -- I'm using the scrambler."

Want to link to this message? Use this URL: <>