Problem 121

Summary: gmake libc only makes archive lib
Product: Geant4 Reporter: Isidro.Gonzalez
Component: g3tog4Assignee: Gabriele Cosmo <Gabriele.Cosmo>
Status: RESOLVED FIXED    
Severity: enhancement CC: Ivana.Hrivnacova
Priority: P2    
Version: 2.0   
Hardware: All   
OS: All   

Description Isidro.Gonzalez 2000-07-05 04:22:21 CEST
When executing 'gmake libc' only the archive library is made independent on the
value of G4MAKESHLIB. A possible solution is to edit the GNUMakefile in this
category and change line 122 from:

libc : $(G4LIBDIR)/lib$(name).a

to:

libc : $(G4LIBDIR)/lib$(name).$(SHEXT)

Then SHEXT should be set to [a/so/sl] depending on the architecture, etc...
Comment 1 Gabriele Cosmo 2000-07-27 05:23:59 CEST
This has been actually fixed in the following way, in order to take
into account also non shared libs builds:

lib: libc libF

ifneq ($(G4MAKESHLIB),)
libc : $(G4LIBDIR)/lib$(name).$(SHEXT)
else
libc : $(G4LIBDIR)/lib$(name).a
endif

The fix is available in tag g3tog4-V02-00-02 and will appear in a patch
for release 2.0.