Hey Lawson, 

I re-ran hws, and I'd appreciate it if you could take 
at look a it. I remembered that before I could install
the gcc-2.95.1 rpm, I needed to upgrade my binutils package.

The package I got wasn't from RedHat, nor one of it's mirrors. 
Also, I got version 2.10.0.18, and I think it was the wrong one; 
I needed anything >= binutils-2.9.5.0.12, and RedHat version 6.2
comes with version 2.9.5.0.22-6, which is the one I just got.

So here's hws's results: 

Script started on Wed Aug  9 12:57:30 2000
[root@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/ccN5XV5L.ii
GNU CPP version 2.95.1 19990816/Linux (release) (i386 Linux/ELF)
#include "..." search starts here:
#include <...> search starts here:
 /usr/lib/gcc-lib/i386-redhat-linux/2.95.1/../../../../include/g++-3
 /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/../../../../i386-redhat-linux/include
End of omitted list.
 /usr/lib/gcc-lib/i386-redhat-linux/2.95.1/cc1plus /tmp/ccN5XV5L.ii -quiet -dumpbase 
hw.cc -version -o /tmp/ccCV7Zzs.s
GNU C++ version 2.95.1 19990816/Linux (release) (i386-redhat-linux) compiled by GNU C 
version 2.95.1 19990816/Linux (release).
 as -V -Qy -o /tmp/ccGCBwrZ.o /tmp/ccCV7Zzs.s
GNU assembler version 2.9.5 (i386-redhat-linux) using BFD version 2.9.5.0.22
 /usr/lib/gcc-lib/i386-redhat-linux/2.95.1/collect2 -m elf_i386 -dynamic-linker 
/lib/ld-linux.so.2 -o hw /usr/lib/crt1.o /usr/lib/crti.o 
/usr/lib/gcc-lib/i386-redhat-linux/2.95.1/crtbegin.o 
-L/usr/lib/gcc-lib/i386-redhat-linux/2.95.1 -L/usr/i386-redhat-linux/lib 
/tmp/ccGCBwrZ.o -lstdc++ -lm -lgcc -lc -lgcc 
/usr/lib/gcc-lib/i386-redhat-linux/2.95.1/crtend.o /usr/lib/crtn.o
Hello World
        libm.so.6 => /lib/libm.so.6 (0x40019000)
        libc.so.6 => /lib/libc.so.6 (0x40035000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
[root@localhost rks]# exit
Script done on Wed Aug  9 12:57:51 2000

What do you think? It did make it farther than it did before.
And here's what happened when I tried to install that console
game of blackjack:

Script started on Wed Aug  9 12:37:01 2000
[root@localhost black_jack-0.1]# ./configure
loading cache ./config.cache
checking for a BSD compatible install... (cached) /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... (cached) yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking for gcc... (cached) gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for c++... (cached) c++
checking whether the C++ compiler (c++  ) works... yes
checking whether the C++ compiler (c++  ) is a cross-compiler... no
checking whether we are using GNU C++... (cached) yes
checking whether c++ accepts -g... (cached) yes
checking for ranlib... (cached) ranlib
creating ./config.status
creating Makefile
creating black_jack/Makefile
creating black_jack/docs/Makefile
creating black_jack/docs/en/Makefile
creating config.h
config.h is unchanged
[root@localhost black_jack-0.1]# make
make  all-recursive
make[1]: Entering directory `/usr/local/bin/black_jack-0.1'
Making all in black_jack
make[2]: Entering directory `/usr/local/bin/black_jack-0.1/black_jack'
Making all in docs
make[3]: Entering directory `/usr/local/bin/black_jack-0.1/black_jack/docs'
Making all in en
make[4]: Entering directory `/usr/local/bin/black_jack-0.1/black_jack/docs/en'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/usr/local/bin/black_jack-0.1/black_jack/docs/en'
make[4]: Entering directory `/usr/local/bin/black_jack-0.1/black_jack/docs'
make[4]: Nothing to be done for `all-am'.
make[4]: Leaving directory `/usr/local/bin/black_jack-0.1/black_jack/docs'
make[3]: Leaving directory `/usr/local/bin/black_jack-0.1/black_jack/docs'
make[3]: Entering directory `/usr/local/bin/black_jack-0.1/black_jack'
c++ -DHAVE_CONFIG_H -I. -I. -I..     -g -O2 -c meny.cpp
meny.cpp: In method `void Meny::Top(int, int, int, int)':
meny.cpp:28: implicit declaration of function `int system(...)'
make[3]: *** [meny.o] Error 1
make[3]: Leaving directory `/usr/local/bin/black_jack-0.1/black_jack'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/bin/black_jack-0.1/black_jack'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/bin/black_jack-0.1'
make: *** [all-recursive-am] Error 2
[root@localhost black_jack-0.1]# make install
Making install in black_jack
make[1]: Entering directory `/usr/local/bin/black_jack-0.1/black_jack'
Making install in docs
make[2]: Entering directory `/usr/local/bin/black_jack-0.1/black_jack/docs'
Making install in en
make[3]: Entering directory `/usr/local/bin/black_jack-0.1/black_jack/docs/en'
make[4]: Entering directory `/usr/local/bin/black_jack-0.1/black_jack/docs/en'
make[4]: Nothing to be done for `install-exec-am'.
make[4]: Nothing to be done for `install-data-am'.
make[4]: Leaving directory `/usr/local/bin/black_jack-0.1/black_jack/docs/en'
make[3]: Leaving directory `/usr/local/bin/black_jack-0.1/black_jack/docs/en'
make[3]: Entering directory `/usr/local/bin/black_jack-0.1/black_jack/docs'
make[4]: Entering directory `/usr/local/bin/black_jack-0.1/black_jack/docs'
make[4]: Nothing to be done for `install-exec-am'.
make[4]: Nothing to be done for `install-data-am'.
make[4]: Leaving directory `/usr/local/bin/black_jack-0.1/black_jack/docs'
make[3]: Leaving directory `/usr/local/bin/black_jack-0.1/black_jack/docs'
make[2]: Leaving directory `/usr/local/bin/black_jack-0.1/black_jack/docs'
make[2]: Entering directory `/usr/local/bin/black_jack-0.1/black_jack'
c++ -DHAVE_CONFIG_H -I. -I. -I..     -g -O2 -c meny.cpp
meny.cpp: In method `void Meny::Top(int, int, int, int)':
meny.cpp:28: implicit declaration of function `int system(...)'
make[2]: *** [meny.o] Error 1
make[2]: Leaving directory `/usr/local/bin/black_jack-0.1/black_jack'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/usr/local/bin/black_jack-0.1/black_jack'
make: *** [install-recursive] Error 1
[root@localhost black_jack-0.1]# exit
exit

Script done on Wed Aug  9 12:38:05 2000

Does this mean anything to you? It seems like it didn't work  :-(

[rest deleted]
-- 
Richard Spencer -- Sao Paulo, Brazil
Running Linux kernel 2.2.16 and Redhat 6.0

-
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

Reply via email to