[ROOT] Re: Making test example on win98

From: Anton Fokin (anton.fokin@smartquant.com)
Date: Mon Jan 22 2001 - 14:30:51 MET


Hi people,

Hmm, I've never looked into this problem either. I have used VC projects
when I worked on windows, but now I am trying to port my Linux things on NT.
The size of this package is of the ROOT order and includes libs and number
of bin files, etc. It is not convinient to convert it into VC projects. On
the other hand I can not push my users or people willing to download the
source and recompile it on windows to install and fight with cygwin.

So, what is the problem with nmake Makefile and why it can not be naturally
included in ROOT multiplatform install (Makefile.in i suppose)?

Regards,
Anton

----- Original Message -----
From: Dave Casper <dcasper@uci.edu>
To: Anton Fokin <anton.fokin@smartquant.com>; roottalk
<roottalk@pcroot.cern.ch>
Cc: Fons Rademakers <Fons.Rademakers@cern.ch>
Sent: Sunday, January 21, 2001 9:01 PM
Subject: RE: Making test example on win98


>
> Hi Anton,
>
> > well, I was using Makefile included in the test directory. Yes, I saw
> > Makefile.win32 in the same directory and I have tryied this one
> > too (and it
> > works somehow). Anyway, I suppose that if there is a Makefile in
> > the binary
> > distribution, it should be naturally related to this specific
> > version of the
> > distribution, so that a user can type nmake and get things compiled.
> > Moreover, there is "win32" portion of lines in the Makefile, so that I
> > assume this file is the correct one.
>
> The makefiles which come with the distribution are not for NMAKE, but for
> the version of GNU make which comes with the Cygwin (unix emulator)
package.
>
> > Anyway, what I need is a makefile which works on both linux and win32,
> > depending on a platform. Do we have such clever one? I am not win32/VC
> > expert, so that I would like to get my linux root programs easily
> > recompiled under win32. I thought I can use generic ROOT test Makefile
> > upper part for that... Can I?
>
> I think what you need to do is install Cygwin on your Windows system.  I
am
> not a Unix/Linux expert, so I actually build my own Root-based programs by
> creating a Visual Studio project for them and doing it "the Windows way".
I
> don't have experience, therefore, in using Cygwin make to build my own
> programs.  But to build Root itself, I'm afraid you need Cygwin because
> NMAKE won't work with the makefiles of the distribution.  You also need
> Cygwin to build other HEP packages like CLHEP and GEANT4 on Windows.
>
> If you are a Linux person, you will probably find it more familiar to work
> within Cygwin's bash-like shell anyway.
>
> You can get Cygwin at:
>
> http://sources.redhat.com/cygwin/
>
>
> Dave
> dcasper@uci.edu
>
>
>



This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:50:34 MET