Re: [ROOT] Cygwin setup to install ROOT in Windows

From: Valeri Fine (fine@bnl.gov)
Date: Tue May 22 2001 - 18:57:49 MEST


> Hi Valeri et al, 
> 
> > Hello team, can you add a few lines to your page:
> > http://root.cern.ch/root/Cygwin.html
> 
> Uh, is this using the configure option "win32" or "win32egcs"? That
> is, are we usng the Micros**t (Un)Visual C++ compiler/linker or is it
> using GCC?  

  The page itself may work for either choice. 
 
> Last time I tried to compile ROOT using Cygwin GCC, I got loads of
> errors regarding missing functions (especially in the CINT code,
> though it may not be Masa's problem) - one I can remember of the top
> of my head was "unlink".  

     It is Makefile file problem 

> So the question really is: Can ROOT be compiled with Cygwin GCC now? 

 
> Having said that, Valeri is right; cygdrive is only for last-resort
> stuff.  Valeri, do you know if cygdrive is really a Translator, like
> in GNU/Hurd?  It looks a bit like it is, and it would make sense too. 

   Hmm. as far as I know Cygwin staff is compiled with "gcc"
   and linked with gcc run-time library against of the special Cygwin DLL.
   
   All "UNIX-Windows" and "Windows - UNIX" mapping (this means all I/O) 
   is provided by that DLL at run-time. The user code, including Cygwin utilites 
   commuinicate Windows via that  DLL.
 
> What would be really need was to be able to compile ROOT with Cygwin
> GCC (since that means we could compile our analysis software using GCC
> and Autotools - well almost).  

 As Fons has explained this  entails Cygwin must be present at Run-time, this means
 ROOT team has to provide it somehow. According http://www.cygwin.com/licensing.html
 this entails:

          ". . .  unless you modify the tools so that compiled executables 
           do not make use of the Cygwin library, your compiled programs will also 
            have to be free software distributed under the GPL with source code 
           available to all. "

 "Native" basic ROOT is about 10 Mb of DLL's, Cygwin takes about 135 Mb.
 and such ROOT will communicate the Windows system via extra Cygwin layer, so
 it must be slower and takes extra resource.
 Another issue "Fortran compiler" and CERNLIB etc etc etc.
 
                    With my regards,  Valeri



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