wget ftp://gd.tuwien.ac.at/gnu/gcc/releases/gcc-4.6.2/gcc-4.6.2.tar.gz tar xzf gcc-4.6.2.tar.gz cd gcc-4.6.2 ./contrib/download_prerequisites cd .. mkdir objdir cd objdir $PWD/../gcc-4.6.2/configure --prefix=/opt/gcc-4.6.2 make make install
Hello Gothic.
When i do $PWD/../gcc-4.6.2/configure --prefix=/opt/gcc-4.6.2 command i get this error :
[root@ts ts3soundboard]# cd objdir
[root@ts objdir]# $PWD/../gcc-4.6.2/configure --prefix=/opt/gcc-4.6.2
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln works... yes
checking whether ln -s works... yes
checking for a sed that does not truncate output... /bin/sed
checking for gawk... gawk
checking for gcc... gcc
checking for C compiler default output file name...
configure: error: in `/opt/ts3soundboard/objdir':
configure: error: C compiler cannot create executables
See `config.log' for more details.
Can u help fix that error?
Thanks!