Probably a stupid newbie question.

Discussion in 'C Programming' started by Mark Healey, Feb 7, 2004.

  1. Mark Healey

    Mark Healey Guest

    I've been through a couple of C tutorials and have the basic language
    figured out. What I don't understand and isn't covered in any of them
    is make and linking.

    I have a vague notion of what they are but no real understanding, or
    even the syntax of the language in a Makefile.

    Can anyone recommend a tutorial that covers these, online or paper?
    Mark Healey, Feb 7, 2004
    1. Advertisements

  2. Mark Healey

    Mike Wahler Guest

    Because neither of those are part of the C language.
    A 'makefile's 'language' will differ among 'make' utilites.
    See the documentation for the one(s) you use.

    A 'linker' is a (platform-specific) utility that 'links' together
    the resulting 'object code' from compiling more than one translation unit.
    See the documentation for the one(s) you use.
    There cannot be a single 'tutorial' about 'makefiles' or 'linkers',
    since each one will be different.

    Here's a link to the "C FAQ":

    Mike Wahler, Feb 7, 2004
    1. Advertisements

  3. Mark Healey

    Dan Pop Guest

    You guessed right: it was a stupid question. These are not features of
    the language itself and, therefore, they are heavily system and
    even implementation dependent.

    If you want to use a Windows system, what good would be to you a tutorial
    dedicated to Unix or MacOS C programmers? Furthermore, even on Windows,
    there are various C implementations, each with its own unique features
    and modus operandi. The recipe for CygWin may be useless to Visual C
    users and so on.

    So, go to a newsgroup dedicated to programming on your actual platform
    (and your actual implementation, if possible) and specify all the
    above mentioned details in your question.

    Dan Pop, Feb 10, 2004
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.