re: g77 option for not allow dynamic libraries

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



 
[bdavis@gfortran ~]$ cat a.f
       print*,'hello'
       end
[bdavis@gfortran ~]$ g77 a.f
[bdavis@gfortran ~]$ ldd a.out
        libg2c.so.0 => /usr/lib/libg2c.so.0
(0x004ce000)
        libm.so.6 => /lib/tls/libm.so.6 (0x00448000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1
(0x00725000)
        libc.so.6 => /lib/tls/libc.so.6 (0x0031c000)
        /lib/ld-linux.so.2 (0x002ff000)
[bdavis@gfortran ~]$ g77 -static a.f
[bdavis@gfortran ~]$ ldd a.out
        not a dynamic executable


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux