whizard is hosted by Hepforge, IPPP Durham

Opened 15 years ago

Closed 14 years ago

#365 closed enhancement (fixed)

Enable completely static build

Reported by: kilian Owned by: kilian
Priority: P3 Milestone: v2.0.5
Component: configure Version: 2.0.3
Severity: normal Keywords:
Cc:

Description

The libtool mechanism allows for building both dynamically and statically linked versions of the executable. The statically linked version is not necessarily complete, i.e., ALL external libraries should be linked statically, including the Fortran runtime. Check this and enable it where necessary.

A fully static build is also necessary for reliable profiling.

Change History (6)

comment:1 Changed 14 years ago by Juergen Reuter

What is the connection of this w.r.t. to the --enable-fc-static flag introduced in r2995?

comment:2 Changed 14 years ago by kilian

Owner: changed from ALL to kilian
Status: newassigned

Thanks Juergen, I didn't remember that there is this ticket.

The option --enable-fc-static (together with an executable generated in the Sindarin file:

compile as "..."

now generates a static build. It is not COMPLETELY static, since it doesn't include static Fortran and C libraries. I'll check, leaving the ticket open for now.

comment:3 Changed 14 years ago by Juergen Reuter

Milestone: v2.1.0v2.0.5

comment:4 Changed 14 years ago by Juergen Reuter

Milestone: v2.0.5v2.0.6

comment:5 Changed 14 years ago by Juergen Reuter

Milestone: v2.0.6v2.0.5

After discussion with Wolfgang moving back to 2.0.5.

comment:6 Changed 14 years ago by kilian

Resolution: fixed
Status: assignedclosed

Changes in r3076:

  • Removed option --enable-fc-static, it didn't make much sense.
  • Enabled the test 'static.run', was missing due to a typo
  • The executable created by 'compile as ...' now generates an executable that contains all libtool libraries statically, including HepMC and LHAPDF (if enabled)
  • It does not include the Fortran and C++ runtime libraries, these have to be installed on the target system.

Unless a build which includes the Fortran and C++ runtimes is really needed, the issue is settled. Closing the ticket.

Note: See TracTickets for help on using tickets.