----- Original Message ----- From: Radovan Chytracek <Radovan.Chytracek@cern.ch> To: Sylvain HEILLIETTE <heilliet@labs.polycnrs-gre.fr> Cc: <roottalk@pcroot.cern.ch> Sent: 3 мая 2000 г. 13:54 Subject: Re: [ROOT] Root and cygnus ? > Sylvain HEILLIETTE wrote: > > > > Hello, > > > > I'm tryng to use the ROOT libraries on a Windows 95 system. > > My goal is to compile a data analysis software which was developped > > under linux using Root libraries. > > > > My question is : > > > > How is it possible to compile such a program with gcc under the > > cygnus UNIX emulation for Windows (cygwin b20) ? > > > > Is it more simple to use the Visual C++ compiler ? > > I think that problem sits in the fact that ROOT relies on shared libraries. > Using MSVC++ on Windows platforms is possible to build these without > problems. > The same is for Linux or other U**x operating systems using GNU C++ or their > native compilers. > Problem of Cygwin on Windows is that to build the shared libraries on this > platform using GNU C++ is not that easy. AFAIK this process is pretty > complicated. The original question was about whether one can combine the existent VC++ compile ROOT DLLs with homemade gcc -compiled ones altogether. I'd like to mention it is always the question whether one can combine object codes compiled by two different compilers (no matter which platform we are speaking about: Unix, Win32, VMS, Cray what ?) It is even question whether one can mix the codes compiled by different versions of one and the same compiler (let's say gcc) Usually it too complicate to try (for either platform !) > That's probably the main reason why ROOT is not built on Windows in the > environment of Cygwin32. What about the "pure" CygWin32 version of ROOT. Very likely it will work. But CygWin involves one extra "UNIX" layer between the user's application and the native operating system. This means under CygWin one can use WIN32 as much as Cygnus allows. Since the primary Cygnus goal was to port the UNIX application to Windows they do not care much to provide the access to the "native" Windows features those were no use or were not available under UNIX. Myself thinks if one needs very UNIX layer one should use UNIX rather Windows. Coming back to the original question: > > Is it more simple to use the Visual C++ compiler ? I think it is only reliable way at the moment. Valery
This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:24 MET