[gnu-sol-discuss] GCC compiler installation

Bart Smaalders bart.smaalders at Sun.COM
Thu Jan 4 11:42:24 PST 2007


Rafal Chojnacki wrote:
> Hi,
> 
> I have installed Solaris Express Nevada b52 using End User installation option. Also, I have installed GCC from www.blastwave.org, but "hello world" compilation fails as follows:
> 
>   hello.c:1:19: error: stdio.h: No such file or directory
> 
> Based on forum.java.sun.com/thread.jspa?threadID=5112730 I should install at least SUNWhea, but currently I do not have Solaris DVD and cannot find this package using Google.
> 
> It is possible to download single SUNWhea package (or is other soulution)?
> 
> Thanks,
> Rafal
>  

You're missing more that just the SUNWhea packages.  I suggest
you install the developer cluster at a minimum.  Note that this
includes gcc, etc.

- Bart

-- 
Bart Smaalders			Solaris Kernel Performance
barts at cyber.eng.sun.com		http://blogs.sun.com/barts



More information about the gnu-sol-discuss mailing list