brat revised to allow Darwin build

From: Stephen Sanders (ssanders@ku.edu)
Date: Sun Sep 08 2002 - 16:24:31 EDT

  • Next message: Djamel Ouerdane: "Re: brat revised to allow Darwin build"

    Hi,
    I've just committed a number of changes to the CVS that allow brat to
    be built on Darwin systems (Macintosh OSX).  I've bumped the revision
    and tagged the cvs to 2.4.5.
    
    To get brat running under Darwin has required several changes:
    
    All Makefile.am files that build libraries have a conditional checking 
    for
    a darwin build.  If so, a separate module library (.so) is generated in 
    addition
    to the shared link library (.dylib).
    
    A conditional definition has been set for ONL_darwin (following the 
    ONL_unix and
    ONL_winnt examples).  For a darwin build, it has been found necessary to
    explicitly load some of the brat libraries in bratmain and bratroot.  I 
    have posted
    to roottalk (with Christian's help) a request to see if there is a way 
    to avoid the
    explicit calls to gSystem->Load(), but so far no one has suggested a 
    solution.
    
    The Makefile.am files for bratmain and bratroot have been modified to 
    allow
    for a darwin build.
    
    With one exception, the changes should be transparent to anyone not 
    running
    on a darwin system.  The exception (that I know of) is that
    modules/track/combine/BrFsTrackingModule has been removed from the
    libcombine.la  library.  This was discussed earlier on this list:  The 
    problem is that
    darwin is not case sensitive and there is already a BrFSTrackingModule.
    
    Regards,
    Steve
    



    This archive was generated by hypermail 2b30 : Sun Sep 08 2002 - 16:25:07 EDT