Taking it back to the old school...well I'm on my way at least!

This is a discussion on Taking it back to the old school...well I'm on my way at least! within the C++ Programming forums, part of the General Programming Boards category; Hi guys, me again I came across MinGW recently and MSYS and thought it would be really cool to compile ...

  1. #1
    Registered User Stonehambey's Avatar
    Join Date
    Jan 2008
    Location
    Kent, UK
    Posts
    118

    Taking it back to the old school...well I'm on my way at least!

    Hi guys, me again

    I came across MinGW recently and MSYS and thought it would be really cool to compile in a command line on windows. I liked doing it in Linux.

    Also it would give me a chance to have a better insight into what goes on "under the hood" as it were. So far I've been making my programs in an IDE and just click on build and out pops a .exe.

    I downloaded MinGW and MYSYS and tried a simple compile and of course there was an error (couldn't find: g++ in this case). A good example of me not really knowing what I'm doing

    I scoured the net but failed to find a complete idiot's guide to installing and building a simple program using MinGW and MSYS, I was wondering if anyone could point me to one? Or perhaps I missed out a step inbetween installing MinGW and MSYS and trying to use them to build a program.

    As usual, thanks for any replies

    Kind Regards,

    Stonehambey

  2. #2
    Registered User
    Join Date
    Oct 2001
    Posts
    2,129
    you have to put the bin directory in your system path.

  3. #3
    Registered User Stonehambey's Avatar
    Join Date
    Jan 2008
    Location
    Kent, UK
    Posts
    118
    lol, this is why I need a complete idiot's guide. I don't understand what you just said. I found a bin derectory within the MinGW folder, but I have no idea what a system path is or where to find it :P (and sounds like it's about time I learnt)

    Stonehambey

  4. #4
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    23,618
    Quote Originally Posted by Bjarne Stroustrup (2000-10-14)
    I get maybe two dozen requests for help with some sort of programming or design problem every day. Most have more sense than to send me hundreds of lines of code. If they do, I ask them to find the smallest example that exhibits the problem and send me that. Mostly, they then find the error themselves. "Finding the smallest program that demonstrates the error" is a powerful debugging tool.
    Look up a C++ Reference and learn How To Ask Questions The Smart Way

  5. #5
    Registered User Stonehambey's Avatar
    Join Date
    Jan 2008
    Location
    Kent, UK
    Posts
    118
    Hmm, looks a bit over my head. I've uninstalled everything and going to try it again using this tutorial

    http://wiki.wxwidgets.org/Eclipse,_C...W_Installation

    Looks like it outlines the steps pretty clearly

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. School is the mind-killer.
    By indigo0086 in forum A Brief History of Cprogramming.com
    Replies: 20
    Last Post: 03-11-2008, 02:35 PM
  2. Some woman back ended my car today, and back hurts
    By Terrance in forum A Brief History of Cprogramming.com
    Replies: 19
    Last Post: 08-20-2003, 12:42 AM
  3. Screwy school fight rules
    By windoze victim in forum A Brief History of Cprogramming.com
    Replies: 29
    Last Post: 05-18-2003, 09:27 AM
  4. I'm back
    By Fool in forum A Brief History of Cprogramming.com
    Replies: 4
    Last Post: 08-28-2001, 09:16 AM

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