correct
hbmk2 test1.prg -inc
hbmk: Processing configuration: c:\harbour\mingw\bin\hbmk.cfg
hbmk: Target up to date: test1.exe


Works right also in library creation
hbmk2 delta.prg ACHOICE.PRG APPEND_D.PRG BOTTON_D.PRG CALCOL_
D.PRG COLOR_D.PRG DEFOPT.PRG EDIDUP_D.PRG EDITA2_D.PRG EDITAR_D.PRG  ERROR_D.PRG
 FILTRO_D.PRG GETSYS_D.PRG GRAFIC_D.PRG LABEL_D.PRG MENU.PRG OBSOL_D.PRG OPEN_D.
PRG PATH_D.PRG PDRIV_D.PRG REPPAR_D.PRG SNAKE_D.PRG STACK_D.PRG STRING_D.PRG TAB
RIG_D.PRG VALID_D.PRG VARIE_D.PRG VISTA2_D.PRG WORDPR_D.PRG  -b -m -D__GTWVT__
-hblib -odelta4hhd.lib -info -trace -inc
hbmk: Using Harbour: c:\harbour\mingw\bin c:\harbour\mingw\include c:\harbour\mi
ngw\lib c:\harbour\mingw\lib
hbmk: Processing configuration: c:\harbour\mingw\bin\hbmk.cfg
hbmk: Target up to date: libdelta4hhd.a

I have same question
hbmk incremental process must/will know also if a lib was updated?
if same library is created (for example) with and without debug  can i
set diferent path for incremental?


2009/4/14 Viktor Szakáts <harbour...@syenar.hu>:
> 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
>
>



-- 
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

Reply via email to