This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Building the Host tools on Windows


Srdjan Sobajic wrote:
> 
> I'm trying to build the host tools on Windows in Visual Studio 6.
[snip] 
> It seems that the build is using the cygwin headers for "Types.h" and some
> other system headers and,
> on the other hand, relying on VCs internal headers for STL. I haven't really
> found much documentation
> other than "Open the project in VS and build." for the tools, so I was
> wondering if anyone could shed
> some light on this. (I grabbed the sources from CVS the yesterday(?).)

It shouldn't be using cygwin's sys/types.h at all. What is potentially
happening is that the search for a Tcl installation is picking up the
cygwin version of Tcl. For a VC++ build, this isn't meant to happen; but
Bart just happened to be looking at this today and has checked some fixes
into our internal source tree to prevent it happening in future.

But for you right now, what you need to do is make sure that in the custom
build step in VC++, the libcdl configure macro is invoked with a --with-tcl
argument that points to a valid installation of Scriptics TCL.

Once you do get going, I'd be interested if you could submit a patch for
the README to clarify the areas where you think it could be improved.

Jifl
-- 
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]