Fons Rademakers ha scritto:
> 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.
>
> -- Fons
>
>
>
>
> 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
>>
>
Creating a MyConfig.mk it works, but at the end it doesn't compile.. :
................................
This is the output of "make showbuild":
ROOTSYS = /home/local/root3.4.bin PLATFORM = linux OPT = -O CXX = /usr/bin/g++-3.4 CC = /usr/bin/gcc-3.4 F77 = g77 CPP = /usr/bin/gcc-3.4 -E LD = /usr/bin/g++-3.4 F77LD = /usr/bin/g++-3.4 GCC_MAJOR = 3 GCC_MINOR = 4 ......................................................................Some hint?
Thanks
A
-- ------------------------------------------------------- Alfio RIZZO Vrije Universiteit Brussel Faculteit Wetenschappen, Dienst ELEM Gebouw G, Bureau 0G-111 Pleinlaan, 2 B-1050 Brussel BELGIE Tel. +32(0)26293220 Fax +32(0)26293816 alfio.rizzo_at_vub.ac.be w3.iihe.ac.be/~rizzo -------------------------------------------------------Received on Mon Jul 09 2007 - 16:03:56 CEST
This archive was generated by hypermail 2.2.0 : Mon Jul 09 2007 - 23:50:02 CEST