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" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
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