g++ problems

Effortless Union with the Divine omeron at earthlink.net
Wed Mar 31 19:53:57 EST 2004


Don't confuse this poor guy! gcc - the GNU C compiler, compiles 
standard C code for the commandline. On this system anyway, man gcc and 
man g++ pull up the same entry.  gcc most certainly works for a simple 
hello world program. It looks like it didn't do a complete install or 
something, that it can't find some core files. Not sure about slackware, 
but praise "Bob"!

#include <stdio.h>
int main()
{
puts("Hello, world.\n");
}
hey, you can redirect the errors. try:
gcc hello.c -o hello 2> errors.txt
the 2> (the number two then a greaterthan sign) means to redirect
standard error to a file. Then you can look at, or send us, the file.

-- 
Currently playing: The Orb - Primal Scream / Higher Than The Sun (Higher than the Kite mix)
Good Vibes Radio: http://clearwhitelight.org/goodvibes

Omeron - Effortless Union with the Divine





More information about the Speakup mailing list