delphi programming forums mysql charset mget recursive synonimos
free ventrilo servers hosting cs javascript delay python find in list
Back Forum New
abstract:

etc, but nothing works.
Any ideas...please?
Kind regards,
Kepler


Hi again,
Now that I have Debian installed, I get a "command unknown" when I try to compile a C or a C++ program. I've tried ./gcc...etc, but nothing works.
Any ideas...please?
Kind regards,
Kepler

TOP

I'm guessing GCC is not installed?  Try this:
sudo apt-get install build-essential

TOP

or then you do not have the path of gcc in $path.
try "whereis gcc"
if it replies
gcc:
Then you probably do not have it installed, but if it replies something like
gcc: /usr/bin/gcc /usr/lib/gcc /usr/libexec/gcc /usr/share/man/man1/gcc.1.gz
then edit your .bashrc file (at your home folder) to contain line:
PATH=$PATH:/usr/bin
(or if you already have $PATH line there, just append :/usr/bin at the end of the line. Or what ever the path to your gcc binary is.)
then type "source .bashrc"
Or alternatively just use the full path to gcc binary.



etc, but nothing works.
Any ideas...please?
Kind regards,
Kepler

TOP

Back Forum