New to this program, compiling issues.

support for the ARM toolchain
Post Reply
Nexus9113
Posts: 1
Joined: Wed Jan 25, 2012 4:55 am

New to this program, compiling issues.

Post by Nexus9113 » Wed Jan 25, 2012 5:17 am

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!

User avatar
dopefish
Posts: 6
Joined: Wed Nov 07, 2007 3:33 pm
Contact:

Re: New to this program, compiling issues.

Post by dopefish » Fri Feb 03, 2012 5:54 pm

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.
#include <sig.h>

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot] and 13 guests