From: gwesp AT cosy DOT sbg DOT ac DOT at (Gerhard Wesp) Subject: Re: Crosscompile 7 Mar 1997 09:36:14 -0800 Approved: cygnus DOT gnu-win32 AT cygnus DOT com Distribution: cygnus Message-ID: References: <199703060900 DOT KAA25297 AT grizzly DOT cosy DOT sbg DOT ac DOT at> <199703070255 DOT LAA14722 AT exa DOT onlab DOT ntt DOT co DOT jp> Mime-Version: 1.0 Original-To: hasegawa AT exa DOT onlab DOT ntt DOT co DOT jp (HASEGAWA Kay) Original-Cc: gnu-win32 AT cygnus DOT com X-Mailer: Mutt 0.57 In-Reply-To: <199703070255.LAA14722@exa.onlab.ntt.co.jp>; from HASEGAWA Kay on Mar 7, 1997 11:55:04 +0900 Original-Sender: owner-gnu-win32 AT cygnus DOT com Hi all, I did the compile today and was surprised how smooth it worked. The only problem was that it couldn't build libreadline because of a missing termcap.h. But I don't need that one anyway. However, the mywinsock.h include file still doesn't work. I get the following errors: In file included from test.c:1: /usr/local/lib/gcc-lib/i486-pc-cygwin32/cygnus-2.7.2-961023/../../../../i486-pc-cygwin32/include/mywinsock.h:87: syntax error before `u_short' /usr/local/lib/gcc-lib/i486-pc-cygwin32/cygnus-2.7.2-961023/../../../../i486-pc-cygwin32/include/mywinsock.h:767: syntax error before string constant /usr/local/lib/gcc-lib/i486-pc-cygwin32/cygnus-2.7.2-961023/../../../../i486-pc-cygwin32/include/mywinsock.h:809: syntax error before `}' Should I use mywinsock.h? Or am I supposed to use the original winsock.h from M$ Visual C? Greetings, -Gerhard HASEGAWA Kay writes: > What I did was following; > 1)un-tar cdksrc.tar in SRC=/usr/local/src/cygwin32 for example, > 2)mkdir $(SRC)/i586-pc-cygwin32 ,and cd there > 3)../configure --target=i586-pc-cygwin32 --host=i586-pc-linux > 4)make, then install > > I think making cross-compiler from original gcc would be tough with/without > MSV++ headers. - For help on using this list, send a message to "gnu-win32-request AT cygnus DOT com" with one line of text: "help".