g++ problems

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

 



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





[Index of Archives]     [Linux for the Blind]     [Fedora Discussioin]     [Linux Kernel]     [Yosemite News]     [Big List of Linux Books]
  Powered by Linux