Mailinglist Archive: opensuse-packaging (161 mails)

< Previous Next >
Re: [opensuse-packaging] using gcc-45 in building a package on factory in opensuse buildservice
  • From: Paul Elliott <pelliott@xxxxxxxxxxxxxxxxxxx>
  • Date: Tue, 19 Jan 2010 12:46:24 -0600
  • Message-id: <20100119184624.GB5393@xxxxxxxxxxxxxxxxxxx>
On Tue, Jan 19, 2010 at 01:58:57PM +0100, Michael Matz wrote:
Hi,

On Tue, 19 Jan 2010, Adrian Schröter wrote:


What envrionment variables or switches do I have to
put on the "./configure" and "make" lines to
make it use the alternate compiler?

usually it is

export CXX=g++-4.5

In addition to "export CC=gcc-4.5", yes.

but it depends on your toolchain.

The above should work for the gcc45 packages in factory.


CC=gcc-4.5 CXX=g++-4.5 ./configure #blah


did not work. ./configure step still shows no c++ compiler

Are there any projects out there that actually
use gcc-4.5 that I could use as a template?

Thank You.


--
Paul Elliott 1(512)837-1096
pelliott@xxxxxxxxxxxxxxxxxxx PMB 181, 11900 Metric Blvd Suite J
http://www.free.blackpatchpanel.com/pme/ Austin TX 78758-3117
< Previous Next >