Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Dec 2011 15:21:24 -0500
From:      Greg Larkin <glarkin@FreeBSD.org>
To:        Ali Mashtizadeh <mashtizadeh@gmail.com>
Cc:        freebsd-ports <freebsd-ports@freebsd.org>
Subject:   Re: Building ports with gcc46
Message-ID:  <4EE90544.7020603@FreeBSD.org>
In-Reply-To: <CAFL8=thCY05NsXwt8RtLE4kBtdxucFbtJqP8gcNbQ7mwN8-ysw@mail.gmail.com>
References:  <CAFL8=thCY05NsXwt8RtLE4kBtdxucFbtJqP8gcNbQ7mwN8-ysw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 12/14/11 1:44 PM, Ali Mashtizadeh wrote:
> Is there a way to build devel/protobuf with gcc46? Unfortunately I see
> a compatibility issue where the software I'm linking against it
> crashes because of the conflicting stdc++ librray versions. I've tried
> setting CC, CXX, LDFLAGS but I seem to be missing something else?
> 
> Thanks,

[NOTE: Redirecting to freebsd-ports@]

Hi Ali,

Have you tried adding the following to /etc/make.conf?

USE_GCC=4.6

Note that the directive will bring in a lot of other dependencies with
it, so you may also want to add WITHOUT_X11=yes to make.conf, if necessary.

Hope that helps,
Greg
- -- 
Greg Larkin

http://www.FreeBSD.org/           - The Power To Serve
http://www.sourcehosting.net/     - Ready. Set. Code.
http://twitter.com/cpucycle/      - Follow you, follow me
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk7pBUQACgkQ0sRouByUApD5iwCfZx+Z6P+NbSvz9o5iKkx1Wgsg
ME4AoICCe4m+MIPOA1UXXvoKiirIaBUb
=CbJJ
-----END PGP SIGNATURE-----



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