From owner-freebsd-hackers@FreeBSD.ORG Wed Dec 14 19:38:57 2011 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 38F541065672 for ; Wed, 14 Dec 2011 19:38:57 +0000 (UTC) (envelope-from lists@eitanadler.com) Received: from mail-lpp01m010-f54.google.com (mail-lpp01m010-f54.google.com [209.85.215.54]) by mx1.freebsd.org (Postfix) with ESMTP id AAFA68FC17 for ; Wed, 14 Dec 2011 19:38:56 +0000 (UTC) Received: by lahl5 with SMTP id l5so896319lah.13 for ; Wed, 14 Dec 2011 11:38:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=eitanadler.com; s=0xdeadbeef; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=Bq3wBXmBDd8FHnr+oDNjsE7kIJjhyDv7n0En0PyTJyM=; b=oFpFTbOKJvVmb0Hf0M4h+cBfz1DvYNYtQYjgQ1GH1Wl9r5G9zoAYf23+ZuU5JmMesA PqhXGUutRpjWq0kM98a5STRp/8Cwr6SLn/6XN3i15d+dssON7G4bbp9EzF1zgohZ5hch F+kn/fMk90ztLl3NfkVJ1CBeggbRH8oEAPu2U= Received: by 10.152.103.71 with SMTP id fu7mr4600230lab.31.1323890190340; Wed, 14 Dec 2011 11:16:30 -0800 (PST) MIME-Version: 1.0 Received: by 10.152.23.68 with HTTP; Wed, 14 Dec 2011 11:15:59 -0800 (PST) In-Reply-To: References: From: Eitan Adler Date: Wed, 14 Dec 2011 14:15:59 -0500 Message-ID: To: Ali Mashtizadeh Content-Type: text/plain; charset=UTF-8 Cc: FreeBSD Hackers Subject: Re: Building ports with gcc46 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Dec 2011 19:38:57 -0000 On Wed, Dec 14, 2011 at 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? There is a lot of ongoing work by various people to work multi-toolchain support in ports. At this time it is not officially supported. If you do manage to get it working, patches would certainly be appreciated. Additionally you may want to take a look at this (outdated) article: http://www.freebsd.org/doc/en/articles/custom-gcc/article.html This post should have been on ports@ not hackers@. -- Eitan Adler