If option -shared is selected, will it automatically generate as PIC, or do you have to also specify -fPIC?
When I used gfortran, it was -shared only on windows, on linux both options: -shared and -fPIC.
Was obtained empirically.
If option -shared is selected, will it automatically generate as PIC, or do you have to also specify -fPIC?
When I used gfortran, it was -shared only on windows, on linux both options: -shared and -fPIC.
Was obtained empirically.