This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Static/Dynamic Linking


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]