Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com X-Apparently-From: Message-ID: <3AE30C28.D7170B2E@yahoo.com> Date: Sun, 22 Apr 2001 12:51:52 -0400 From: Earnie Boyd Reply-To: Cygwin Users X-Mailer: Mozilla 4.76 [en] (WinNT; U) X-Accept-Language: en MIME-Version: 1.0 To: Chris Telting CC: Cygwin Users Subject: Re: Building GCC References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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. P.S.: Please keep your replies on the list. For your convenience I've CC'ed the list and reset the Reply-To. Earnie. _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple