If I'm not mistaken, when using --enable-bindings at configure time, the option -fPIC was added automatically for 64bits GCC compiler, which is good.
But it seems to me that's it's not the case anymore in my 6.1.2. Is it true ? Has it been removed for a specific reason ?
-fPIC missing in 6.1.2
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.
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.
Re: -fPIC missing in 6.1.2
Ahem! I would rather say that it has been left unmaintained.
Do you specify FCFLAGS yourself?
Do you specify FCFLAGS yourself?
Yann Pouillon
Simune Atomistics
Donostia-San Sebastián, Spain
Simune Atomistics
Donostia-San Sebastián, Spain
Re: -fPIC missing in 6.1.2
Found it! Bindings require --enable-exports, which was not activated automatically anymore. This happened because I changed the order of a few critical steps.
Now fixed in my 6.1.2 branch. Enjoy!
Now fixed in my 6.1.2 branch. Enjoy!
Yann Pouillon
Simune Atomistics
Donostia-San Sebastián, Spain
Simune Atomistics
Donostia-San Sebastián, Spain