maybe gcc is not in the path.  Try to :

1st: $which gcc
it will tells you where the executable is
2nd : $locate gcc
it will search for you where every gcc is

maybe you could install the build native package : $opkg install task-native-sdk

hope this helps.

Kris


From: Srinath M <srinath3142@gmail.com>
To: General mailing list for gumstix users. <gumstix-users@lists.sourceforge.net>
Sent: Saturday, January 19, 2013 3:43:48 PM
Subject: [Gumstix-users] Compiling a hello world program

Hi

I installed gcc with opkg
opkg install gcc
Package gcc (4.5-r37.1+svnr170880.9) installed in root is up to date.

But if i try to compile helloworld it says gcc doesn't exist
root@omap3-multi:~# gcc hello.c
-sh: gcc: command not found

What am i missing?


------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122912
_______________________________________________
gumstix-users mailing list
gumstix-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gumstix-users