static executable problem: 6.0.3 vs. 6.2.1

option, parallelism,...

Moderators: fgoudreault, mcote

Forum rules
Please have a look at ~abinit/doc/config/build-config.ac in the source package for detailed and up-to-date information about the configuration of Abinit 8 builds.
For a video explanation on how to build Abinit 7.x for Linux, please go to: http://www.youtube.com/watch?v=DppLQ-KQA68.
IMPORTANT: when an answer solves your problem, please check the little green V-like button on its upper-right corner to accept it.
Locked
spamrefuse
Posts: 35
Joined: Wed Jan 20, 2010 3:08 am

static executable problem: 6.0.3 vs. 6.2.1

Post by spamrefuse » Wed Jul 21, 2010 3:39 pm

Hi,

I had the configure options set up for creating a static executable with version
6.0.3 (and I've double checked that they still work now), but the same configure
options do not create a static executable with 6.2.1.

See also my last posting to this thread:

http://forum.abinit.org/viewtopic.php?f=3&t=311

What has changed with respect to this between version 6.0.3 and 6.2.1 ?
The configure script itself has changed a very lot, so it's difficult
to quickly see where the static stuff has been modified.....

Thank you!
Rob.

spamrefuse
Posts: 35
Joined: Wed Jan 20, 2010 3:08 am

[Solved] Re: static executable problem: 6.0.3 vs. 6.2.1

Post by spamrefuse » Mon Jul 26, 2010 5:46 am

Although LDFLAGS="-static" worked for 6.0.4, it does not anymore for 6.2.1.
Instead use FC_LDFLAGS="-static".

R.

Locked