Page 1 of 1

New to this program, compiling issues.

Posted: Wed Jan 25, 2012 5:17 am
by Nexus9113
Hello all. I just found and installed this program and I'm running into one issue off the bat. I wanted to compile a sample C program, and when I ran MSYS and ran "gcc myFirst.c" I got an error returned to me "sh: gcc: command not found". I didn't change anything in the installer settings, I let it do everything it does at default. Have I done something wrong? Or is there something additional I need to do? Thank you!

Re: New to this program, compiling issues.

Posted: Fri Feb 03, 2012 5:54 pm
by dopefish
You don't ordinarily need to call gcc directly like that. Copy the template or one of the example projects to your own directory and run "make" (or build it in programmer's notepad, or whichever IDE you're using if you prefer). Once you've gotten that working, you can start making changes to the source code and move on from there.