Re: [ROOT] Making test example on win98

From: Valeri Fine (Faine) (fine@bnl.gov)
Date: Mon Jan 22 2001 - 19:34:39 MET


Hello, Anton

> 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?

It is not MAKE issue. You can download the GNU make from the Web and 
compile it with VC to get the "Windows" version of GNU make.
Usually this doesn't help much by simple reason. No clever make can provide 
the job along.

What one uses is the combination of 
             "make" + "some shell script" 
at least

Make is a tool to run some "shell" commands in the proper order to manage the software
project. If your makefile relies on the Born-shell, TCSH etc etc then you have to 
make sure you have all of these shells available for all kind of platforms you 
are working on.

 So the MAIN issue is NOT about how to get the clever "make" rather where to find 
 the good "SHELL".

If you need a makefile which works on both Linux and win32 no clever make helps.
You need the clever SHELL tool.

By this reason myself prefers the tool which is all-in-one and can be installed for both
kind of platforms. For example "Perl" scripts work  well and do not rely on any
external shell.

See:  http://www.baldmt.com/cons/



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