This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: i686-pc-cygwin32 build of 19980628
- To: d dot love at dl dot ac dot uk, egcs at cygnus dot com
- Subject: Re: i686-pc-cygwin32 build of 19980628
- From: mrs at wrs dot com (Mike Stump)
- Date: Thu, 2 Jul 1998 17:50:42 -0700
> To: egcs@cygnus.com
> From: Dave Love <d.love@dl.ac.uk>
> 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.