delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/08/02/09:20:44

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Date: 2 Aug 2001 13:18:46 -0000
Message-ID: <20010802131846.11351.qmail@mailweb21.rediffmail.com>
MIME-Version: 1.0
To: "dianj AT OCF DOT Berkeley DOT EDU" <dianj AT OCF DOT Berkeley DOT EDU>
Subject: Re: Re: Building GCC from Sources
CC: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
From: "Deepak Shekhar" <dipaktc AT rediffmail DOT com>

Actually the source versions of binutils and gcc that i am building are binutils-20010425-2 and gcc-2.95.3-4.
 I want to build both binutils and gcc.
i have created links for binutils,gas,ld,gprof,bfd and opcodes in the main directory of gcc.

While configuring opcodes i get the following mesage and the configuation stops

ltconfig: unrecognized option `--build=i586-pc-cygwin32'
Try `ltconfig --help' for more information.
configure: error: libtool configure failed
Configure in /home/Deepak/build2/opcodes failed, exiting.

Can u help me out in this
thanks in advance
Deepak
------------- Original Message --------------
dianj AT OCF DOT Berkeley DOT EDU wrote:
To:cygwin AT cygwin DOT com
From:dianj AT OCF DOT Berkeley DOT EDU
Date:Wed, 1 Aug 2001 12:36:46 -0700 (PDT)
CC:dipaktc AT rediffmail DOT com
Subject: Re: Building GCC from Sources

If the failure is "gencode" complaining about "unknown rtx code..." then
it's caused by not handling DOS CR LF property. This can be fixed by
doing one of the following:

* apply the patch
	http://gcc.gnu.org/ml/gcc/2001-07/msg02146.html

* mount the directory the sources are under in textmode

* convert the file gcc-3.0/gcc/config/i386/i386.md to use Unix newlines
	http://www.cygwin.com/ml/cygwin/2001-07/msg01696.html

* unpack the sources with Cygwin tar (the extra CR's that caused the
  build to fail are added by programs such as WinZip)

then build it according to the instructions
	http://gcc.gnu.org/install/index.html

I don't have any other problems building the GCC 3.0 release for C/C++.

By the way, the plateform-specific installation notes says
> Current (as of early 2001) snapshots of GCC will build under Cygwin 
> without modification.
that seems to imply that 2.95.x might not work.

Di-an Jan

_________________________________________________________
For Rs. 2,000,000 worth of Aptech scholarships click below
http://events.rediff.com/aptechsch/scholarship.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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019