Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Message-ID: <000701c0bd6f$a60b45b0$9865fea9@edward> From: "edward" To: "Bob Wirka" , References: <3ACBC7A0 DOT E2233F6F AT rtcworks DOT com> Subject: Re: Insight 'make' problem. Date: Wed, 4 Apr 2001 21:27:57 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 X-Apparently-From: Swiftnsavv AT aol DOT com hi bob i haven't looked at the source, but here's a suggestion on tracking it down. find the last compilation command. add -save-temps and -v to the compilation. e.g. CC="gcc -save-temps -v" that creates a .i (for c) or .ii (for c++) file, that contains the *result* of the cpp stage of compilation. i suspect that CHAR is already being #define'd. examine the output (both screen and file) and good hunting. edward ----- Original Message ----- From: "Bob Wirka" To: Sent: Wednesday, April 04, 2001 9:17 PM Subject: Insight 'make' problem. > Hello, > > I'm working in aCygwin environment on Windows 2000 Pro and Win98 > machines; > trying to develop eCos for an i386-elf target. > > I've downloaded the net versions of eCos, Cygwin, binutils, GCC, GDB, > and Insight. Everything works except I can't get Insight to build. I can > build eCos libraries from the configuration tool. I've built the > 'binutils', 'i386-elf-gcc', 'i386-elf-gdb' (without the Insight > wrapper), etc., but the make process for the Insight build fails in the > 'tcl' directory. > > The errors start here (from make.out): > > In file included from /usr/include/w32api/windef.h:143, > from /usr/include/w32api/windows.h:96, > from > /src/gdb/insight-5.0/tcl/cygwin/../generic/tclEnv.c:750: > /usr/include/w32api/winnt.h:48: parse error before `CCHAR' > > The offending line in 'winnt.h' is: > > typedef CHAR CCHAR; > > This problem occurs on both the Win98 and Windows2000 machines in > exactly the same place. I've tried mounting /tmp and /src in both > 'binmode' and 'textmode'; doesn't seem to make a difference. > > Has anyone else seen this? Any suggestions for a fix? > > Thank you, > > Bob Wirka > > -- > Want to unsubscribe from this list? > Check out: http://cygwin.com/ml/#unsubscribe-simple -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple