This is the mail archive of the
ecos-patches@sources.redhat.com
mailing list for the eCos project.
Updated CDL project for Visual C++
- From: John Dallaway <jld at ecoscentric dot com>
- To: ecos-patches at sources dot redhat dot com
- Date: Mon, 3 Feb 2003 17:57:51 +0000
- Subject: Updated CDL project for Visual C++
- Organization: eCosCentric Limited
This patch allows libCDL to be built using Visual C++ against recent
versions of the Cygwin tcltk package which no longer provide a Tcl
shell named cygtclsh80.
John Dallaway
--cut here--
Index: ChangeLog
===================================================================
RCS file: /cvs/ecos/ecos/host/libcdl/ChangeLog,v
retrieving revision 1.23
diff -u -5 -r1.23 ChangeLog
--- ChangeLog 22 Dec 2002 11:20:47 -0000 1.23
+++ ChangeLog 3 Feb 2003 15:13:50 -0000
@@ -1,5 +1,9 @@
+2003-02-03 John Dallaway <jld@ecoscentric.com>
+
+ * cdl.dsp: Call tclsh rather than cygtclsh80 in custom build rule.
+
2002-12-22 Nick Garnett <nickg@ecoscentric.com>
* doc/.cvsignore: Added this file to ignore generated HTML files.
2002-09-21 Bart Veer <bartv@ecoscentric.com>
Index: cdl.dsp
===================================================================
RCS file: /cvs/ecos/ecos/host/libcdl/cdl.dsp,v
retrieving revision 1.6
diff -u -5 -r1.6 cdl.dsp
--- cdl.dsp 19 Oct 2001 07:02:26 -0000 1.6
+++ cdl.dsp 3 Feb 2003 15:13:52 -0000
@@ -119,16 +119,14 @@
IntDir=V:\cdl\Release\build
OutDir=V:\cdl\Release
InputPath=.\ChangeLog
BuildCmds= \
- if not exist $(IntDir)\tools\configtool\standalone\common\Makefile sh -c "ECOSHOST=`echo ""puts [ file attributes [ pwd ] -shortname ]"" | cygtclsh80`/.. ; echo ""ECOSHOST=$ECOSHOST"" ; echo ""TCLHOME=$TCLHOME"" ; mkdir -p `cygpath -u ""$(IntDir)""` ; cd `cygpath -u ""$(IntDir)""` && CC=cl CXX=cl `cygpath -u ""$ECOSHOST""`/configure --prefix=`cygpath -u ""$(OutDir)""` --with-tcl=`cygpath -u ""$TCLHOME""` --with-tcl_version=82" \
+ if not exist $(IntDir)\tools\configtool\standalone\common\Makefile sh -c "ECOSHOST=`echo ""puts [ file attributes [ pwd ] -shortname ]"" | tclsh`/.. ; echo ""ECOSHOST=$ECOSHOST"" ; echo ""TCLHOME=$TCLHOME"" ; mkdir -p `cygpath -u ""$(IntDir)""` ; cd `cygpath -u ""$(IntDir)""` && CC=cl CXX=cl `cygpath -u ""$ECOSHOST""`/configure --prefix=`cygpath -u ""$(OutDir)""` --with-tcl=`cygpath -u ""$TCLHOME""` --with-tcl_version=82" \
cd $(IntDir) \
v: \
- cd infra && make --unix install \
- cd ..\libcdl && make --unix install \
- cd .. \
+ make --unix install \
"$(OutDir)\lib\cdl.lib" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
$(BuildCmds)
@@ -142,16 +140,14 @@
IntDir=V:\cdl\Debug\build
OutDir=V:\cdl\Debug
InputPath=.\ChangeLog
BuildCmds= \
- if not exist $(IntDir)\tools\configtool\standalone\common\Makefile sh -c "ECOSHOST=`echo ""puts [ file attributes [ pwd ] -shortname ]"" | cygtclsh80`/.. ; echo ""ECOSHOST=$ECOSHOST"" ; echo ""TCLHOME=$TCLHOME"" ; mkdir -p `cygpath -u ""$(IntDir)""` ; cd `cygpath -u ""$(IntDir)""` && CC=cl CXX=cl `cygpath -u ""$ECOSHOST""`/configure --prefix=`cygpath -u ""$(OutDir)""` --with-tcl=`cygpath -u ""$TCLHOME""` --with-tcl_version=82d --enable-debug --enable-maintainer-mode" \
+ if not exist $(IntDir)\tools\configtool\standalone\common\Makefile sh -c "ECOSHOST=`echo ""puts [ file attributes [ pwd ] -shortname ]"" | tclsh`/.. ; echo ""ECOSHOST=$ECOSHOST"" ; echo ""TCLHOME=$TCLHOME"" ; mkdir -p `cygpath -u ""$(IntDir)""` ; cd `cygpath -u ""$(IntDir)""` && CC=cl CXX=cl `cygpath -u ""$ECOSHOST""`/configure --prefix=`cygpath -u ""$(OutDir)""` --with-tcl=`cygpath -u ""$TCLHOME""` --with-tcl_version=82d --enable-debug --enable-maintainer-mode" \
cd $(IntDir) \
v: \
- cd infra && make --unix install \
- cd ..\libcdl && make --unix install \
- cd .. \
+ make --unix install \
"$(OutDir)\lib\cdl.lib" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
$(BuildCmds)
@@ -165,16 +161,14 @@
IntDir=v:\cdl\Debug\build
OutDir=v:\cdl\Debug
InputPath=.\ChangeLog
BuildCmds= \
- if not exist $(IntDir)\tools\configtool\standalone\common\Makefile sh -c "ECOSHOST=`echo ""puts [ file attributes [ pwd ] -shortname ]"" | cygtclsh80`/.. ; echo ""ECOSHOST=$ECOSHOST"" ; echo ""TCLHOME=$TCLHOME"" ; mkdir -p `cygpath -u ""$(IntDir)""` ; cd `cygpath -u ""$(IntDir)""` && CC=cl CXX=cl `cygpath -u ""$ECOSHOST""`/configure --prefix=`cygpath -u ""$(OutDir)""` --with-tcl=`cygpath -u ""$TCLHOME""` --with-tcl_version=82 --enable-debug --enable-maintainer-mode" \
+ if not exist $(IntDir)\tools\configtool\standalone\common\Makefile sh -c "ECOSHOST=`echo ""puts [ file attributes [ pwd ] -shortname ]"" | tclsh`/.. ; echo ""ECOSHOST=$ECOSHOST"" ; echo ""TCLHOME=$TCLHOME"" ; mkdir -p `cygpath -u ""$(IntDir)""` ; cd `cygpath -u ""$(IntDir)""` && CC=cl CXX=cl `cygpath -u ""$ECOSHOST""`/configure --prefix=`cygpath -u ""$(OutDir)""` --with-tcl=`cygpath -u ""$TCLHOME""` --with-tcl_version=82d --enable-debug --enable-maintainer-mode" \
cd $(IntDir) \
v: \
- cd infra && make --unix install \
- cd ..\libcdl && make --unix install \
- cd .. \
+ make --unix install \
"$(OutDir)\lib\cdl.lib" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
$(BuildCmds)
@@ -189,16 +183,14 @@
OutDir=V:\cdl\Release
InputPath=.\ChangeLog
BuildCmds= \
echo $(PATH) \
- if not exist $(IntDir)\tools\configtool\standalone\common\Makefile sh -c "ECOSHOST=`echo ""puts [ file attributes [ pwd ] -shortname ]"" | cygtclsh80`/.. ; echo ""ECOSHOST=$ECOSHOST"" ; echo ""TCLHOME=$TCLHOME"" ; mkdir -p `cygpath -u ""$(IntDir)""` ; cd `cygpath -u ""$(IntDir)""` && CC=cl CXX=cl `cygpath -u ""$ECOSHOST""`/configure --prefix=`cygpath -u ""$(OutDir)""` --with-tcl=`cygpath -u ""$TCLHOME""` --with-tcl_version=82" \
+ if not exist $(IntDir)\tools\configtool\standalone\common\Makefile sh -c "ECOSHOST=`echo ""puts [ file attributes [ pwd ] -shortname ]"" | tclsh`/.. ; echo ""ECOSHOST=$ECOSHOST"" ; echo ""TCLHOME=$TCLHOME"" ; mkdir -p `cygpath -u ""$(IntDir)""` ; cd `cygpath -u ""$(IntDir)""` && CC=cl CXX=cl `cygpath -u ""$ECOSHOST""`/configure --prefix=`cygpath -u ""$(OutDir)""` --with-tcl=`cygpath -u ""$TCLHOME""` --with-tcl_version=82" \
cd $(IntDir) \
v: \
- cd infra && make --unix install \
- cd ..\libcdl && make --unix install \
- cd .. \
+ make --unix install \
"$(OutDir)\lib\cdl.lib" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
$(BuildCmds)