Re: compile root

From: Fons Rademakers <Fons.Rademakers_at_cern.ch>
Date: Mon, 09 Jul 2007 18:04:54 +0200


Alas, no idea.

Alfio wrote:
> 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.. :
> ................................
> `.L3441' referenced in section `.rodata' of cintex/src/CINTUtils.o:
> defined in discarded section
> `.gnu.linkonce.t._ZN4ROOT6Cintex9ConverterIeE6toCintEP8G__valuePv' of
> cintex/src/CINTUtils.o
> collect2: ld returned 1 exit status
> make: *** [lib/libCintex.so] Error 1
>
> 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
>
-- 
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 - 18:04:41 CEST

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