This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: RE: Installing cygwin gcc using sources



Hi!
yes i did try configure.
First i run "configure" for binutils and did "make all" and "make install".The uitlities in the binutils get installed .Then i tried "configure" of gcc in the same path. The configure is fine. But when i do a "make all" it throws an error message.

Is it necessary that i have install new version of cygwin.I installed cygwin some 6 months back.

thanks for responding.
deepak

------------- Original Message --------------
"Robert McNulty Junior" <bmj2001@bellsouth.net> wrote:
To:"deepak shekhar" <dipaktc@rediffmail.com>,
<cygwin@cygwin.com>
From:"Robert McNulty Junior" <bmj2001@bellsouth.net>
Date:Sat, 30 Jun 2001 05:16:52 -0500
Subject: RE: Installing cygwin gcc using sources

Did you try configure?

-----Original Message-----
From: cygwin-owner@sources.redhat.com
[mailto:cygwin-owner@sources.redhat.com]On Behalf Of deepak shekhar
Sent: Saturday, June 30, 2001 2:49 AM
To: cygwin@cygwin.com
Subject: Installing cygwin gcc using sources

Hi! there

I have installed the cygwin on my i586-pc having windows using the binaries
and the "setup.exe" program.
Now 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/objdu
mp.c
:2856: undefined reference to `cplus_demangle_name_to_style'
/home/deepak/build/binutils/../../sources/binutils-20010425-2/binutils/objdu
mp.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 who have already installed "gcc" using the sources 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/




____________________________________________________
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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]