Complete.Org: Mailing Lists: Archives: freeciv-dev: February 1999:
[Freeciv-Dev] Building Under Cygwin
Home

[Freeciv-Dev] Building Under Cygwin

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: <freeciv-dev@xxxxxxxxxxx>
Subject: [Freeciv-Dev] Building Under Cygwin
From: "Todd Goodman" <tsg1@xxxxxxxxxxxxx>
Date: Sun, 28 Feb 1999 11:05:28 -0500

I just wanted to let you know that the latest CVS does not build
without changes on Cygwin.

The problem is that the gcc distributed with Cygwin 20.1 barfs
on the -pipe option with an internal compiler error:

make all-recursive
Making all in data
Making all in default
make[3]: Nothing to be done for `all'.
Making all in civ1
make[3]: Nothing to be done for `all'.
Making all in classic
make[3]: Nothing to be done for `all'.
Making all in common
gcc -DHAVE_CONFIG_H -I. -I. -I..   -g -O2 -Wall -pipe -c capability.c
/home/noer/src/b20/comp-tools/devo/gcc/pexecute.c:245: Internal compiler
error in function pexecute
make[2]: *** [capability.o] Error 33
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive-am] Error 2
/usr/local/src/freeciv/freeciv>

I fixed it by patching configure.in to no longer use the -pipe option.
I'm going to be reporting this problem to the Cygwin list too.

My patch to configure.in is:

    --- configure.in        Sun Feb 28 10:52:22 1999
    +++ configure.in.orig   Sun Feb 28 10:51:40 1999
    @@ -104,8 +104,7 @@
     dnl  AC_PROG_MAKE_SET

     if test -n "$GCC"; then
    -   dnl CFLAGS="$CFLAGS -Wall -pipe"
    -   CFLAGS="$CFLAGS -Wall"
    +   CFLAGS="$CFLAGS -Wall -pipe"
     fi

     if test "$CVS_DEPS" = "maybe"; then

Thanks,

Todd


[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] Building Under Cygwin, Todd Goodman <=