Re: [ROOT] How to specify the compiler

From: Brett Viren (bv@bnl.gov)
Date: Fri Aug 30 2002 - 17:35:34 MEST


Christian Holm Christensen writes:
 > If your really question is:  How do I compile ROOT with a compiler
 > that's not the default for my platform,
...
 > You can also try to simply override the settings when you build: 
 > 
 >     prompt> ./configure linux 
 >     prompt> make CC=my-c-compiler CXX=my-c++-compiler 
 >     prompt> make install CC=my-c-compiler CXX=my-c++-compiler 

Yes, this should work but you will also need to add 

	LD=my-c++-compiler      (use g++-whatever, *not* just ld)
and
	F77=my-f77-compiler 

and you may need to tweek F77LIBS (for GCC 3.2 on Debian at least) to
include -lfrtbegin (just to get g2root exec).

-Brett.



This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:51:06 MET