Message: Re: Link problems on Mac Intel/Leopard Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: Link problems on Mac Intel/Leopard 

Keywords: Linking, Mac, leopard, architecture
Forum: Installation and Configuration
Re: None Link problems on Mac Intel/Leopard (Serena)
Re: Question Re: Link problems on Mac Intel/Leopard (Gabriele Cosmo)
Date: 07 Mar, 2008
From: Serena <Serena>

Well, I'm a beginner, and I'm maybe making big mistakes, but I installed G4 from scratch on my machine, so I can't imagine how the Geant4 libraries could have been generated on a different system architecture This is the makefile I'm using:

# --------------------------------------------------------------
# GNUmakefile
# --------------------------------------------------------------

name := xx25_js2 G4TARGET := $(name) G4EXLIB := true

ifndef G4INSTALL
   G4INSTALL = /Applications/geant4.9.0
endif

ROOTCFLAGS = $(shell root-config --cflags) ROOTLIBS = $(shell root-config --libs) #ROOTGLIBS = $(shell root-config --glibs)

EXTRALIBS +=$(ROOTLIBS) #EXTRALIBS +=$(ROOTGLIBS) EXTRALIBS +=$(CLHEPLIBS)

CPPFLAGS += $(ROOTCFLAGS)

.PHONY: all

all: lib bin

include $(G4INSTALL)/config/binmake.gmk

Thanks a lot, S.

Inline Depth:
 1 1
 All All
Outline Depth:
 1 1
 2 2
 All All
Add message: (add)

1 Question: Re: Link problems on Mac Intel/Leopard   (Gabriele Cosmo - 07 Mar, 2008)
(_ None: Re: Link problems on Mac Intel/Leopard   (Serena - 14 Mar, 2008)
(_ Question: Re: Link problems on Mac Intel/Leopard   (Gabriele Cosmo - 25 Mar, 2008)
(_ None: Re: Link problems on Mac Intel/Leopard   (Serena - 25 Mar, 2008)
(_ Question: Re: Link problems on Mac Intel/Leopard   (Gabriele Cosmo - 25 Mar, 2008)
(_ None: Re: Link problems on Mac Intel/Leopard   (Serena - 28 Mar, 2008)
(_ Feedback: Re: Link problems on Mac Intel/Leopard   (Gabriele Cosmo - 28 Mar, 2008)
 Add Message Add Message
to: "Re: Link problems on Mac Intel/Leopard"

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews


[ Geant 4 Home | Geant 4 HyperNews | Search | Request New Forum | Feedback ]