Quote:
Originally Posted by poz
All,
I have dowloaded gcc from sunfreware but the gcc is unable to include the header file. However, it looks very strange that the stdio header is not available. I had installed from sunfreeware
(Solaris 10) gcc-3.3.2-sol10-sparc-local.gz , libiconv and I did the recommended steps to remake header files, but I still get
stdio.h: No such file or directory and the source is very simple:
What should I do next to make it working?
#include <stdio.h>
#include <stdlib.h>
int main()
{
printf("text");
return 0;
}
|
Why did you install gcc from sunfreeware while it is already part of Solaris 10 ?
What kind of Solaris installation did you choose ?
I suspect you didn't choose the developer cluster or higher, so effectively, the header files (from the package SUNWhea) are missing.