rimez <[EMAIL PROTECTED]> writes:

> 
> 
> Does anyone know where I can find info on making statically linked binaries?
> thanks,
> rimez

man gcc

       -static
              On systems that support dynamic linking, this  pre-
              vents  linking with the shared libraries.  On other
              systems, this option has no effect.
man ld

       -Bstatic
              Do not link against shared libraries.  This is  only
              meaningful on platforms for which shared libraries are
              supported.

(the info files give more detail)  Basically depending on whether the
makefile uses gcc or ld to link, you need to add the above to the
options.

Hope this helps.
--
To get out of this list, please send email to [EMAIL PROTECTED] with
this text in its body: unsubscribe suse-linux-e
Check out the SuSE-FAQ at http://www.suse.com/Support/Doku/FAQ/ and the
archive at http://www.suse.com/Mailinglists/suse-linux-e/index.html

Reply via email to