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]
Other format: [Raw text]

Re: standard libraries are linked statically or dynamically?


On 25 December 2010 09:59, ali hagigat <hagigatali@gmail.com> wrote:
> When we use some functions like printf in Linux C programs, libc.a is
> linked with our program. Is it linked dynamically or statically?
> Regards
>

You could probably google that but its static i am fairly sure you
could always do gcc -v to see whats going on and try -nostdinc i think
the option is to not do the standard includes.

Hope this help! Now back to Christmas ;)

--Phil


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