Gcc?

Discussion in 'Mac Programming' started by heyoman1, Jan 24, 2010.

  1. heyoman1 macrumors newbie

    Joined:
    Dec 8, 2009
    #1
    I heard that the GCC can be used to practice obj-c on windows. So i tried to search for the download and i couldn't find any download links. Can someone reply with the link for the download.

    Also, i went on youtube, and i keep seeing cygwin and gcc together in the same vid. I am confused now. Can someone explain this to me?


    Thank you all :)
     
  2. lloyddean macrumors 6502a

    Joined:
    May 10, 2009
    Location:
    Des Moines, WA
    #2
    Check out GNUStep here.

    It'll probably cover most everything you've requested.
     
  3. lee1210 macrumors 68040

    lee1210

    Joined:
    Jan 10, 2005
    Location:
    Dallas, TX
    #3
    The first link on google when searching "Objective-C Windows" is this:
    http://www.roseindia.net/iphone/objectivec/objective-c-windows.shtml

    It seems like a decent tutorial for getting things setup. Be ready to be disappointed when you're looking for tutorials, help, etc. because almost all Objective-C development goes on in OS X, and people are going to assume you're using Cocoa, Apple's Foundation, etc. I'm sure GNUStep has replicated a lot of this functionality, but probably not all of it, and probably not in a 100% compatible way. If you're really just wanting to learn the core of the Objective-C language for academic reasons, the setup detailed at that link should be fine. But don't expect things you make to work immediately if you ever do try to build them on OS X, and be sure you're looking at the GNUStep library documentation instead of Apple's to see how to do things, because they may differ.

    -Lee
     
  4. CarlisleUnited macrumors 6502

    Joined:
    Jan 30, 2007
    Location:
    Nederland
    #4
    You don't need cygwin for it, just go to mingw.org and download it, when it asks you what packages you want to install make sure you check at least gcc but unless space is an issue just select all of the compilers just incase you want to use them in the future.
     
  5. heyoman1 thread starter macrumors newbie

    Joined:
    Dec 8, 2009
    #5
    thanks all. i went with the mingw.org download. its downloading right now. checked all the options. waiting to see if it works :)
     
  6. heyoman1 thread starter macrumors newbie

    Joined:
    Dec 8, 2009
    #6
    now tha i have Mingw installed, how do i use it?
     
  7. lee1210 macrumors 68040

    lee1210

    Joined:
    Jan 10, 2005
    Location:
    Dallas, TX
    #7
  8. heyoman1 thread starter macrumors newbie

    Joined:
    Dec 8, 2009
    #8
    Ok its not telling me how..

    here is what i did:

    Downloaded MinGW -> Installed all the options -> then i went to start -> mingw -> and all i does is open the website

    Please tell me what i did wrong:(
     
  9. AdamN macrumors newbie

    Joined:
    Jan 22, 2009
    #9
    Ubuntu

    Maybe you should install Ubuntu and work with gcc from in there. Going through Cygwin is going to be much more of a hassle.

    These days, Ubuntu/Linux is very much a usable system and it will be easier to work with things like gcc on there than on Windows.
     

Share This Page