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

From: Remi Mommsen (remi.mommsen@gmx.net)
Date: Mon Nov 18 2002 - 04:39:58 MET


Hi Keisuke,

On Saturday, November 16, 2002, at 01:55  AM, 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>---

This patch works fine on my fink platform.

Thanks a lot and best regards

Remi


---------------------------------------------------------------------
"What're quantum mechanics?"
"I don't know. People who repair quantums I suppose."
                                   (Rincewind, Terry Pratchett "Eric")

*********************************************************************
Remigius K. Mommsen                 e-mail: mommsen@slac.stanford.edu
University of California, Irvine       URL:    http://cern.ch/mommsen
c/o SLAC                             voice:        ++1 (650) 926-3595
2575 Sand Hill Road #35             mobile:        ++1 (650) 387-1402
Menlo Park, CA 94025, US               fax:        ++1 (650) 926-8522
*********************************************************************



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