[GCC] Installation du compilateur GCC à partir de binaires
Bonjour,
Je souhaite installer un compilateur gcc sur une machine n'ayant pas de compilateur gcc.
J'exécute la commande suivante :
Code:
1 2
|
./configure --prefix=/usr --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --enable-languages=c,c++ |
Le sytème me répond par ces quelques lignes :
Code:
1 2 3 4 5 6 7 8 9 10
|
cale=gnu --enable-languages=c,c++
Configuring for a i686-pc-linux-gnu host.
*** This configuration is not supported in the following subdirectories:
target-libf2c target-libffi target-boehm-gc target-zlib target-libjava zlib fastjar target-libobjc
(Any other directories should still work fine.)
Created "Makefile" in /space1/local/progs/HGR/LibWassup/C++/TestLib/gcc-3.2.3 using "mh-frag" and "mt-frag"
./configure: line 7: cc: command not found
*** The command 'cc -o conftest -g conftest.c' failed.
*** You must set the environment variable CC to a working compiler. |
En gros, il ne trouve pas de compilateur gcc. C'est logique puisque, j'essaie de l'installer.
Savez-vous comment on peut installer un compilo gcc sur une machine n'ayant aucun gcc installé.
Merci.