Am Dienstag, 13. August 2002, 04:53:55 Uhr MET, schrieb daniel beck: > the ELX linux distribution has got a toll, to choose > which compiler to set as default : gcc 2.96 or gcc3 . > I like that . is there a possibility to do that in > mandrake ? because I saw that both compiler a included > (because of the mozilla-java problem I think).
[root@somemachine root]$ /usr/sbin/update-alternatives --config gcc There are 2 programs which provide `gcc'. Selection Command ----------------------------------------------- *+ 1 /usr/bin/gcc-3.2 2 /usr/bin/gcc-2.96 Enter to keep the default[*], or type selection number: So if you have both installed, you can choose a default one that should be started by the 'gcc' command. But remember that for the C++ compiler g++, that the different versions are not compatible, e.g. you cannot use gcc 2.96 to compile kde apps on Mandrake 9.0. -- Götz Waschk <> master of computer science <> University of Rostock http://wwwtec.informatik.uni-rostock.de/~waschk/waschk.asc for PGP key --> Logout Fascism! <--