Thread: Make utility

  1. #1
    Registered User
    Join Date
    Dec 2010
    Posts
    14

    Make utility

    Im sorry if this is the wrong section.

    I am reading a book on c++ and I am using windows to program(not that good with linux at the moment) The book got to a section on using make files to control builds and I am lost about setting up the make utility. Where can I download it for windows 64 bit? Is there anywhere with fairly simple instructions on getting everything setup? Thanks for any help.
    Last edited by bob887; 03-15-2011 at 05:55 AM.

  2. #2
    Registered User
    Join Date
    Aug 2003
    Posts
    1,218
    For future reference this probably would be better suited in the C++ specific forum.

    Depending on what setup of compiler and IDE you have it might or might not be easier to use make, but since you are using Windows it is in most cases easier to not use make. I suggest you download a good free IDE such as Code::Blocks or Visual C++ Express

    Read a tutorial on how to get going
    For Code::Blocks: Cprogramming.com Tutorial: Setting up Code::Blocks and MINGW, A Free C and C++ Compiler, on Windows
    For Visual studio: Getting Started in Visual C

    Then you are pretty much ready to write code and compile.

  3. #3
    Registered User
    Join Date
    Dec 2010
    Posts
    14
    Alright thanks, I originally had Code::blocks and I liked it, just decided to practice being able to self compile a bit while reading one of the books. Thanks for the response.

  4. #4
    Registered User NeonBlack's Avatar
    Join Date
    Nov 2007
    Posts
    431
    If you really want to use make (Personally, I think compiling on command line is a good thing to learn to do), it's simple to set up.

    1. Download it from MinGW - Minimalist GNU for Windows - Browse /MinGW/make/make-3.82-mingw32 at SourceForge.net
    2. Extract files. The download uses tar lzma, which is non standard for Windows, but you can extract it using 7-zip.
    3. Optionally, rename mingw32-make.exe to make.exe
    4. Add the bin directory to your path. You can do this through Control Panel -> System -> Advanced system setting. Click on Environment Variables.
    I copied it from the last program in which I passed a parameter, which would have been pre-1989 I guess. - esbo

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. How to make winsock.h for windows socket programming?
    By thomas_joyee in forum Networking/Device Communication
    Replies: 9
    Last Post: 03-17-2010, 11:28 PM
  2. make utility
    By studentc in forum C Programming
    Replies: 2
    Last Post: 06-12-2004, 07:59 AM
  3. HELP!wanting to make full screen game windowed
    By rented in forum Game Programming
    Replies: 3
    Last Post: 06-11-2004, 04:19 AM
  4. make all rule
    By duffy in forum C Programming
    Replies: 9
    Last Post: 09-11-2003, 01:05 PM
  5. Replies: 6
    Last Post: 04-20-2002, 06:35 PM