FW: Command-line arguments with Root 2.21/08 under NT

From: Valery Fine (Faine) (fine@bnl.gov)
Date: Sat Apr 17 1999 - 01:00:47 MEST


-----Original Message-----
From: Valery Fine (Faine) [mailto:fine@bnl.gov] 
Sent: Friday, April 16, 1999 6:58 PM
To: Matthew D. Langston
Subject: RE: Command-line arguments with Root 2.21/08 under NT


> A Makefile for WinNT would be helpful simply to know:
> 
>   1) Which source files go into which libraries.
> 
>   2) The order of the libraries on the link line for use when linking
>      the ROOT libraries with other shared libraries and executables.
> 
>   3) Which, if any, source files and/or libraries are conditionally
>      built, and under what circumstances they are conditionally built.
> 
> If you have the Microsoft Developer Studio project files, then that
> would be useful, as I could just peak inside of them to learn about
> ROOT's project structure under WinNT.  Would you mind sending these to
> me if you have them?  Thank you.
>

  I have no Microsoft Project to build entire ROOT.

  But I assume you have got a makefile for some UNIX platform.

  If it is true this means:

   1. you have known the answer of  your first  question. Namely:
     all PREFIX_*.cxx sources go to
                lib<PREFIX>.so 
    on UNIX
    or        root_<PREFIX>.dll
    on Windows 

   2. What about second one it is quite easy to reply since for MS NT linker
       it makes no sense, The libraries can go either order. From another hand
       WIN32 DLL is never linked against of another DLL or executable.
       It is linked against of the "export" libraries only.

   3. The source files WIN32_*.cxx and WINNT_*.cxx are conditionally built 
       as well as UNIX_*.cxx and X11_*.cxx.
       I believe the reason is clear.

   I have to repeat  all compilation / linker options one may find within very 
  "Makefile" that I provided for Windows NT.

         Did you see this file ? What is not clear for you in there ?
  
  I agree the "Makefile" is useful but to build it the makefile builder
  has to penetrate  root.cmz at once.

                                                 Valery



This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:43:31 MET