From mboxrd@z Thu Jan 1 00:00:00 1970 From: mrs@wrs.com (Mike Stump) To: d.love@dl.ac.uk, egcs@cygnus.com Subject: Re: i686-pc-cygwin32 build of 19980628 Date: Thu, 02 Jul 1998 22:44:00 -0000 Message-id: <199807030050.RAA27816@kankakee.wrs.com> X-SW-Source: 1998-07/msg00113.html > To: egcs@cygnus.com > From: Dave Love > Date: 02 Jul 1998 18:03:02 +0100 > I just tried something similar -- tasteless, I know -- using C and > Fortran from that snapshot with a B19.1 base plus Khan's egcs-1.0.2 > and binutils. I had a bit less success so far for some reason. > I configured --prefix, --exec-prefix and --target to match cygwin, Ouch, don't do that! > having to set CC for configure to `gcc'. It looks as though configure > should be happy with gcc in the absence of cc, but it isn't; I haven't > been inspired to investigate. > It fell over building libgcc2 because of conflicting prototypes for > __eprintf. Its third arg is unsigned int in stdlib.h, but just int in > libgcc2.c. Am I missing some cygwin patch for this, perhaps? Configure with a totally new prefix setting. Also, the target is i386-pc-mingw32. This will generate a cross compiler, but it will work. You'll want to use --with-headers and --with-libs... Just point them to the mingw directories.