Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Jan 18th, 2007, 7:33 AM   #1
rwm
Professional Programmer
 
Join Date: Jan 2007
Location: Cape Town
Posts: 291
Rep Power: 2 rwm is on a distinguished road
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!
rwm is offline   Reply With Quote
Old Jan 18th, 2007, 7:39 AM   #2
Klarre
Game engine designer
 
Klarre's Avatar
 
Join Date: May 2005
Location: Sweden
Posts: 301
Rep Power: 4 Klarre is on a distinguished road
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).
__________________
http://www.klarre.se
Klarre is offline   Reply With Quote
Old Jan 18th, 2007, 7:49 AM   #3
Arevos
Programming Guru
 
Arevos's Avatar
 
Join Date: Aug 2005
Location: England
Posts: 1,499
Rep Power: 5 Arevos is on a distinguished road
There's some information here on how to create libraries on Linux. Use Google, and you should be able to find additional info.
Arevos is offline   Reply With Quote
Old Jan 18th, 2007, 8:40 AM   #4
rwm
Professional Programmer
 
Join Date: Jan 2007
Location: Cape Town
Posts: 291
Rep Power: 2 rwm is on a distinguished road
hey tx guys!

shizweet!!!!
rwm is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Dynamic Flash Map matthewvb Paid Job Offers 0 Dec 4th, 2006 11:59 PM
Questions about extra Sound and Graphics libraries Soulstorm C++ 2 May 15th, 2006 10:42 AM
How to meet these cross-platform project goals? mattengland C++ 1 Apr 3rd, 2006 4:01 AM
Dynamic memory - variables darkone916 C++ 4 Dec 7th, 2005 6:24 AM
static class members and libraries (linking question) earl C++ 2 Jun 22nd, 2005 5:21 PM




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 11:45 PM.

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