This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Help -Build fails for gcc!!!
- To: cygwin at cygwin dot com <cygwin at cygwin dot com>
- Subject: Help -Build fails for gcc!!!
- From: "deepak shekhar" <dipaktc at rediffmail dot com>
- Date: 29 Jun 2001 07:45:16 -0000
Hi! there
I have installed the cygwin on my i586-pc having windows using the binaries and the "setup.exe" program.
Noew i am trying to install binutils and gcc using the sources.
My directory structure is like this
/home/deepak/sources - this is the directory containing the sources for binuitls and gcc.
/home/deepak/build - object directory where i'll run configure and make.
/home/deepak/exe - install directory.
The versions of binutils is binutils-20010425-2-src.tar-gz and of gcc is gcc-2.95.3-4-src.tar.gz.
I have untared these packages in the sources directory.
In the build directory i run the configure for binutils by giving the following command.
$cd build
$../sources/binutils-20010425-2/configure --prefix=/home/deepak/exe -v
Then i do a make.
$make all && make install
The utilities in the binutils get installed.(including the as.exe and ld.exe).
Now i run configure for the gcc by the following command.
$../sources/gcc-2.95.3-4/configure --prefix=/home/deepak/exe -v
The configure is fine.
Now if do a make by giving
$make all
I get a following error messages and the make fails.
make[3]: Entering directory `/home/deepak/build/binutils'
/bin/sh ./libtool --mode=link gcc -W -Wall -g -O2 -o objdump.exe objdump.o prd
bg.o rddbg.o debug.o stabs.o ieee.o rdcoff.o bucomm.o version.o filemode.o ../op
codes/libopcodes.la ../bfd/libbfd.la ../libiberty/libiberty.a ./../intl/libintl.
a
gcc -W -Wall -g -O2 -o objdump.exe objdump.o prdbg.o rddbg.o debug.o stabs.o iee
e.o rdcoff.o bucomm.o version.o filemode.o ../opcodes/.libs/libopcodes.a ../bfd
/.libs/libbfd.a ../libiberty/libiberty.a ./../intl/libintl.a
objdump.o: In function `main':
/home/deepak/build/binutils/../../sources/binutils-20010425-2/binutils/objdump.c
:2856: undefined reference to `cplus_demangle_name_to_style'
/home/deepak/build/binutils/../../sources/binutils-20010425-2/binutils/objdump.c
:2861: undefined reference to `cplus_demangle_set_style'
collect2: ld returned 1 exit status
make[3]: *** [objdump.exe] Error 1
make[3]: Leaving directory `/home/deepak/build/binutils'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/deepak/build/binutils'
make[1]: *** [all-recursive-am] Error 2
make[1]: Leaving directory `/home/deepak/build/binutils'
make: *** [all-binutils] Error 2
Is the method i am following to install from the sources is wrong??? Or anyhting i am missing out???
Can somebody please help me out in this.
thanks in advance
Deepak
____________________________________________________
Buy Feng Shui Package for Rs. 151/- only, at http://shopping.rediff.com/shopping/fengshui_mailer.htm
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/