DebianThis forum is for the discussion of Debian Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
hi all, i just installed knoppix 3.3
i'm very new at this so please forgive me for asking stupid questions...
one of my projects need to use the gcc 2.95 version, now when i look in the kpackage, it said that version 2.95 is already installed, but when i check it with gcc -v, it said it's version 3.3.3
so is 2.95 really already installed?
if so, how can i use it?
Originally posted by mu664life hi all, i just installed knoppix 3.3
i'm very new at this so please forgive me for asking stupid questions...
one of my projects need to use the gcc 2.95 version, now when i look in the kpackage, it said that version 2.95 is already installed, but when i check it with gcc -v, it said it's version 3.3.3
so is 2.95 really already installed?
if so, how can i use it?
i'm new at this so please show me some examples
thank you
In the shell where you will compile type in and then enter export CC=/usr/bin/gcc-2.95 if the application complains it still cannot find the compiler then as root ln -sf /usr/bin/gcc-2.95 /usr/bin/gcc to have the symbolic link point to the 2.95 compiler.
i set it as a link...call gc
and when i type:
./gc -v
it said that it's version 2.95.4
so it works......but when i use the make command, it still uses the 3.3.3 version
is there anyways that i can just disable the version 3.3.3???
also, when i just try to compile the maintest.c file with the 2.95 version, it said none of the include files exits......
my program work in our school's account.....but just not in my own linux machine.....
maintest.c:1: iostream.h: No such file or directory
maintest.c:2: string: No such file or directory
maintest.c:3: iomanip: No such file or directory
maintest.c:4: cstring: No such file or directory
maintest.c:5: cstdioh: No such file or directory
In file included from maintest.c:9:
GeneralList.h:4: stdexcept: No such file or directory
GeneralList.h:5: string: No such file or directory
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.