Developing a server
Laurent Pinchart
laurent.pinchart@capflow.com
Fri Apr 5 00:56:00 GMT 2002
>
>
>For example once I tried to include the netdb.h header file
>in a 'C' program and tried to use several of its functions,
>but at compile time I got several errors.
>
If you posted the exact error message, with a few lines of code, we
might help you.
>This leads me to believe that I have to pass certain compiler
>and linker options while compiling the program, just as
>you do -lvga or -lvgagl while trying to use the vga.h
>header file in a 'C' code.
>
No you don't. The socket API is part of the standard C library, which is
linked by default.
>I am not getting much of documentation on how to
>use GCC. Most of the time I have to rely on the
>mailing list.
>
What about info gcc, or the gcc web page ?
>IF ANYONE CAN POINT OUT A GOOD DOCUMENTATION INCLUDING
>WHAT COMPILER AND LINKER OPTIONS TO PASS WHILE USING
>SPECIFIC HEADER FILES, I promise I wont show my face
>here again unless I am in really serious trouble.
>
No need to shout. If you ask good questions you'll get good answers.
This mailing list is about help on gcc. You are free (and welcome) to
post here if you have a gcc related problem.
>Sorry for the long-winded story here.
>
No problem.
Laurent Pinchart
PS: Read this: http://www.tuxedo.org/~esr/faqs/smart-questions.html (no
offense intended, it's a very helpful document for people who need help
and look for it on mailing lists).
More information about the Gcc-help
mailing list