Problem 121 - gmake libc only makes archive lib
Summary: gmake libc only makes archive lib
Status: RESOLVED FIXED
Alias: None
Product: Geant4
Classification: Unclassified
Component: g3tog4 (show other problems)
Version: 2.0
Hardware: All All
: P2 enhancement
Assignee: Gabriele Cosmo
URL:
Depends on:
Blocks:
 
Reported: 2000-07-05 04:22 CEST by Isidro.Gonzalez
Modified: 2000-07-27 05:24 CEST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this problem.
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.