Static/Dynamic Linking

Antoine PERNIN a_pernin@hotmail.com
Wed May 16 02:38:00 GMT 2001


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 .



More information about the Gcc-help mailing list