Re: [ROOT] Compiling root with gcc3.1 at MacosX10.2.2

From: Rene Brun (Rene.Brun@cern.ch)
Date: Mon Nov 18 2002 - 08:13:10 MET


Hi Keisuke, Remi,

Your patch now in CVS

Rene

On Sat, 16 Nov 2002, Keisuke Fujii wrote:

> Hi Remi,
> 
> The library path to /sw/lib has indeed been missing.
> Probably we can move $(EXTRA_LDFLAGS) to the end of
> $(LDFLAGS), as you suggested. You don't need to put
> $(EXTRA_LDFLAGS) to $(SOFLAGS), since it will be
> overridden in makelib.sh. This has to be tested on
> 10.1.X, however.
> 
> Another solution is to the following patch. 
> Can you give it a try on your Fink platform?
> 
> ---<patch starts here>---
> --- 3.03.09b/config/Makefile.macosx.ORIG	Sat Oct 26 00:39:36 2002
> +++ 3.03.09b/config/Makefile.macosx	Sat Nov 16 18:42:45 2002
> @@ -41,9 +41,9 @@
>  SOEXT         = dylib
>  
>  # System libraries:
> -SYSLIBS       = -lm -ldl
> +SYSLIBS       = -lm $(EXTRA_LDFLAGS) -ldl
>  XLIBS         = $(XPMLIBDIR) $(XPMLIB) -L/usr/X11R6/lib -lX11
> -CILIBS        = -lm -ldl
> +CILIBS        = -lm $(EXTRA_LDFLAGS) -ldl
>  
>  # Fortran:
>  F77           = g77
> ---<patch ends here>---
> 
> --
> Sincerely yours,
> Keisuke Fujii
> 
> 



This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:51:18 MET