g77 executables

Janne Blomqvist blomqvist.janne@gmail.com
Wed Aug 22 13:48:00 GMT 2007


On 8/22/07, Granville Sewell <sewell@math.utep.edu> wrote:
> I compiled a program using g77 on my SUSE Linux PC, and someone tried to
> run it on another Linux PC, and got the message "error while loading
> shared libraries: libg2c.so.0: cannot open shared object file: No such file"
> Does that mean it is impossible to run executables created by g77 on
> a system that doesn't have g77 installed, or is there a g77 switch that
> will include the required object file (as done by some other compilers)?

'-static'.

-- 
Janne Blomqvist



More information about the Fortran mailing list