From owner-freebsd-questions@FreeBSD.ORG Fri Apr 30 15:40:27 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 64AC016A4E0 for ; Fri, 30 Apr 2004 15:40:27 -0700 (PDT) Received: from shadow.wixb.com (shadow.wixb.com [65.43.82.173]) by mx1.FreeBSD.org (Postfix) with ESMTP id B1EDC43D8E for ; Fri, 30 Apr 2004 15:40:21 -0700 (PDT) (envelope-from jbronson@wixb.com) Received: from thinkpad.wixb.com (thinkpad.wixb.com [10.43.82.5]) i3UMeKlA016490; Fri, 30 Apr 2004 17:40:20 -0500 (CDT) Message-Id: <6.1.0.6.2.20040430173939.00bf00c0@cheyenne.wixb.com> Date: Fri, 30 Apr 2004 17:40:19 -0500 To: Kris Kennaway From: "J.D. Bronson" In-Reply-To: <20040430223840.GA28597@xor.obsecurity.org> References: <20040430070958.GA76706@xor.obsecurity.org> <66231CBC-9AAD-11D8-94AF-000A95989E4A@lixfeld.ca> <6.1.0.6.2.20040430085350.02465dd0@localhost> <9DEE44BD-9AB0-11D8-94AF-000A95989E4A@lixfeld.ca> <6.1.0.6.2.20040430093535.0246f238@localhost> <20040430223840.GA28597@xor.obsecurity.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Antivirus: Scanned by F-Prot Antivirus 4.4.1 X-Scanned-By: MIMEDefang 2.42 cc: freebsd-questions@freebsd.org Subject: Re: GCC3.4 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Apr 2004 22:40:28 -0000 At 05:38 PM 4/30/2004, you wrote: > > >How do you do tell things to use gcc3 instead of gcc? export a variable > > >before make which tells make which compiler to use? > > > > # CC=gcc3 > > export CC > > # CXX=c++3 > > export CXX > >Note that you usually can't mix and match C++ code compiled with >different versions of GCC, because they frequently break the ABI. > >Kris well this has worked just fine for what I needed to do and keeps things 'separate' so to speak. -JDB