g++ help

Mark Jenkins markj@gvrc.com
Tue May 14 12:40:00 GMT 2002


Hi,

I am new to g++ and need help compiling a simple program.
I have  installed g++ on a unix,  "sparc-sun-solaris2.7".

Could some send me a sample make file and program, to
complie a g++ program.

Also what should the CXX and CXXFLAGS environment variables
be set to?

Trying to compile the following program:

#include <iostream.h>

int main()
{

cout << "Hellow World!";
return 0;
}

Thanks,

Mark Jenkins



More information about the Gcc-help mailing list