delorie.com/archives/browse.cgi | search |
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 |
Message-ID: | <009901c0cbb4$92e496a0$9865fea9@timayum4srqln4> |
From: | "Tim Prince" <tprince AT computer DOT org> |
To: | "Cygwin Users" <cygwin AT cygwin DOT com>, "Chris Telting" <telting AT sprynet DOT com> |
References: | <CIECIBEHKHKCIGOADKAOOEHPCIAA DOT telting AT sprynet DOT com> <3AE30C28 DOT D7170B2E AT yahoo DOT com> |
Subject: | Re: Building GCC |
Date: | Sun, 22 Apr 2001 22:16:36 -0700 |
MIME-Version: | 1.0 |
X-Priority: | 3 |
X-MSMail-Priority: | Normal |
X-Mailer: | Microsoft Outlook Express 5.50.4133.2400 |
X-MimeOLE: | Produced By Microsoft MimeOLE V5.50.4133.2400 |
The standard gnu gcc-2.95.3 is not consistent with the current cygwin win32api, so, at the very least, you must fix up [de]time_.c as well as copying the cygwin include directory to your build target directory. Standard gcc-2.95.3 has been used to build cross compilers from cygwin to other architectures, but there really isn't any good reason for avoiding the cygwin patched version when building a cygwin compiler. There is more cygwin compatibility in the gcc-3.0 snapshots than in "offcial" gcc-2.95.3. ----- Original Message ----- From: "Earnie Boyd" <earnie_boyd AT yahoo DOT com> To: "Chris Telting" <telting AT sprynet DOT com> Cc: "Cygwin Users" <cygwin AT cygwin DOT com> Sent: Sunday, April 22, 2001 9:51 AM Subject: Re: Building GCC > Chris Telting wrote: > > > > > GCC doesn't build in the source directory. You should always try to > > > build in a build directory first. > > > > > > cd gcc-2.95.2 > > > mkdir build > > > cd build > > > ../configure --prefix=/your/prefix ... > > > make > > > make check ;#(there will be something like 16 failures). > > > make install > > > > It still stopped at etime_.c because it can't find the windows > > include directory. How do I tell the make process in include > > that directory when it runs the new xgcc for compiling the > > support libraries? > > > > I am sure I need to change some file somewhere since the official > > gcc does not seem to know about a windows include directory and > > the patch files don't resolve that issue. > > > > I'm puzzled how gcc knows to search w32api but the newly built > > xgcc doesn't. > > > > How to I tell it to search w32api? > > It's controlled by the src/gcc/config/i386/cygwin.h file which defines > the specs. You'll have to patch it to properly declare the > /usr/include/w32api directory as a system include directory or simply > replace it with the gcc-2.95.3-3 version. > > Earnie. -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |