Is C standard library function(ex.prinf, scanf) treated as static library function or dynamic library function?
Is C standard library function(ex.prinf, scanf) treated as static library function or dynamic library
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
it depends on how you link your program. you can go both ways. On VS, you can specify either
/MT(static) or/MD(dynamic). On gcc, you can specify-static-libgccflag to link your program against the static library.Refer to http://gcc.gnu.org/onlinedocs/gcc/Link-Options.html for more info on gcc flags and http://msdn.microsoft.com/en-us/library/abx4dbyh(v=vs.80).aspx for VS.