Hello,
I've just installed gcc for the first time, in order to compile programs.
On the first test drive of gcc, here's what I got:
Code:
linux:/home/Nectron/Documents/Programs/gtk+-2.8.0 # ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... no
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for native Win32... no
checking for gcc... gcc
checking for C compiler default output file name... configure: error: C compiler cannot create executables
See `config.log' for more details.
The log file:
Code:
configure:2099: result: no
configure:2153: checking for gcc
configure:2169: found /usr/bin/gcc
configure:2179: result: gcc
configure:2423: checking for C compiler version
configure:2426: gcc --version </dev/null >&5
gcc (GCC) 3.3.5 20050117 (prerelease) (SUSE Linux)
Copyright (C) 2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
configure:2429: $? = 0
configure:2431: gcc -v </dev/null >&5
Using built-in specs.
Configured with: ../configure --enable-threads=posix --prefix=/usr --with-local-prefix=/usr/local --infodir=/usr/share/info --mandir=/usr/share/man --enable-languages=c,c++,f77,objc,java,ada --disable-checking --libdir=/usr/lib --enable-libgcj --with-slibdir=/lib --with-system-zlib --enable-shared --enable-__cxa_atexit i586-suse-linux
Thread model: posix
gcc version 3.3.5 20050117 (prerelease) (SUSE Linux)
configure:2434: $? = 0
configure:2436: gcc -V </dev/null >&5
gcc: `-V' option must have argument
configure:2439: $? = 1
configure:2462: checking for C compiler default output file name
configure:2465: gcc conftest.c >&5
gcc: installation problem, cannot exec `cc1': No such file or directory
configure:2468: $? = 1
configure: failed program was:
What could be the problem? What should I do?
Please respond, it's the first time I run gcc on a linux machine! I'm pretty excited and have a bunch of software to install tonight!
Thanks in advnace
