C Board  

Go Back   C Board > General Programming Boards > C Programming

Reply
 
LinkBack Thread Tools Display Modes
Old 10-26-2007, 11:08 PM   #1
Registered User
 
Join Date: Aug 2006
Posts: 90
can u help me wht this command means

hi this is my command

cc -I/usr/local/include/mysql prog.c -lmysqlclient -lsocket -lnsl -lm -lz

i know about mysqlclient and m means math.
but i don't know about socket,nsl,z.
can u tell my they all include.
thank u,
sree.
cnu_sree is offline   Reply With Quote
Old 10-26-2007, 11:30 PM   #2
Deathray Engineer
 
MacGyver's Avatar
 
Join Date: Mar 2007
Posts: 3,211
They are libraries. STW.
__________________
MacGyver is offline   Reply With Quote
Old 10-27-2007, 05:57 AM   #3
and the hat of Jobseeking
 
Salem's Avatar
 
Join Date: Aug 2001
Location: The edge of the known universe
Posts: 21,647
Eg
nm /usr/include/libz.a
would print all the symbols which that library would resolve.
__________________
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.

Salem is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
wht bout a triangle Nikisha C++ Programming 6 03-26-2003 01:37 PM


All times are GMT -6. The time now is 03:57 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22