public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
From: "Sheryl Canter" <sheryl@permutations.com>
To: <gcc-help@gcc.gnu.org>
Subject: Re: need help compiling gcc for Windows
Date: Thu, 09 Oct 2003 15:23:00 -0000	[thread overview]
Message-ID: <015901c38e79$44159d00$6401a8c0@tpa21p> (raw)
In-Reply-To: <03c001c38dec$e95efaa0$6401a8c0@tpa21p>

I'm still trying to compile gcc for Windows using msys/mingw, and having
problems. It's failing at a certain point in the build (error output below).
Can anyone tell me how to deal with this? I installed w32api and
mingw-runtime into the prefix directory before building (someone suggested
this to me), but it didn't help. The script still is not finding the header
files. Where are they supposed to go?

    - Sheryl

---------------------

if [ -f stmp-dirs ]; then true; else touch stmp-dirs; fi
/c/gcc-obj-win/gcc/xgcc -B/c/gcc-obj-win/gcc/ -B../gcc-windows/mingw32/bin/
-B../gcc-windows/mingw32/lib/ -isystem
../gcc-windows/mingw32/include -O2 -I../../gcc-src/gcc/../winsup/include -I.
./../gcc-src/gcc/../winsup/cygwin/include -I../../gcc-src/gcc/../winsup/w32a
pi/include -DIN_GCC    -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissin
g-prototypes -isystem
./include   -g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED  -I
. -I. -I../../gcc-src/gcc -I../../gcc-src/gcc/. -I../../gcc-src/gcc/config -
I../../gcc-src/gcc/../include  -DL_muldi3 -c ../../gcc-src/gcc/libgcc2.c -o
libgcc/./_muldi3.o
In file included from ../../gcc-src/gcc/config/i386/mingw32.h:32,
                 from tconfig.h:17,
                 from ../../gcc-src/gcc/libgcc2.c:36:
../../gcc-src/gcc/config/i386/cygwin.h:30:19: stdio.h: No such file or
directory
In file included from ../../gcc-src/gcc/config/i386/mingw32.h:32,
                 from tconfig.h:17,
                 from ../../gcc-src/gcc/libgcc2.c:36:
../../gcc-src/gcc/config/i386/cygwin.h:415: error: parse error before '*'
token
../../gcc-src/gcc/config/i386/cygwin.h:415: warning: function declaration
isn't a prototype
../../gcc-src/gcc/config/i386/cygwin.h:417: error: parse error before '*'
token
../../gcc-src/gcc/config/i386/cygwin.h:417: warning: function declaration
isn't a prototype
In file included from ../../gcc-src/gcc/libgcc2.c:37:
../../gcc-src/gcc/tsystem.h:72:19: stdio.h: No such file or directory
../../gcc-src/gcc/tsystem.h:75:23: sys/types.h: No such file or directory
../../gcc-src/gcc/tsystem.h:78:19: errno.h: No such file or directory
../../gcc-src/gcc/tsystem.h:85:20: string.h: No such file or directory
../../gcc-src/gcc/tsystem.h:89:20: stdlib.h: No such file or directory
../../gcc-src/gcc/tsystem.h:90:20: unistd.h: No such file or directory
In file included from c:/gcc-obj-win/gcc/include/limits.h:122,
                 from c:/gcc-obj-win/gcc/include/syslimits.h:7,
                 from c:/gcc-obj-win/gcc/include/limits.h:11,
                 from ../../gcc-src/gcc/tsystem.h:93,
                 from ../../gcc-src/gcc/libgcc2.c:37:
include/limits.h:122:75: no include path in which to find limits.h
In file included from ../../gcc-src/gcc/libgcc2.c:37:
../../gcc-src/gcc/tsystem.h:96:18: time.h: No such file or directory
make[2]: *** [libgcc/./_muldi3.o] Error 1
make[2]: Leaving directory `/c/gcc-obj-win/gcc'
make[1]: *** [libgcc.a] Error 2
make[1]: Leaving directory `/c/gcc-obj-win/gcc'
make: *** [all-gcc] Error 2


  parent reply	other threads:[~2003-10-09 15:23 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-10-07 13:15 cross compiling question Sheryl Canter
2003-10-08  2:27 ` need help compiling for Windows Sheryl Canter
2003-10-08  4:52   ` Sheryl Canter
2003-10-08  5:16   ` Philip Walford
2003-10-08  5:26     ` Sheryl Canter
2003-10-08 13:36   ` Sheryl Canter
2003-10-08 16:08     ` need help compiling gcc " Sheryl Canter
2003-10-08 21:15       ` Sheryl Canter
2003-10-08 22:38         ` Sheryl Canter
2003-10-09 14:26           ` Andy Howell
2003-10-09 15:20             ` Sheryl Canter
2003-10-09 15:23           ` Sheryl Canter [this message]
2003-10-09 18:48             ` Sheryl Canter
2003-10-09 21:53               ` Sheryl Canter

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='015901c38e79$44159d00$6401a8c0@tpa21p' \
    --to=sheryl@permutations.com \
    --cc=gcc-help@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).