This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
RE: cygwin building redboot problem
- To: Warren Jasper <Warren dot Jasper at bops dot com>,"'BG Labs'" <bglabs at home dot com>, ecos-discuss at sources dot redhat dot com
- Subject: RE: [ECOS] cygwin building redboot problem
- From: Julian Smart <julians at redhat dot com>
- Date: Wed, 29 Aug 2001 15:35:04 +0100
Someone recently suggested this fix to the source (or a suggestion that I
interpreted as this :-)). Change the first few lines of generate_built_tree
in ecc\host\tools\configtool\common\common\build.cxx to this:
bool generate_build_tree (const CdlConfiguration config, const std::string
build_tree, const std::string install_tree /* = "" */ ) {
#if defined(_WIN32) || defined(__CYGWIN__)
// convert backslash directory separators to forward slashes under
Win32
const std::string build_dir = replace_char (build_tree, '\\', '/');
const std::string install_dir = install_tree.empty () ? build_dir
+ "/install" : replace_char (install_tree, '\\', '/');
#else
const std::string build_dir = build_tree;
const std::string install_dir = install_tree.empty () ? build_dir
+ "/install" : install_tree;
#endif
so the backslash to forward slash conversion happens when compiling under
Cygwin as well as VC++.
I'm entirely sure this will answer your question but it may be worth a shot.
Regards,
Julian
At 09:49 AM 8/29/01 -0400, Warren Jasper wrote:
>I'm seeing the same problem on Windows 2K. On Brad's advice I did the
>following:
>
>1. cp /usr/lib/libtcl80.a /usr/lib/libtcl.a
>2. ../host/configure --with-tcl-header=/usr --with-tcl-lib=/
>3. make
>4. make install
>
>ecosconfig made and installed with no errors. Everything runs
>except when I try to make a tree.
>
>I get the same error about invalid directory install/include/pkgconf.
>
>So I tried:
>
>mkdir -p install/include/pkgconif
>
>Now ecosconfig tree runs to completion, but does not create anything.
>
>I tried to the -v option, but ecosconfig is not very verbose, as no
>messages came out.
>
>Has anybody been able to compile and run ecosconfig under Windows 2K?
>I have configured and run ecosconfig under Linux with no problems,
>but am having a heck of a time under Cygwin version 1.1.8 (0.34/3/2)
>
>Thanks,
>
>Warren
>
>-----Original Message-----
>From: BG Labs [mailto:bglabs@home.com]
>Sent: Tuesday, August 28, 2001 2:03 AM
>To: ecos-discuss@sources.redhat.com
>Subject: [ECOS] cygwin building redboot problem
>
>
>
>I've sucessfully built the ecosconfig tool on cygwin under Win2k using the
>latest CVS sources. Problem is when I try to create the tree using
>"ecosconfig tree" I always get a message indicating the
>install/include/pkgconf directory is not valid. The directory is actually
>missing. The target was "fads" with the "all" template because the
>"redboot" template complains about virtual vector support that I can't get
>rid of. I'm about to ditch cygwin and move to a red hat platform in hopes
>this would work better.
>
>Any ideas?
>
> Thanks,
> - Brad
--
Red Hat UK Ltd, Unit 200 Rustat House, 62 Clifton Road, Cambridge, UK. CB1
7EG Tel: +44 (1223) 271063