Compile/linker/DevC++

This is a discussion on Compile/linker/DevC++ within the C Programming forums, part of the General Programming Boards category; Hello, I'm a beginner. I have five files to compile and link, using DevC++. I'm told to compile these five ...

  1. #1
    Registered User
    Join Date
    Jan 2002
    Posts
    34

    Compile/linker/DevC++

    Hello,
    I'm a beginner. I have five files to compile and link,
    using DevC++. I'm told to compile these five files
    seperately; then link them all.

    Question? What are the parameters to use?

    Would the third check box in the envir. options,
    be the place for this?

    Thank you,

    Adock.

  2. #2
    and the hat of wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,417
    If it follows the usual IDE conventions, then you've got a project setup which allows you to list the source files in the project (5 in this case)

    Then you should have 2 buttons somewhere,
    - compile - which compiles (but does not link) the current source file
    - build - which compiles all outstanding source files (those whose .c file is newer than the .o), and links them all together (with the run-time libraries) to produce a program

Popular pages Recent additions subscribe to a feed

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