GCC gfortran configure command line

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

GCC gfortran configure command line

rih5342
New user here running W10 + cygwin + gcc

This is my gcc configure command line.

Any comments to make it better.

../gcc-9.2.0/configure  --enable-languages=fortran,c++,c --prefix=/usr  
--with-gmp=/cydrive/c/cywin64/___packages/gmp/gmp-6.1.2-build  
--with-mpfr=/cydrive/c/cywin64/___packages/mpfr/mpfr-4.0.2build  
--with-mpc=/cydrive/c/cywin64/___packages/mpc/mpc-1.1.0-build  
--with-isl=/cydrive/c/cywin64/___packages/isl/isl-0.21-build  
--build=x86_64-pc-cygwin --host=x86_64-pc-cygwin --target=x86_64-pc-cygwin  
--enable-static --disable-shared --enable-bootstrap --enable-threads=posix
--enable-libquadmath --with-tune=generic    &>gcc_920_configure.txt  

Q1) Is it possible to make GCC work for both static and shared programs with
1 configure?

Q2) Do I need to worry about POSIX?

Q3) Do I need to worry about --prefix

Thank you.



--
Sent from: http://gcc.1065356.n8.nabble.com/gcc-fortran-f719652.html