This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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 Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]