This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Static/Dynamic Linking
- To: gcc-help at gcc dot gnu dot org
- Subject: Static/Dynamic Linking
- From: "Antoine PERNIN" <a_pernin at hotmail dot com>
- Date: Wed, 16 May 2001 09:38:35
Hi,
This is not really a problem but i need some explanations :
I have 2 am-elf gcc compilers working :
*One that i built myself using your help, generates statically linked
executable files,
*One that i downloaded from the Lart project webpage, generates dynamically
linked executable files,
I use exactly the same command lines for both to compile, so here is my
question :
How can i obtain dynamically linked prg with my own compiler?? (because i
guess it is the best way to link, no?)
Is it an option i missed during the compilation of gcc or is it an option i
can add when i want ot compile a prg?
I read the gcc manual, i found an option -static to optain statically linked
exe, so appaently it should be the default...
Could u explain me, please ?
Thanks in advance
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.