This is the mail archive of the
cygwin-xfree@cygwin.com
mailing list for the Cygwin XFree86 project.
RE: esound.dll
- To: "Robert Collins" <robert dot collins at itdomain dot com dot au>
- Subject: RE: esound.dll
- From: "Harold Hunt" <huntharo at msu dot edu>
- Date: Sun, 28 Oct 2001 23:59:16 -0500
- Cc: "cygx" <cygwin-xfree at cygwin dot com>
> Try adding --host=i686-pc-cygwin --target=i686-pc-cygwin and see if that
> stops it's confusion.
Just configured with both flags, and I get the following interesting output:
checking host system type... i686-pc-cygwin
checking build system type... i686-pc-cygwin
checking for gcc... gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
[...]
creating libtool
checking if libtool supports shared libraries... yes
checking for gcc... (cached) gcc
checking whether the C compiler (gcc -g -O2 ) works... yes
checking whether the C compiler (gcc -g -O2 ) is a cross-compiler... yes
[...]
checking for off_t... yes
checking for size_t... yes
checking size of off_t... configure: error: can not run test program while
cross
compiling
First it thinks I'm not cross compiling, then it decides that I am cross
compiling. Weird.
Harold
> -----Original Message-----
> From: cygwin-xfree-owner@sources.redhat.com
> [mailto:cygwin-xfree-owner@sources.redhat.com]On Behalf Of Robert
> Collins
> Sent: Sunday, October 28, 2001 11:56 PM
> To: Harold Hunt
> Cc: cygx
> Subject: RE: esound.dll
>
>
> On Mon, 2001-10-29 at 11:01, Harold Hunt wrote:
> > Robert,
> >
> > conftest apparently fails to build because __MINGW32__ is undefined.
> > Relevant config.log output attached.
>
> That shouldn't cause the failue- it's well before the erroneous test.
>
> Try adding --host=i686-pc-cygwin --target=i686-pc-cygwin and see if that
> stops it's confusion.
>
> Rob
>
> > Harold
> >
> >
> >
> > This file contains any messages produced by compilers while
> > running configure, to aid debugging if configure makes a mistake.
> >
> > configure:710: checking for style of include used by make
> > configure:741: checking for Cygwin environment
> > configure:757: cc -c conftest.c 1>&5
> > configure:774: checking for mingw32 environment
> > configure:786: cc -c conftest.c 1>&5
> > configure: In function `main':
> > configure:782: `__MINGW32__' undeclared (first use in this function)
> > configure:782: (Each undeclared identifier is reported only once
> > configure:782: for each function it appears in.)
> > configure: failed program was:
> > #line 779 "configure"
> > #include "confdefs.h"
> >
> > int main() {
> > return __MINGW32__;
> > ; return 0; }
> > configure:803: checking how to run the C preprocessor
> > configure:824: cc -E conftest.c >/dev/null 2>conftest.out
> > configure:935: checking for a BSD compatible install
> > configure:988: checking whether build environment is sane
> > configure:1059: checking for mawk
> > configure:1059: checking for gawk
> > configure:1089: checking whether make sets ${MAKE}
> > configure:1284: checking host system type
> > configure:1305: checking build system type
> > configure:1325: checking for gcc
> > configure:1438: checking whether the C compiler (gcc ) works
> > configure:1454: gcc -o conftest conftest.c 1>&5
> > configure:1480: checking whether the C compiler (gcc ) is a
> cross-compiler
> >
>
>