Re: compile root

From: Fons Rademakers <Fons.Rademakers_at_cern.ch>
Date: Mon, 09 Jul 2007 14:28:28 +0200


Personally I've some scripts that create links in my ~/bin to the gcc I want to use. However, that has consequences for everything I compile at the moment. You can also create $ROOTSYS/MyConfig.mk in which you change CXX, CC and LD. MyConfig.mk is included by the main Makefile.

Alfio wrote:
> Dear ROOTers
> maybe this is and old topic, but I didn't find any F.A.Q. about this...
> My question is about how compile ROOT with different gcc versions.
> For istance I have in my laptop gcc 3.4 and 4.1.2,
> is it possible to type ./configure CXX=/usr/bin/gcc3.4 or something like
> that?
> Thanks
>
> A
>

-- 
Org:    CERN, European Laboratory for Particle Physics.
Mail:   1211 Geneve 23, Switzerland
E-Mail: Fons.Rademakers_at_cern.ch              Phone: +41 22 7679248
WWW:    http://fons.rademakers.org           Fax:   +41 22 7669640
Received on Mon Jul 09 2007 - 14:28:14 CEST

This archive was generated by hypermail 2.2.0 : Mon Jul 09 2007 - 23:50:02 CEST