Please recheck now. I've just finished testing my local project with new hbmk2 -inc functionality and after setting up .hbm files, they beautifully work for all compilers (and also platforms, but I've yet to try). Thus replacing my local mesh of .sh, GNU Make and GCC/BCC/MSVC make files for all platforms. This will mean 1 file per project to keep and maintain.
Similarly, 3rd party Harbour developers may use hbmk2 as their portable make system. At least for Harbour builds. Brdgs, Viktor On Tue, Apr 14, 2009 at 2:26 PM, Viktor Szakáts <harbour...@syenar.hu>wrote: > Found it: Stupid error in hbmk2, please add .prg extension to test1 until I > fix it. > Brgds, > Viktor > > > On Tue, Apr 14, 2009 at 2:12 PM, Massimo Belgrano <mbelgr...@deltain.it>wrote: > >> here it not display anything like target up to date >> Here is my result >> >> c:\harbour\max\test>hbmk2 test1 -inc >> hbmk: Processing configuration: c:\harbour\mingw\bin\hbmk.cfg >> Compiling Harbour sources... >> Harbour 1.1.0dev (Rev. 10854) >> Copyright (c) 1999-2009, http://www.harbour-project.org/ >> Compiling 'test1.prg'... >> Lines 27004, Functions/Procedures 9001 >> Generating C source output to 'win\mingw\test1.c'... Done. >> Compiling... >> Linking... >> >> >> c:\harbour\max\test>hbmk2 test1 -inc >> hbmk: Processing configuration: c:\harbour\mingw\bin\hbmk.cfg >> Compiling Harbour sources... >> Harbour 1.1.0dev (Rev. 10854) >> Copyright (c) 1999-2009, http://www.harbour-project.org/ >> Compiling 'test1.prg'... >> Lines 27004, Functions/Procedures 9001 >> Generating C source output to 'win\mingw\test1.c'... Done. >> Compiling... >> Linking... >> >> >> c:\harbour\max\test>hbmk2 //info >> Harbour Terminal: Raw stream console >> Harbour 1.1.0dev (Rev. 10854) >> Windows Vista 6.0.6001 Service Pack 1 >> DS avail=993984KB OS avail=2066784KB EMM avail=0KB MemStat:On MT:Off >> Harbour Make 1.1.0dev (Rev. 10854) >> Copyright (c) 1999-2009, Viktor Szakats >> http://www.harbour-project.org/ >> >> 2009/4/14 Viktor Szakáts <harbour...@syenar.hu>: >> > I don't know what's not working for you, maybe you've >> > misunderstood the meaning of -inc. >> > Here is my test run, which shows that it's working. Notice >> > the second run of hbmk2 test1, which shows: "target up to date". >> > If you then touch test1.prg, test1.exe will automatically be built >> > on the next run. But I'm sure you know what incremental make >> > means. >> > --- >> > C:\devl\hbvc-1.1\bin>vc8 hbmk2.exe crea.prg -run >> > Setting environment for using Microsoft Visual Studio 2005 x86 tools. >> > hbmk: Processing configuration: C:\devl\hbvc-1.1\bin\hbmk.cfg >> > Harbour 1.1.0dev (Rev. 10854) >> > Copyright (c) 1999-2009, http://www.harbour-project.org/ >> > Compiling 'crea.prg'... >> > Lines 15, Functions/Procedures 1 >> > Generating C source output to 'crea.c'... Done. >> > crea.c >> > >> > C:\devl\hbvc-1.1\bin>vc8 hbmk2.exe test1.prg -inc >> > Setting environment for using Microsoft Visual Studio 2005 x86 tools. >> > hbmk: Processing configuration: C:\devl\hbvc-1.1\bin\hbmk.cfg >> > Compiling Harbour sources... >> > Harbour 1.1.0dev (Rev. 10854) >> > Copyright (c) 1999-2009, http://www.harbour-project.org/ >> > Compiling 'test1.prg'... >> > Lines 27004, Functions/Procedures 9001 >> > Generating C source output to 'win\msvc\test1.c'... Done. >> > Compiling... >> > test1.c >> > Linking... >> > >> > C:\devl\hbvc-1.1\bin>vc8 hbmk2.exe test1.prg -inc >> > Setting environment for using Microsoft Visual Studio 2005 x86 tools. >> > hbmk: Processing configuration: C:\devl\hbvc-1.1\bin\hbmk.cfg >> > hbmk: Target up to date: test1.exe >> > --- >> > Brgds, >> > Viktor >> > On Tue, Apr 14, 2009 at 12:26 PM, Massimo Belgrano < >> mbelgr...@deltain.it> >> > wrote: >> >> >> >> I have created a prg that create a large test1.prg and run with hbmk2 >> crea >> >> -run >> >> mingw from last cvs >> >> func main >> >> x_handle=fcreate("test1.prg") >> >> fwrite(x_handle,"func main"+chr(13)+chr(10)) >> >> fwrite(x_handle,"test0001()"+chr(13)+chr(10)) >> >> fwrite(x_handle,"return"+chr(13)+chr(10)) >> >> fwrite(x_handle,""+chr(13)+chr(10)) >> >> >> >> for a=1 to 9000 >> >> x_num=right("0000"+alltrim(str(a)),4) >> >> fwrite(x_handle,"func test"+x_num+chr(13)+chr(10)) >> >> fwrite(x_handle,"return"+chr(13)+chr(10) ) >> >> fwrite(x_handle,""+chr(13)+chr(10)) >> >> next a >> >> >> >> fclose(x_handle) >> >> >> >> If i repeat more times without modify >> >> hbmk2 test1 -inc >> >> incremental seem not work >> >> >> >> >> >> >> >> 2009/4/14 Viktor Szakáts <harbour...@syenar.hu>: >> >> > >From r10849 it's ready for testing, and feedback is now appreciated. >> >> > Run this command twice: >> >> > 'hbmk2 test1 test2 test3.c test4.rc test5.obj -inc' >> >> > Then experiment with modifying sources. >> >> > Brgds, >> >> > Viktor >> >> > >> >> > On Mon, Apr 13, 2009 at 11:55 AM, Massimo Belgrano >> >> > <mbelgr...@deltain.it> >> >> > wrote: >> >> >> >> >> >> it is a very good idea >> >> >> I stay tuned >> >> >> >> >> >> 2009/4/13 Viktor Szakáts <harbour...@syenar.hu>: >> >> >> > I meant incremental build, but it's nothing yet, please ignore it >> for >> >> >> > now. >> >> >> > Brgds, >> >> >> > Viktor >> >> >> > >> >> >> > On Mon, Apr 13, 2009 at 11:25 AM, Massimo Belgrano >> >> >> > <mbelgr...@deltain.it> >> >> >> > wrote: >> >> >> >> >> >> >> >> What is incremental link? >> >> >> >> Is different from incremental compilation? >> >> >> >> >> >> >> >> >> >> >> >> 2009/4/13 <vszak...@users.sourceforge.net>: >> >> >> >> > Revision: 10844 >> >> >> >> > >> >> >> >> > >> >> >> >> > >> >> >> >> > >> http://harbour-project.svn.sourceforge.net/harbour-project/?rev=10844&view=rev >> >> >> >> > Author: vszakats >> >> >> >> > Date: 2009-04-13 08:53:53 +0000 (Mon, 13 Apr 2009) >> >> >> >> > + Started -inc (incremental link) support. It's very early >> >> >> >> > stage, don't expect it to work yet and please don't report >> >> >> >> > any problems with this feature yet. >> >> >> >> > >> >> >> >> > >> >> >> >> >> >> >> >> >> >> >> >> -- >> >> >> >> Massimo Belgrano >> >> >> >> _______________________________________________ >> >> >> >> Harbour mailing list >> >> >> >> Harbour@harbour-project.org >> >> >> >> http://lists.harbour-project.org/mailman/listinfo/harbour >> >> >> > >> >> >> > >> >> >> > _______________________________________________ >> >> >> > Harbour mailing list >> >> >> > Harbour@harbour-project.org >> >> >> > http://lists.harbour-project.org/mailman/listinfo/harbour >> >> >> > >> >> >> > >> >> >> >> >> >> >> >> >> >> >> >> -- >> >> >> Massimo Belgrano >> >> >> _______________________________________________ >> >> >> Harbour mailing list >> >> >> Harbour@harbour-project.org >> >> >> http://lists.harbour-project.org/mailman/listinfo/harbour >> >> > >> >> > >> >> > _______________________________________________ >> >> > Harbour mailing list >> >> > Harbour@harbour-project.org >> >> > http://lists.harbour-project.org/mailman/listinfo/harbour >> >> > >> >> > >> >> >> >> >> >> >> >> -- >> >> Massimo Belgrano >> >> _______________________________________________ >> >> Harbour mailing list >> >> Harbour@harbour-project.org >> >> http://lists.harbour-project.org/mailman/listinfo/harbour >> > >> > >> > _______________________________________________ >> > Harbour mailing list >> > Harbour@harbour-project.org >> > http://lists.harbour-project.org/mailman/listinfo/harbour >> > >> > >> >> >> >> -- >> Massimo Belgrano >> >> Analisi e sviluppo software per Lan e Web - Consulenza informatica - >> Formazione >> Delta Informatica S.r.l. http://www.deltain.it/ +39 0321 455962 >> _______________________________________________ >> Harbour mailing list >> Harbour@harbour-project.org >> http://lists.harbour-project.org/mailman/listinfo/harbour >> > >
_______________________________________________ Harbour mailing list Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour