[SOLVED] How to make static executable of abinit 6.0.3 ?
Posted: Thu May 13, 2010 3:36 pm
Hi,
In the days of version 5.X, I used to produce a static executable, as follows:
$ setenv LDFLAGS "-static"
$ ./configure --disable-etsf_io --disable-libxc --disable-netcdf --disable-bigdft --disable-wannier90
$ make
# make install
But with 6.0.3, the configure ends with error:
=================================
=== C support
=================================
checking for gcc... gcc
checking for C compiler default output file name...
configure: error: in `/home/myhome/Desktop/Research/Abinit/Software/abinit-6.0.3':
configure: error: C compiler cannot create executables
See `config.log' for more details.
The config.log file doesn't tell me much. Its last line is:
configure: exit 77
Can somebody tell me how to get the static executable with 6.0.3?
Thank you!
Rob.
In the days of version 5.X, I used to produce a static executable, as follows:
$ setenv LDFLAGS "-static"
$ ./configure --disable-etsf_io --disable-libxc --disable-netcdf --disable-bigdft --disable-wannier90
$ make
# make install
But with 6.0.3, the configure ends with error:
=================================
=== C support
=================================
checking for gcc... gcc
checking for C compiler default output file name...
configure: error: in `/home/myhome/Desktop/Research/Abinit/Software/abinit-6.0.3':
configure: error: C compiler cannot create executables
See `config.log' for more details.
The config.log file doesn't tell me much. Its last line is:
configure: exit 77
Can somebody tell me how to get the static executable with 6.0.3?
Thank you!
Rob.