help-gplusplus
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Some header files missing in Solaris2.6 package??


From: PORTER, JAMES C (Jim), ALBAS
Subject: Some header files missing in Solaris2.6 package??
Date: Fri, 19 Jul 2002 15:20:15 -0400

Today I installed the GNU GCC for Solaris 2.6 Sparc. I pulled the package from www.sunfreeware.com. After installation, I wrote the classic hellow.cpp, shown below, to test the compiler.
 
#include "iostream"
#include "string"
int main (int arc, char** argv)
{
   string s = "Hello World!";
   std::cout << s << endl;
   return 0;
}
 
Many errors later... I seem to be missing these files (and there may be others missing). stdio.h attempts to include them.
 
sys/feature_tests.h
sys/va_list.h
 
There were other errors as well, but we'll start with these. Where are these files supposed to come from?
 
(BTW -- the machine I installed this on did NOT have the default compiler installed! The /usr/include directory is very empty.)
 
Jim          iGEMS Architect and NC3 Development
                  AT&T Labs / GBS Development, Boulder CO
                  303-684-9016     jcporter@att.com
 

reply via email to

[Prev in Thread] Current Thread [Next in Thread]