On Thu, Apr 06, 2000 at 01:56:19PM -0400, Karthik Vishwanath wrote:
> Sorry for being off topic.
>
> Is there any online or downloadable C reference manual for linux?
Yeah:
http://www.linuxdoc.org/LDP/lpg.html.tar.gz
but it's only ok. Not great, but fairly useful.
>I need
> to start coding and will surely need a reference. The majority of C coding
> I did was for dos. Is there a lot of difference in using C for linux?
Some.. If you are accustom to ANSI C and the ANSI C libraries,
glibc implements all of these, and gcc will act as an ANSI C
compiler if you give it the switches "-Wall -ansi -pedantic".
However, there are also differences having to do with coding on
UN*X. I believe dos has no concept of signals, probably no
file descriptors, and some other differneces that don't come
to mind right now.
>Is
> there any good documentation for compiling, linking, creating/using
> libraries and debugging?
The info pages for gcc, glibc, and gdb are pretty good.
You might look at ddd if you like graphical debugging interfaces.
Emacs also has a decent gdb mode.
I would suggest books. O'reilly's "POSIX programmers guide" by
Donald Lewine is pretty useful. I also like "C: A refernce manual"
(sorry the author slips my mind), and I also reference
"Advanced UNIX programming" by Marc J. Rochkind a lot. You can
often pick up editions that are one or two old for cheap at used
book stores ( around here at least ). Oh there's also
http://www.oreilly.com/catalog/prognu/
"Programming with GNU software"
that will take you through gcc, gdb, make and some others (rcs).
I can't remember all what else.
hope this helps,
greg
--
military intelligence. portable C.
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.linux-learn.org/faqs