[ROOT] RE: Making test example on win98

From: Dave Casper (dcasper@uci.edu)
Date: Sun Jan 21 2001 - 21:01:41 MET


	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