RE: Error while doing make for gcc-4.4-20081128

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Eljay,

I tried following 
source directory:  /home/ganesh/q4/comp/gcc/gcc-4.4-20081128
build directory:      /home/ganesh/q4/comp/gcc/build
Inside build directory i executed ../gcc-4.4-20081128/configure
--enable-multilib --disable-nls --enable-languages=c,c++,fortran
--prefix=/home/ganesh/q4/comp/gcc/gcc_install

I get following error:
checking whether ln works... yes
checking whether ln -s works... yes
checking for gcc... gcc
checking for C compiler default output file name... configure: error: in
`/home/ganesh/q4/comp/gcc/build':
configure: error: C compiler cannot create executables
See `config.log' for more details.
make: *** [config.status] Error 77

config.log has following content

configure:3308: checking for C compiler default output file name
configure:3311: gcc    conftest.c  >&5
/usr/lib64/gcc/x86_64-suse-linux/4.1.2/../../../../x86_64-suse-linux/bin/ld:
cannot find /lib64/ld-linux-x86-64.so.2
collect2: ld returned 1 exit status
configure:3314: $? = 1
configure: failed program was:
| /* confdefs.h.  */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| /* end confdefs.h.  */
|
| int
| main ()
| {
|
|   ;
|   return 0;
| }
configure:3352: error: in `/home/ganesh/q4/comp/gcc/build':
configure:3355: error: C compiler cannot create executables
-- 
View this message in context: http://www.nabble.com/Error-while-doing-make-for-gcc-4.4-20081128-tp20792084p20809782.html
Sent from the gcc - Help mailing list archive at Nabble.com.


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux