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]

"target install/include/pkgconf is not a valid existing directory"


Folks,

FWIW, I tried building the command line ecosconfig.exe under cygwin on NT
yesterday (i.e. NOT the MSDEV/graphical tools). Initially, I got the error
messsage

"target install/include/pkgconf is not a valid existing directory"

when doing 'ecosconfig tree'. I tracked this down to generate_build_tree in
build.cxx.

For fun, I guessed paths weren't getting set up correctly so I hacked out
the #ifdef _WIN32 and forced the inclusion of the path fixup code in
$ECOS_REPOSITORY\host\tools\configtool\common\common\build.cxx line 548ish.

All works a treat. 

I know this is a gross hack - if I've missed something them pls let me know.

Cheers,

John

$ECOS_REPOSITORY\host\tools\configtool\common\common\build.cxx line 548ish.

// generates the directory structure for the build and install trees
bool generate_build_tree (const CdlConfiguration config, const std::string
build_tree, const std::string install_tree /* = "" */ ) {
/* #ifdef _WIN32 [jag] */
#if 1
	// 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


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