From a8fe14c2d55a216e065faf3f3d9a1317a981ffff Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Wed, 27 Aug 2008 19:31:25 +0000 Subject: [PATCH] 2008-08-27 21:30 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * make_vcce.bat ! Fixed. * contrib/rddads/make_vc.bat ! Undone previous modification. Quotes are needed to support dirs containing spaces (this is actually the case for the default install dir of ACE SDK). For very old MSVC compilers not understanding quotes in -I (and possibly other) switches, pls specify the external package #include directories directly through: set C_USR=-IC:\mypath\pkg\include and so on. MSVC98 is a very old product and there is probably no way to make all features of our build systems 100% compatible with it, but with this manual workaround, it can properly work (until a recommended VC upgrade :). --- harbour/ChangeLog | 16 ++++++++++++++++ harbour/contrib/rddads/make_vc.bat | 2 +- harbour/make_vcce.bat | 1 - 3 files changed, 17 insertions(+), 2 deletions(-) diff --git a/harbour/ChangeLog b/harbour/ChangeLog index f6b650da3e..c12b58994f 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -8,6 +8,22 @@ 2008-12-31 13:59 UTC+0100 Foo Bar (foo.bar foobar.org) */ +2008-08-27 21:30 UTC+0200 Viktor Szakats (harbour.01 syenar hu) + * make_vcce.bat + ! Fixed. + + * contrib/rddads/make_vc.bat + ! Undone previous modification. Quotes are needed to support + dirs containing spaces (this is actually the case for the + default install dir of ACE SDK). + For very old MSVC compilers not understanding quotes + in -I (and possibly other) switches, pls specify the + external package #include directories directly through: + set C_USR=-IC:\mypath\pkg\include + and so on. MSVC98 is a very old product and there is + probably no way to make all features of our build systems + 100% compatible with it, but with this manual workaround, + it can properly work (until a recommended VC upgrade :). 2008-08-27 17:05 UTC+0100 JF Lefebvre (Mafact) (jfl at mafact dot com) * contrib/rddads/make_vc.bat diff --git a/harbour/contrib/rddads/make_vc.bat b/harbour/contrib/rddads/make_vc.bat index db2e73fcd6..2a6d232830 100644 --- a/harbour/contrib/rddads/make_vc.bat +++ b/harbour/contrib/rddads/make_vc.bat @@ -18,7 +18,7 @@ goto POST_EXIT :DIR_OK if "%HB_INC_ADS%" == "" set HB_INC_ADS=%HB_DIR_ADS% -set CFLAGS=-I%HB_INC_ADS% +set CFLAGS=-I"%HB_INC_ADS%" set _HB_DLL_NAME=ace32 if exist "%HB_DIR_ADS%\Redistribute\%_HB_DLL_NAME%.dll" set _HB_DLL_DIR=%HB_DIR_ADS%\Redistribute if exist "%HB_DIR_ADS%\%_HB_DLL_NAME%.dll" set _HB_DLL_DIR=%HB_DIR_ADS% diff --git a/harbour/make_vcce.bat b/harbour/make_vcce.bat index b84f0a0904..762744cc65 100644 --- a/harbour/make_vcce.bat +++ b/harbour/make_vcce.bat @@ -8,6 +8,5 @@ rem following method in your build environment to create rem an MSVC WinCE build. set HB_BUILD_WINCE=yes -set HB_CC_NAME=vcce call make_vc.bat %1 %2 %3