On Wed, 09 Aug 2000,  Richard Spencer wrote about,  Re: broken C++ compiler:
> * Richard Adams <[EMAIL PROTECTED]> [000809 18:06]:

> > Tell me where to onbtain black-jack-0.1 and i will see whats up.
> You can find the home page at:
> http://www.frogface.grid9.net/linux/software/blackjack.shtml
> 
> I wanted to get gcc installed correctly, and was really just trying
> to get a tarball installed. After that I tried w3m and still no joy.
> :-(

Well i do not have a clue as to what you are doing BUT, blck-jack does not
have a file called  meny.cpp just what are you doing, 
1) Why unpack an archive into a "bin" directory in the first place.???
2) Just what commands do you use to compile black-jack.?????
3) You are "seemingly" doing it wrong as this is what you need to do;

cd /usr/local/src (i am presuminug the archive is in /usr/local/src)
tar xvzf blackjack-0.1.tgz
cd blackjack-0.1
ls 
Makefile  README cards.h  funcs.c  funcs.o  main.c
make
gcc -Wall -g -O2 -c funcs.c -o funcs.o
gcc -Wall -g -O2 -c main.c -o main.o
main.c:8: warning: return type of `main' is not `int'
gcc -Wall -g -O2 -o blackjack main.o funcs.o 
ls
Makefile  README  blackjack*  cards.h  funcs.c  funcs.o  main.c

Make "moans" about "bad code" but it compiles period.
Now, where does "C++" come into it, ?? you have lost me.

-- 
Regards Richard
[EMAIL PROTECTED]
http://people.zeelandnet.nl/pa3gcu/


-
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