Hi Fons, Jiri, et al, On 05 Nov 2001 12:10:53 +0100 Jiri Masik <masik@pc203b.fzu.cz> wrote concerning "Re: [ROOT] compiling problems": > please would a configure-like test for gcc3 be possible - for example > to parse output of > > int main(){ > int i=0; > #ifdef __GNUC__ > i = __GNUC__; > #endif > printf("%d\n",i); > return(0); > } > which should work for any compiler. > > The test in cint/Module.mk has broken the flexibility to specify > compiler suite by variables in config/Makefile... I think it is quite > common to have more compilers installed under different names. One has > to change two files to select the compiler as it is now it > would be nice if it was governed by a single statement again. Such test are automatically done by Autotools, and I really think ROOT should use those, if there wasn't the problem that Autotools does not support M$VC (in fact, it's libtool and automake that doesn't support M$VC - autoconf is partily neutral). One way to work around that, is to make some wrapper scripts for M$VC that translates GCC-like commandlines into M$VC-like same, insist on using <grin>Cygwin</grin> (whoops, now I opened that back of worms again!), or ofcourse to <grin>lean heavily</grin> on the three development groups of Libtool, Automake, and Autoconf (all are nice fellas by the way). I don't know, but may be it will be easier to implment in the new (what-ever version) Automake. Yours, Christian Holm Christensen ------------------------------------------- Address: Sankt Hansgade 23, 1. th. Phone: (+45) 35 35 96 91 DK-2200 Copenhagen N Cell: (+45) 28 82 16 23 Denmark Office: (+45) 353 25 305 Email: cholm@nbi.dk Web: www.nbi.dk/~cholm
This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:51:06 MET