RE: [ROOT] Suggestion for official release of Root under Visual C++.net

From: Faine, Valeri (fine@bnl.gov)
Date: Fri Jan 31 2003 - 19:38:36 MET


> Hi Valeri,
> 
> NO, this does not work. I have spend all day playing with these
options.
> Activating R__ANSISTREAM  with VC++6 has plenty of side effects.
> For example with TDatime.h and TTime.h (all MS bugs!!).
 
I could not reproduce this.

I made:

  1. CVS check out from CERN 
  2. 1 correction I mentioned
  3. ./configure win32
  4. make

then to check things 

   5. went %ROOTSYS%\test
   6. Made second correction I mentioned
     6.1. To avoid the linker warning 
          (I guess these were the warning those confused you) 
          one has to ADD /GX compilation option also
          Please, add the line to Makefile.win32
           CXXFLAGS     := $CXXFLAGS /GX

   7. nmake -f Makefile.win32

     No problem!


There are two possible explanations:

 1. you mixed old and new object/dictionary/include files somewhere 
 2. we have the different compiler versions of Vc6.

    Mine is 12.00.8804

    What is yours?

I would like other ROOT-talking people check this to confirm and send 
me all troubles they may have met.
 
         My best regards, Valeri



 
> I also played with MSVCPRT.LIB instead of MSVCIRT.LIB for VC++6. It
does
> not
> work.
> 
> We are very busy now preparing lectures for next week. I do not want
> to hear about MS again until end of next week.
> 
> Rene Brun
> 
> "Faine, Valeri" wrote:
> >
> > Hi   Rene,
> >
> > There are TWO major corrections to be done:
> >
> >   1. RConfig.h should define
> > #     define R__ANSISTREAM    /* ANSI C++ Standard Library
conformant */
> > for all Vc<x> compilers.
> >
> > AND
> >
> >    2. test/Makefile.win32 must use
> >
> > LIBS          = $(ROOTLIBS) $(guilibsdll) MSVCPRT.LIB
> >  Instead of
> > LIBS          = $(ROOTLIBS) $(guilibsdll) MSVCIRT.LIB
> >
> > THEN VC6 compiled and Vc7 compiled libraries will be compatible.
> >
> >                 Valeri
> >
> > > -----Original Message-----
> > > From: owner-roottalk@pcroot.cern.ch
> > [mailto:owner-roottalk@pcroot.cern.ch]
> > > On Behalf Of Rene Brun
> > > Sent: Friday, January 31, 2003 9:10 AM
> > > To: Axel Naumann
> > > Cc: GENTIT Francois-Xavier DAPNIA; 'roottalk@pcroot.cern.ch';
> > 'Langston,
> > > Matthew David'
> > > Subject: Re: [ROOT] Suggestion for official release of Root under
> > Visual
> > > C++.net
> > >
> > > Hi Matt,
> > >
> > > Thanks for sending your changes to the Makefile. I am surprised
> > > to see so many bugs in the MS .NET compiler.
> > >
> > > I imported most of your minor changes to the Makefile for the
cleanup
> > > process.
> > > I also took your changes to the Makefile.win32 and incorporated
the
> > same
> > > mods in Makefile.win32gdk.
> > >
> > > I did not take your patch for TTreeFormulaManager.h. I do not want
> > > to mess a class because of a MS compiler bug. I changed the
destructor
> > > to be public instead for all cases. (a pity)
> > >
> > > I did not take your mods to degrade the optimisation level when
> > compiling
> > > TStreamerInfo. Compiling this class with optimisation is very
> > important.
> > > We may introduce a case for Windows in general to compile this
class
> > > with no optmisation. To be discussed.
> > >
> > > Now in CVS.
> > >
> > > We do not intend to provide binaries in the short term (next few
> > weeks)
> > > for .NET. I encourage Axel in his suggestion to see if binaries
> > compiled
> > > under VC++6 work also in the .NET environment.
> > >
> > > Rene Brun
> > >
> > > Axel Naumann wrote:
> > > >
> > > > Hi,
> > > >
> > > > Do we need a dedicated .net binary? Or is it sufficient to have
the
> > code
> > > > patched such that it builds under .net and only have a vc6
binary
> > > > version? I believe we should first test whether the root vc6
> > binaries
> > > > work with .net (e.g. aclic needs to be tested); I don't know of
any
> > a
> > > > priori reason why that shouldn't work. Can someone do that? (I'd
> > > > volunteer to do this over the weekend, incorporating Matt's diff
> > into
> > > > current cvs sources, but maybe someone else is faster.)
> > > >
> > > > Cheers, Axel.
> > > >
> > > > GENTIT Francois-Xavier DAPNIA wrote:
> > > > >   Dear members of the ROOT team,
> > > > >   I am waiting upon ROOT being distributed for Visual C++.net
to
> > > install it
> > > > > on my PC. I see that it works, seing the message on ROOTTALK
by
> > > Matthew D.
> > > > > Langston. Do you intend to make a download version of ROOT for
> > Visual
> > > > > C++.net?
> > > > >
> > > > > François-Xavier Gentit
> > > > > DAPNIA/SPP CEA Saclay
> > > > > http://gentit.home.cern.ch/gentit/
> > > > >
> > > > >
> > > > >



This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:09 MET