delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/02/19/13:05:49

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
X-Apparently-From: <earnie?boyd AT yahoo DOT com>
Message-ID: <3A916040.12FCBABA@yahoo.com>
Date: Mon, 19 Feb 2001 13:04:48 -0500
From: Earnie Boyd <earnie_boyd AT yahoo DOT com>
Reply-To: Earnie Boyd <cygwin AT cygwin DOT com>
X-Mailer: Mozilla 4.76 [en] (WinNT; U)
X-Accept-Language: en
MIME-Version: 1.0
To: "Blythe.Stephen" <Stephen DOT Blythe AT IGT DOT com>
CC: "'Earnie Boyd'" <cygwin AT cygwin DOT com>
Subject: Re: Problems building gcc-2.95.2
References: <B7536E2DB26AD211A42500104BB49C72F6044B AT manbarapp1 DOT intgame DOT com>

"Blythe.Stephen" wrote:
> 
> > -----Original Message-----
> > From: Earnie Boyd [mailto:earnie_boyd AT yahoo DOT com]
> > Sent: 19 February 2001 17:11
> > To: Blythe.Stephen
> > Cc: 'Cygwin Mailing List'
> > Subject: Re: Problems building gcc-2.95.2
> >
> >
> > "Blythe.Stephen" wrote:
> > >
> > > Hi,
> > >
> > > I have been trying to compile gcc-2.95.2 to act as a native
> > compiler on a
> > > cygwin system.  (My eventual aim is to compile it to act as a
> > > cygwin->m68k-coff cross compiler, but I decided to try to
> > compile it as a
> > > native first, thinking it might be easier.)
> > >
> > > This is my config script, which I am running in a separate
> > folder from the
> > > sources:
> > > #!/bin/bash
> > > ../gcc-2.95.2/configure --prefix=/usr/local/i686-gcc
> > --enable-languages=c++
> > >
> > > It (correctly, I think) recognises the host (and target) as
> > i686-pc-cygwin
> > > and all seems to configure OK, but when I "make bootstrap"
> > it, it fails,
> > > because it can't find "windows.h".
> > > It compile a lot of other files OK, so I guess it finds all
> > the rest of the
> > > header files OK, it just doesn't like this one.
> > > The file is present in /usr/include/w32api, but the
> > compiler doesn't seem to
> > > be looking in here for it.
> > > Can anyone help?  I'm guessing someone has successfully done this.
> > >
> > > I hope this is sufficiently on-topic (i.e. cygwin specific)
> > not to annoy
> > > everyone on here, and I have tried searching the archives
> > (and various GCC
> > > and cross-GCC FAQs) already, but with no luck.
> > >
> >
> > You'll need to
> >   CC='gcc -mwin32' ../gcc-2.95.2/configure ...
> >
> 
> Thanks Earnie.  Now I have...
> CC='gcc -mwin32'
> ../gcc-2.95.2/configure --prefix=/usr/local --enable-languages=c++
> 
> But now I get a report from gcc that win32 is not a valid option.
> 

Sorry, I thought you were using gcc-2.95.2-7, this switch isn't
available for versions prior to this.  You need to get the Cygwin gcc
source for your build.  Yes there are many significant changes which are
hoped to become a part of the official source tree eventually.  If you
used the CVS version of gcc then possibly many of the changes are there
but some aren't yet.

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

- Raw text -


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