can u help me wht this command means

This is a discussion on can u help me wht this command means within the C Programming forums, part of the General Programming Boards category; 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 ...

  1. #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.

  2. #2
    Deathray Engineer MacGyver's Avatar
    Join Date
    Mar 2007
    Posts
    3,211
    They are libraries. STW.

  3. #3
    and the hat of wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,442
    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.
    If at first you don't succeed, try writing your phone number on the exam paper.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. wht bout a triangle
    By Nikisha in forum C++ Programming
    Replies: 6
    Last Post: 03-26-2003, 12:37 PM

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