This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
need help on building a cross envmnt
- To: gnu-win32 at cygnus dot com
- Subject: need help on building a cross envmnt
- From: Christoph Kukulies <kuku at gilberto dot physik dot RWTH-Aachen dot DE>
- Date: Tue, 5 Aug 1997 16:07:17 +0200 (MEST)
It's too weird: I'm still having a couple of stumbling blocks
getting a gnu-win32 cross compiler built.
(OS is FreeBSD 3.0-current), this is what I typed:
./configure -v --target=i386-cygwin32 --host=i386-unknown-freebsd3.0
I had to hand edit some glitches in texinfo/info/terminal.c:
#if defined (HAVE_TERMIOS_H) || defined (HAVE_TERMIO_H)
ttybuff.c_iflag &= (~ISTRIP & ~INLCR & ~IGNCR & ~ICRNL & ~IXON);
#ifdef __FreeBSD__ <<<<<
ttybuff.c_oflag &= (~ONLCR ); <<<<<
#else <<<<<
ttybuff.c_oflag &= (~ONLCR & ~OCRNL);
#endif
I don't like putting things like this inmidst the code
and it should be better filtered out by appropriate
config define's.
The other was an inconsistent definition of sys_errlist in some
source file.
Now the biggest stumbling block seems to me this one
(if not others will occur):
making sub-all in emacs
rm -f SYSCALLS.c tmp-SYSCALLS.s
cat ./sys-types.h ./sys-protos.h > SYSCALLS.c
/home/kuku/gnuwin32/cdk/gcc/xgcc -B/home/kuku/gnuwin32/cdk/gcc/ -DCROSS_COMPILE -DIN_GCC -g -I./include -I. -I. -I./config -aux-info SYSCALLS.c.X -S -o tmp-SYSCALLS.s SYSCALLS.c
SYSCALLS.c:86: stddef.h: No such file or directory
*** Error code 1
Stop.
*** Error code 1
Stop.
I see stddef in gcc/ginclude and in /usr/include (the latter not being
relevant here, I think) but I wonder what's screwed in the cdk distribution
such that it doesn't compile smoothly.
--
Chris Christoph P. U. Kukulies kuku@gil.physik.rwth-aachen.de
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".