Re: [ROOT] Correct LIBS for a Makefile

From: Christian Holm Christensen (cholm@hehi03.nbi.dk)
Date: Mon Jun 24 2002 - 12:24:45 MEST


Hi, 

On Mon, 24 Jun 2002 11:15:30 +0200 (METDST)
Rene Brun <Rene.Brun@cern.ch> wrote
concerning "Re: [ROOT] Correct LIBS for a Makefile":
> Hi,
> 
> The WIN32 version of ROOT IS BUILT under CYGWIN.
> Please  have a look at the Makefile, eg $ROOTSYS/test/Makefile
> to see how we build the test programs under Windows with win32.
> 

Ha, but there's another problem - most likely, you can not link KCC or
MSVC compiled libraries with GCC compiled code - they have different
mangling schemes and ladida - this is a relic from the ANSI C++
working paper and original encourged by Bjarne Stroustrup himself -
me, I find it stupid, and I'm glad to see that GNU and Intel working
toghether on a standard mangling scheme.   The solution:  Compile your
code with the same compiler as you used to compile ROOT etc. with. 

Yours, 

 ____ |  Christian Holm Christensen 
  |_| |	 -------------------------------------------------------------
    | |	 Address: Sankt Hansgade 23, 1. th.  Phone:  (+45) 35 35 96 91
     _|	          DK-2200 Copenhagen N       Cell:   (+45) 24 61 85 91
    _|	          Denmark                    Office: (+45) 353  25 305
 ____|	 Email:   cholm@nbi.dk               Web:    www.nbi.dk/~cholm
 | |



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