Programming Forums

Programming Forums (http://www.programmingforums.org/forumindex.php)
-   C++ (http://www.programmingforums.org/forum15.html)
-   -   dynamic libraries? (http://www.programmingforums.org/showthread.php?t=12403)

rwm Jan 18th, 2007 8:33 AM

dynamic libraries?
 
hi,

the last of my 3 most important questions!

how can i create libraries?

im confused as to what libraries are in linux, i.e.

what is a windows static library (*.lib) in linux? is it a *.o file created using

[code]
g++ -c prog prog.cpp
[\code]

what is a windows dynamic library (*.dll) in linux?

how do i create static and dynamic libraries using g++??? or gcc??

hope you can help me out here!

ta!

Klarre Jan 18th, 2007 8:39 AM

I can answer your first question. A static library is a *.a file (archive i guess). A dynamic library is usually a *.so file (shared object).

Arevos Jan 18th, 2007 8:49 AM

There's some information here on how to create libraries on Linux. Use Google, and you should be able to find additional info.

rwm Jan 18th, 2007 9:40 AM

hey tx guys!

shizweet!!!!


All times are GMT -5. The time now is 2:00 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC