* [EMAIL PROTECTED] <[EMAIL PROTECTED]> [000808 14:45]:
> HUH? /usr/include/g++3/iostream.h is part of gcc-2.95.1, and g++ SHOULD
> know where to look for it.
>
> If this were RedHat 5.0 you would be missing libg++-devel. libg++ seems
> to have been swallowed by libstdc++, which is included in gcc-2.95.1 and
> presumably gcc-2.95.2. I should have told g++ to be verbose.
>
> for that matter,
>
> g++ --version
$ g++ --version
2.95.1
> might tell us something. so might
>
> find /usr/include -name iostream.h
$ find /usr/include -name iostream.h
$
> You might also want to add -v right after g++(space) in that little
> script. I don't understand where the c++ headers went, but not having
> them would stop g++ from being able to make executable files right
> enough.
Script started on Tue Aug 8 15:26:37 2000
[rks@localhost rks]$ ./hws
#include <iostream.h>
int main(void){ cout<<"Hello World"<<endl; }
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/2.95.1/specs
gcc version 2.95.1 19990816/Linux (release)
/usr/lib/gcc-lib/i386-redhat-linux/2.95.1/cpp -lang-c++ -v -D__GNUC__=2 -D__GNUG__=2
-D__GNUC_MINOR__=95 -D__cplusplus -D__ELF__ -Dunix -D__i386__ -Dlinux -D__ELF__
-D__unix__ -D__i386__ -D__linux__ -D__unix -D__linux -Asystem(posix) -D__EXCEPTIONS
-Acpu(i386) -Amachine(i386) -Di386 -D__i386 -D__i386__ hw.cxx /tmp/ccPQVjoe.ii
GNU CPP version 2.95.1 19990816/Linux (release) (i386 Linux/ELF)
#include "..." search starts here:
#include <...> search starts here:
/usr/local/include
/usr/lib/gcc-lib/i386-redhat-linux/2.95.1/include
/usr/include
End of search list.
The following default directories have been omitted from the search path:
/usr/lib/gcc-lib/i386-redhat-linux/2.95.1/../../../../include/g++-3
/usr/lib/gcc-lib/i386-redhat-linux/2.95.1/../../../../i386-redhat-linux/include
End of omitted list.
hw.cxx:1: iostream.h: No such file or directory
./hws: ./hw: No such file or directory
ldd: ./hw: No such file or directory
[rks@localhost rks]$ exit
exit
Script done on Tue Aug 8 15:26:44 2000
Well this one certainly was verbose, compared to the last one,
I mean. What does it mean?
--
Running Redhat 6.0 with some upgraded packages.
Richard Spencer "Why Not" is a slogan
Sao Paulo, Brazil for an interesting life.
[EMAIL PROTECTED] -- Mason Cooley
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.linux-learn.org/faqs