> > GCC defaults to dynamic linked library if a .so (shared object) for the > respective library is available under the path. However if it doesn't find > it, it will statically link your program with the .a (a out) file. > > search mandb or Google for more information on dynamic linking. > > PS: consider trimming your signature. > > > I just google dynamic linking and find out on ubantu man pages regarding -I,*-l* Library mode. Manually link individual libraries.Instead of using -L and -l we can simply use -I along with the path for library or simply if we copy the perticular library to the library folder of the gcc than i think there is no need of linking ,we can simply include the library and use its code.
- -- Mailing list guidelines and other related articles: http://lug-iitd.org/Footer
