Hi! It might be something a bit unusual, but I think it makes (at least some) sense... I would like to create a static binary but nevertheless link to one ".so" (in a perfect world, I would prefer it to be fully static, but this one a commercial library for which there is no static version). Using '-static' doesn't seem to be an option, as it complains that this commercial library has not corresponding ".a". BTW, this is something lf95 handles smoothly ("--[n]staticlink static link LF95 run-time only, dynamic link system"). I've been trying to fiddle with the linker options, but I haven't been successful: can anyone suggest anything? Thanks! Philippe PS: I'm using pinguin7 /usr/people/philippe> gfortran -v Using built-in specs. Target: i686-pc-linux-gnu Configured with: /USER/philippe/Irix/Gcc_Sources/configure --prefix=/usr1/MICRESS/Philippe/Tools/Gcc --enable-languages=c,fortran --disable-maintainer-mode --with-mpfr=/usr1/MICRESS/Philippe/Tools/Mpfr --with-gmp=/usr1/MICRESS/Philippe/Tools/Gmp Thread model: posix gcc version 4.2.0 20060502 (experimental)