[Question] How can i set a good development enviroment for C programming on Mac

Discussion in 'Computer Programming, Emulation, and Game Modding' started by MrLucariox, Jun 18, 2018.

  1. MrLucariox
    OP

    MrLucariox Advanced Member

    Newcomer
    1
    Apr 13, 2018
    Turkey
    I wanna learn C but i cannot set a developing enviroment on my Mac. I am super noob on this subject so can somebody enlighten me?
     
  2. VMM

    VMM Hamon > Stand

    Member
    8
    GBAtemp Patron
    VMM is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    Jul 1, 2010
    Brazil
    Have you tried Xcode, it's Apple official IDE, it's free and it's the best IDE I've ever used.
    If you want something lighter you can try a text editor, I'd recommend Atom,
    but first I recommend trying Xcode.
     
  3. MrLucariox
    OP

    MrLucariox Advanced Member

    Newcomer
    1
    Apr 13, 2018
    Turkey
    What I worry about xcode is its agreement.I dont have to worry about the agreement if i dont use apple sdk's, right?
     
  4. B_E_P_I_S_M_A_N

    B_E_P_I_S_M_A_N can't think of anything creative to put here

    Member
    8
    Jun 7, 2016
    Antarctica
    Hell
    If you're running a Mac, then the basic utilities you need for C Programming should already be on there. Use the command line. You can use the nano command line text editor to write code, then compile your code using gcc. Stuff like Makefile should also be supported out of the box.

    The command line can be a bit intimidating at first, but look up some tutorials, and you should grow quickly accustomed to it.

    You can also install XCode if you want, but you're by no means forced to use an IDE.
     
  5. MrLucariox
    OP

    MrLucariox Advanced Member

    Newcomer
    1
    Apr 13, 2018
    Turkey
    How can i compile using Make?
     
  6. B_E_P_I_S_M_A_N

    B_E_P_I_S_M_A_N can't think of anything creative to put here

    Member
    8
    Jun 7, 2016
    Antarctica
    Hell
  7. Joom

    Joom  ❤❤❤

    Member
    13
    Jan 8, 2016
    United States
    You don't have to. You can just run gcc whatever.c - o "whatever".
     
  8. MrLucariox
    OP

    MrLucariox Advanced Member

    Newcomer
    1
    Apr 13, 2018
    Turkey
    Thanks for helping me everyone!
     
  9. MrLucariox
    OP

    MrLucariox Advanced Member

    Newcomer
    1
    Apr 13, 2018
    Turkey
    It doesn't work :(