best gcc instruction book

This is a discussion on best gcc instruction book within the C Programming forums, part of the General Programming Boards category; Hello all, I've been learning C from a couple of different books. (Teach yourself C for Linux Programming in 21 ...

  1. #1
    Registered User
    Join Date
    Feb 2005
    Posts
    19

    best gcc instruction book

    Hello all,

    I've been learning C from a couple of different books.
    (Teach yourself C for Linux Programming in 21 Days and C Programming
    in Easy Steps)

    I'm compiling using gcc v 3.3.1 on Mandrake 9.2.

    I need to learn much much more about using gcc as I recently tried to recompile a kernel module (visor.c) with a command line sequence that I barely
    understood. (I got the -o visor.o part)

    Can anyone reccommend a good text book or books on how to use gcc for a novice (apart from the "man" pages, of course)?

    Thanks

  2. #2
    customized user title!
    Join Date
    Mar 2005
    Posts
    24

  3. #3
    Gawking at stupidity
    Join Date
    Jul 2004
    Location
    Oregon, USA
    Posts
    3,175
    Are you looking for something as in-depth as this?
    http://www.amazon.com/gp/product/pro...=UTF8&n=283155

    A lot of the options that you don't understand are probably just for optimization. I've never read this book, but it looks like it gets into the stuff you'd like.
    If you understand what you're doing, you're not learning anything.

  4. #4
    Registered User
    Join Date
    Feb 2005
    Posts
    19

    thanks

    Thanks.

    Those were good starting points. I'll track further reviews/prices etc.

    Must limit the total yards/pounds of books on Linux!

    All further recommendations are appreciated.

  5. #5
    Registered User
    Join Date
    Apr 2004
    Posts
    173
    If you just want to know enough to compile programs with a few options here and there take a look at both (which provide a brief intro at best):

    http://cslibrary.stanford.edu/107/Un...mmingTools.pdf
    http://www.advancedlinuxprogramming.com/alp-folder

    Otherwise you could always read the man pages by typing man gcc. Alternatively you could also use info gcc for the user manual for more info regarding language standards and extensions.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Simulator
    By MasterAchilles in forum C Programming
    Replies: 10
    Last Post: 11-30-2008, 10:31 PM
  2. Quick Compilation Question
    By chacham15 in forum C Programming
    Replies: 10
    Last Post: 10-12-2008, 09:15 PM
  3. a phone book program
    By mackieinva in forum C Programming
    Replies: 2
    Last Post: 09-19-2007, 07:31 AM
  4. Replies: 5
    Last Post: 09-19-2004, 07:52 AM
  5. Must read book!
    By RealityFusion in forum A Brief History of Cprogramming.com
    Replies: 7
    Last Post: 07-15-2004, 10:05 PM

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