Hi,

>I guess this should either be:
>@win-make clean install HB_USER_CFLAGS=-MD
>OR kept as is, and the trick suggested by Andi could be 
>used when building hbide:
>@hbmk2 -rebuild hbide.hbp -ldflag=-nodefaultlib:MSVCRT.LIB
-ldflag=-defaultlib:LIBCMT.LIB

Thank you Viktor, Andi.

The Andi's solution is less 'intrusive', so see the merged script variant
below with the same very positive results:

     @echo PREREQUISITES:
     @echo Installed Qt 4.6 for vs2008 to the default directory:
C:/Qt/4.6.0/ ...
     @echo from:
http://get.qt.nokia.com/qt/source/qt-win-opensource-4.6.0-vs2008.exe
     @echo Updated c:\download\harbour with the latest SVN
     @pause

     @set HB_WITH_QT=C:/Qt/4.6.0/include
     @set HB_INSTALL_PREFIX=c:\harbour\msvc
     @call "c:\Program Files\Microsoft Visual Studio 9.0\VC\vcvarsall.bat"
x86
     @cd c:\downloads\harbour
     @win-make clean install

     @set PATH=%PATH%;C:\harbour\msvc\bin
     @cd c:\downloads\harbour\contrib\hbide
@rem @hbmk2 -rebuild hbide.hbp -cflag=-MD
@rem the above line is commented and replaced by the trick suggested by
Andi:
     @hbmk2 -rebuild hbide.hbp -ldflag=-nodefaultlib:MSVCRT.LIB
-ldflag=-defaultlib:LIBCMT.LIB -info -trace
     @cd c:\downloads\harbour\contrib\hbxbp\tests
     @hbmk2 demoxbp.prg -info -trace
     @cd c:\downloads\harbour\contrib\hbqt\tests
     @hbmk2 demoqt.prg -info -trace

     @set PATH=%PATH%;C:\Qt\4.6.0\bin
     @cd c:\downloads\harbour\contrib\hbide
     @hbide
     @pause
     @cd c:\downloads\harbour\contrib\hbxbp\tests
     @demoxbp
     @pause
     @cd c:\downloads\harbour\contrib\hbqt\tests
     @demoqt
     @pause

Best regards,
István


_______________________________________________
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to