Thread: Compile/linker/DevC++

  1. #1
    Registered User
    Join Date
    Jan 2002


    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,


  2. #2
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    The edge of the known universe
    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