[SunHELP] Whats wrong with my GCC?
sunhelp at sunhelp.org
Sun Nov 18 20:33:41 CST 2001
stdio.h and stdlib.h should be in /usr/include,
which I would expect to find in the compiler's
default header search path. I think it's more
likely that SUNWhea is simply not installed.
The sunfreeware FAQ covers this.
On Sun, Nov 18, 2001 at 08:34:27PM -0500, Larry Snyder wrote:
> Best guess is that you'll have to tell the makefile where to find
> the header files. make is probably looking in the wrong place.
> "Foong, Tzeweng" <Tzeweng.Foong at team.telstra.com> wrote:
> > Hello All,
> > I think that this is probably really simple.
> > We installed gcc (gcc-2.95.3-sol8-sparc-local.gz from
> > sunfreeware.com) and every thing seemd to install ok.
> > HOWEVER we cannot seem to get it working. We then tried
> > the good old hello world program. and weget the following
> > message.
> > bash-2.03# gcc helloworld.c
> > helloworld.c:1: stdio.h: No such file or directory
> > helloworld.c:2: stdlib.h: No such file or directory
> > Is there a something else we need to do to get it to work?
> > Env vars need to be set ??
> > Other Library packages need to be installed?
> > Please help
> > TW
> > _______________________________________________
> > SunHELP maillist - SunHELP at sunhelp.org
> > http://www.sunhelp.org/mailman/listinfo/sunhelp
> SunHELP maillist - SunHELP at sunhelp.org
More information about the SunHELP