Re: [Harbour] HBMK2 problem

2010-05-28 Thread Mindaugas Kavaliauskas
Hi, On 2010.05.28 14:28, Horodyski Marek (PZUZ) wrote: Mindaugas, I link APP with MinGW and use CAIRIO with libcairo-2.dll. What compiler made this dll ? MinGW latest TDM build (if you are talking about lib build by me, from www.dbtopas.lt/hrb Regards, Mindaugas __

RE: [Harbour] HBMK2 problem

2010-05-28 Thread Horodyski Marek (PZUZ)
> -Original Message- > From: Przemysław Czerpak [mailto:dru...@acn.waw.pl] > Sent: Friday, May 28, 2010 11:37 AM > To: Harbour Project Main Developer List. > Subject: Re: [Harbour] HBMK2 problem [ ... ] > what can cause corruption of some HVM structures. So I str

Re: [Harbour] HBMK2 problem

2010-05-28 Thread Viktor Szakáts
Hi Przemek, > It's hard for me to test current OpenWatcom behavior using WINE > because some results can be strictly bound with Linux and WINE > emulation so I cannot say if they are correct or not, i.e. the > things I should test like detaching from terminal and allocating > console windows works

Re: [Harbour] HBMK2 problem

2010-05-28 Thread Przemysław Czerpak
On Thu, 27 May 2010, Szak�ts Viktor wrote: Hi Viktor, > > Alternatively we can move WinMain() to separate library or remove strict > > binding to HVM (hb_forceLinkMainWin()) and add some code to HBMK2 which > > will force linking with WinMain() if necessary (GUI application is created). > > hb_fo

Re: [Harbour] HBMK2 Inquiry

2010-05-27 Thread Viktor Szakáts
Hi Jerry, >> No clue from here, maybe a broken mingw installation. >> To tell more pls post -trace output and hbmk2 cmdline. > > I did some research and found out that > this is a bug from mingw 4.5. It was fixed > before but I don't know why it resurface. > So for now Im dropping 4.5 and wait fo

Re: [Harbour] HBMK2 problem

2010-05-27 Thread Viktor Szakáts
Hi Przemek, >> Another thing I noticed is that I cannot build >> watcom servers, not clients. For servers it >> complains about 'Error! E2030: file clib3s.lib(cstrtwwt): multiple starting >> addresses found', >> for clients there are unresolved symbol, even >> if I comment the special -cflag

Re: [Harbour] HBMK2 Inquiry

2010-05-27 Thread Viktor Szakáts
Hi, > hbmk2: Compiling... > hbmk2: Linking... conso.exe > Info: resolving vtable for __cxxabiv1::__si_class_type_info by linking to > __imp_ > __ZTVN10__cxxabiv120__si_class_type_infoE (auto-import) > Info: resolving vtable for __cxxabiv1::__class_type_info by linking to > __imp___Z > TVN10__cxx

Re: [Harbour] HBMK2 problem

2010-05-27 Thread Przemysław Czerpak
On Wed, 26 May 2010, Szak�ts Viktor wrote: Hi Viktor, > Another thing I noticed is that I cannot build > watcom servers, not clients. For servers it > complains about 'Error! E2030: file clib3s.lib(cstrtwwt): multiple starting > addresses found', > for clients there are unresolved symbol, eve

Re: [Harbour] HBMK2 problem

2010-05-26 Thread Viktor Szakáts
Hi Przemek, > Please try to use hbmk2 to compile some OLE server examples. > > hbmk2 olesrv1.hbp > > hbmk2: Processing local make script: hbmk.hbm > Error BASE/1066 Argument error: conditional (Quit) > Error BASE/1066 Argument error: conditional > Called from FN_EXPAND(0) > Called

Re: [Harbour] hbMK2 - plug_moc.prg

2010-05-25 Thread Viktor Szakáts
Hi Pritpal, > now I am looking at how to construct > "moc" files and include it in the project. > > I need to know how should I pass "params" > leading to moc creation - in .hbp or on the > commandline ? > > A small example will be helpful. Here is a little .hbp sample I used for testing: --

Re: [Harbour] HBMK2 with -rebuild/-clean

2010-05-24 Thread Mario H. Sabado
On 5/24/2010 5:44 PM, harbour-requ...@harbour-project.org wrote: Message: 7 Date: Mon, 24 May 2010 11:04:37 +0200 From: Viktor Szak?ts Subject: Re: [Harbour] HBMK2 with -rebuild/-clean To: "Harbour Project Main Developer List." Message-ID:<6a4214ab-6fef-40c4-96dc-b4615f7a5

Re: [Harbour] HBMK2 with -rebuild/-clean

2010-05-24 Thread Viktor Szakáts
Hi Mario, > I tried the -rebuild parameter (hbmk2 proj1.hbp -rebuild) but I got the > following error: > = > Error BASE/1066 Argument error: conditional (Quit) > Error BASE/1066 Argument error: conditional > Called from HBMK2(0) > Called from MAIN(0) > ==

Re: [Harbour] HBMK2 problem

2010-05-23 Thread Viktor Szakáts
Hi Przemek, > HBMK2 create temporary .c file with non random names in temporary > directory. > It causes that it cannot be used in multiuser environment because > during compilation different HBMK2 processes may overwrite temporary > files. Can you fix it? AFAIK the only .c files created with no

Re: [Harbour] hbMK2 - Feature Request - Auto generated moc_*.cpp files

2010-05-23 Thread Viktor Szakáts
Hi Pritpal, > I am almost done with QScintilla wrappers which completely > isolate the need to host QScintilla sources into our repository, > but still wrappers be genrated from .qth files and placed in > hbqt/qscintilla. > > This folder contents are isolated from the main build system of > hb

Re: [Harbour] hbMK2 - Command Line vs hbIDE - difference

2010-05-20 Thread Viktor Szakáts
Hi Prital, Thanks, it seems mingw is sensitive to ending pathseps in -I options. Pls retry with r14535. Viktor On 2010 May 20, at 09:46, Pritpal Bedi wrote: > > Hello Viktor > > I defined QScintilla ( greatly trimmed ) library project from hbIDE > and could build the library properly. Then

Re: [Harbour] hbMK2 - xHarbour ( Oct 2007 ) - Unresolved External

2010-05-11 Thread Viktor Szakáts
> I am compiling/linking a extremely large project > with hbIDE, hbMK2 ( hbMK2 is slightly modified to supply > sources to Harbour compiler one-by-one, rest remaining the > same as is ) with -xhb switch. Too bad, this way we will never know what the real problem is. Did you read my last e-mail

Re: [Harbour] hbmk2 doc

2010-05-06 Thread Viktor Szakáts
> I have to port some apps from C53+Fivewin16 to Harbour+Bcc+Fivewin32. > > I'm trying to use hbmk2 to replace the old makefiles but I can't find > the proper solutions. > > Where can I find some doc about hbmk2? 1. hbmk2 --help 2. Plenty of live examples in Harbour SVN. (dir /s *.hb*) 3. Massim

Re: [Harbour] hbmk2 doc

2010-05-06 Thread Maurizio Faccio adinet
I think this is a question for users lists. hbmk2 you can see the usage of hbmk2 create an .hbp file that contains. -hblib creates static library -o output file name. and following list all the files that take part of the library Then create another hpb that contains -L the path where you

Re: [Harbour] hbmk2 doc

2010-05-06 Thread Massimo Belgrano
How compile several. PRG & lib? *hbmk2* test1 test2 testn -lmylib1 -lmylib2 -lmylibn *hbmk2* test1 test2 testn -lmylib1 -lmylib2 -lmylibn -w3 -gc3 -otes http://harbourlanguage.blogspot.com/search/label/hbmk2 Send me any correction 2010/5/6 Lorenzo Fiorini > I have to port some apps from C53

Re: [Harbour] hbMK2 - Switch -env: RTE

2010-05-05 Thread Viktor Szakáts
Hi Pritpal, > hbmk2 E:\dev_hbmk\xharbour\cacherdd.hbp -hblib -xhb -q -trace -info -lang=en > -width=512 -rebuild -env:__MT__- > > ... > ... > > Unrecoverable error 9023: hb_xgrab requested to allocate zero bytes > Called from HB_SETENV(0) > Called from HBMK2(945) in ../../../hbmk2.prg > Called

Re: [Harbour] hbMK2 - -xhb issues switch -n by default which breaks process

2010-05-04 Thread Viktor Szakáts
Hi Pritpal, > In -xhb mode hbMK2 is issueing -n switch as > first parameter to harbour.exe no matter if I set it as > -n0 whatever which probably 2007 Xharbour does not understand and > issued Error E001 is > ABC.PRG(32) Error E0001 Statement not allowed outside of procedure or > function. >

Re: [Harbour] hbMK2 - File type checking before calling compile/link commands

2010-04-23 Thread Viktor Szakáts
Hi Pritpal, > In hbIDE project sources I included .ch, .h files > to have them editable from within project node tree. > All went fine upto the point I did not build the project. > hbMK2 is passing all types of sources without checking > if it is a valid source, i.e., .prg, .c, .cpp, .rc, .res, .o

Re: [Harbour] hbmk2 magically morphs into make?

2010-04-12 Thread Alex Strickland
To Viktor and Pritbal Yes, something like Massimo says. Two hbmk2 calls in -hbraw mode plus -u and -o Harbour options. Sorry, I did not make myself clear. It is the compilation conditional based on the time of the source file changing which I wish to exploit (like any make tool). Note that

Re: [Harbour] hbmk2: expanding env vars on windows

2010-04-10 Thread Teo Fonrouge
On Apr 10, 2010, at 8:35 PM, Teo Fonrouge wrote: > Hello, > > On an *.hbc script, there is the following line: > > -i{mingw}${HB_WITH_WX}\..\lib\gcc_lib\msw Ok, now I got a little more knowledge on hbmk2 and I see where the problem is: "\..\" > [snip] Sorry for the noise. best regards,

Re: [Harbour] hbmk2 magically morphs into make?

2010-04-09 Thread Viktor Szakáts
Hi Alex, On 2010 Apr 9, at 17:16, Massimo Belgrano wrote: > i not understad well your question > hbmk2 will use all flag of harbour > so for example you can use /u > > or better you can > /d[=] #define > preprocessor > and the #IF DEF inside your app > > ome call to hbmk2 for each times Y

Re: [Harbour] hbmk2 magically morphs into make?

2010-04-09 Thread Massimo Belgrano
i not understad well your question hbmk2 will use all flag of harbour so for example you can use /u or better you can /d[=] #define preprocessor and the #IF DEF inside your app ome call to hbmk2 for each times http://harbourlanguage.blogspot.com/search/label/hbmk2 2010/4/9 Alex Strickland

Re: [Harbour] hbMK2 - Uniform token to announce output file

2010-03-14 Thread Viktor Szakáts
Hi Pritpal, If you make such output parsing, make sure to always use '-lang=en' option when calling hbmk2, otherwise it won't work in localized (Portuguese and Hungarian currently) environments. I've added -width= option, so if you now use it also when calling hbmk2 ('-width=999' f.e.), it wo

Re: [Harbour] hbMK2 - Error

2010-03-12 Thread Viktor Szakáts
Hi Pritpal, hbmk2 is pure .prg code, so if there is such error, it can only be lower level problem. ARCHCOMPFILTER() uses macro evaluation, so given recent changes, first pls try to rebuild everything from fresh sources and retry. If it still happens pls post full hbmk2 configuration, maybe

Re: [Harbour] hbMK2 : -3rd=SomeString : Broken

2010-02-28 Thread Viktor Szakáts
Hi, [ resent after correction, pls ignore prev version ] > Here is speedtst.hbp > === > > -3rd=[ HBIDEVERSION ] > -3rd=1.0 > -3rd=[ PROPERTIES ] > -3rd=Type = Executable > -3rd=Title = Speed Test > -3rd=Location = C:/harbour/contrib/hbide/projects >

Re: [Harbour] hbMK2 : -3rd=SomeString : Broken

2010-02-28 Thread Viktor Szakáts
Hi, > Here is speedtst.hbp > === > > -3rd=[ HBIDEVERSION ] > -3rd=1.0 > -3rd=[ PROPERTIES ] > -3rd=Type = Executable > -3rd=Title = Speed Test > -3rd=Location = C:/harbour/contrib/hbide/projects > -3rd=WorkingFolder = C:/harbour/contrib/hbide/proj

Re: [Harbour] hbMK2 - .hbp - Compiler switches for invisual source

2010-01-21 Thread Massimo Belgrano
In all my project i do it simply putting in path c compiler using .l instead .lib extension 2010/1/21 Pritpal Bedi : > > Hello Viktor > > Before digging deep, I need to collect info about if > hbMK2 has a feature to issue different compiler switchs > for indivisual sources as is achieved in xMate?

Re: [Harbour] hbMK2 - .hbp - Compiler switches for invisual source

2010-01-20 Thread Viktor Szakáts
Hi Pritpal, > Hello Viktor > > Before digging deep, I need to collect info about if > hbMK2 has a feature to issue different compiler switchs > for indivisual sources as is achieved in xMate? > > My goal is to apply this feature in hbIDE but is not > possible unless it is enabled in hbMK2. No,

Re: [Harbour] hbmk2 2.0.0rc1 (Rev. 13352) - Portuguese translation

2009-12-22 Thread Viktor Szakáts
Hi Vailton, I've found that .hbl is not created because .po file has f.e. a fatal encoding problem in line 69, but also seemingly some other strings are not encoded in Windows/ISO codepage. Could you pls send a fix ASAP? Brgds, Viktor On 2009 Dec 22, at 03:04, Vailton Renato wrote: > Hi! >

Re: [Harbour] hbmk2 + msvc

2009-12-18 Thread Viktor Szakáts
> if the file exe is already opened, > you forgot and try compile, > hbmk2 invoque link, it should stop after error, isn´t it? That's exactly what it did. Brgds, Viktor > > LINK : fatal error LNK1104: cannot open file 'fjfrigo.exe' > hbmk2: Erro: Executando linkeditor. 1104 > link.exe -nologo

Re: [Harbour] HBMK2 and Linux x...@64

2009-12-05 Thread Viktor Szakáts
>> One thing is not clear for me. What are these switches >> doing on non-Intel systems? > > Simultaneous runtime support for 32 and 64 bit modes is not only x86 > world feature. Many processors have such capacity, i.e. SUN SPARCs or > HP PR-RISC machines. > It's also supported by other then Linu

Re: [Harbour] HBMK2 and Linux x...@64

2009-12-04 Thread Przemysław Czerpak
On Sat, 05 Dec 2009, Szak�ts Viktor wrote: Hi, > One thing is not clear for me. What are these switches > doing on non-Intel systems? Simultaneous runtime support for 32 and 64 bit modes is not only x86 world feature. Many processors have such capacity, i.e. SUN SPARCs or HP PR-RISC machines. I

Re: [Harbour] HBMK2 and Linux x...@64

2009-12-04 Thread Viktor Szakáts
Hi, One thing is not clear for me. What are these switches doing on non-Intel systems? Next thing to decide is how to control this matter, because if you say that hbmk2 should automatically add -m64 as linker option, it means we're converting -m* switches to hbmk2 ones, and in this case I'm n

Re: [Harbour] hbmk2 on OS/2

2009-11-30 Thread Maurilio Longo
Viktor, let's see if Przemyslaw has any idea, maybe it is just that the embedded compiler does not end lines with CR/LF. Best regards. Maurilio. Viktor Szakáts wrote: > Hi Maurilio, > >> using hbmk2 on OS/2 I see that is does not use newlines while outputting its >> activity. It seems to me th

Re: [Harbour] hbmk2 on OS/2

2009-11-27 Thread Viktor Szakáts
Hi Maurilio, > using hbmk2 on OS/2 I see that is does not use newlines while outputting its > activity. It seems to me this issue was addressed in the past and maybe > resolved, but I'm not sure. See example: > > (E:\REPOSITORY\HARBOUR\tests)hbmk2 -mt speedtst.prg > hbmk2: Processing environment

Re: [Harbour] hbmk2 rev 13024

2009-11-26 Thread Marcos Gambeta
Przemyslaw Czerpak escreveu: Yes, stupid "last second" modification just before commit and without any tests :-(. Should be fixed by: 2009-11-26 12:18 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) Yes, is ok now (after a clean build). Thanks! Marcos Gambeta __

Re: [Harbour] hbmk2 rev 13024

2009-11-26 Thread Przemysław Czerpak
On Thu, 26 Nov 2009, Maurilio Longo wrote: FRANČEK, Marcos, Maurilio, > I've activated dlmalloc on OS/2 build, updated svn to rev. 13024, now, calling > hbmk2, even without passing any parameter to it I get: [...] > Exception c005 at address 0x1d44dc9f [..] > This is inside harbourm.dll and

Re: [Harbour] hbmk2, Visual C++ 2008 Express and GPF

2009-11-26 Thread Marcos Gambeta
Marcos Gambeta escreveu: > Compiling Harbour (r.13024) with Visual C++ 2008 Express, i have gpf´s when calling hbmk2. Sorry, i reported the same problem reported by Francek Prijatelj. Regards, Marcos Gambeta ___ Harbour mailing list (attachment s

Re: [Harbour] HBMK2 - Possibility of accepting buffer of .hbm format

2009-11-20 Thread Viktor Szakáts
Hi Pritpal, > Hello Viktor > > Is it possible to pass string buffer to hbmk2 in .hbm format? > > I want to avoid writing to .hbm disk file and then invoke hbmk2. Yes, simply pass all parameters on the command line. > This will open another black window on the screen. Check how to spawn subpro

Re: [Harbour] hbmk2, double declaring of hbrdd lib

2009-11-10 Thread Viktor Szakáts
Hello Viktor, As subject: gcc test.o hbmk_c2dlz3.o -Wl,--start-group -lhbextern -lhbdebug - lhbvm -lhbrtl -lhblang -lhbcpage -lgtcgi -lgtpca -lgtstd -lgttrm - lhbrdd -lhbuddall -lhbusrrdd -lrddntx -lrddcdx -lrddnsx -lrddfpt - lhbrdd -lhbhsx -lhbsix -lhbmacro -lhbcplr -lhbpp -lhbcommon -lm -

Re: [Harbour] hbmk2 parsing -ldflag info

2009-11-09 Thread Viktor Szakáts
As you see, the ".8" is removed from the libnames. Hello Viktor, Seems that enclosing the parameter inside of "" is required, so changing the above command to: $ hbmk2 -cflag=`wx-config --cflags` -ldflag="`wx-config --libs`" ... (intentionally reduced) test.prg Makes the thing work ok a

Re: [Harbour] hbmk2 parsing -ldflag info

2009-11-09 Thread Teo Fonrouge
On Nov 9, 2009, at 7:18 PM, Teo Fonrouge wrote: Hello Viktor, Seems that parsing (at least in -ldflag) is removing wrongly the "extension" of lib files, please see the output below: $ wx-config --libs -pthread -lwx_gtk2u_richtext-2.8 -lwx_gtk2u_aui-2.8 - lwx_gtk2u_xrc-2.8 -lwx_gtk2u_qa-

Re: [Harbour] hbmk2 parsing -ldflag info

2009-11-09 Thread Viktor Szakáts
Now, when using macro substitution I don't know what is the solution. It's pretty unfortunate some tools use dots as part of the filename (I've seen this causing problem with other tools, too), but I have no solution for it this time. I hope someone will post some ideas to save the day. I think

Re: [Harbour] hbmk2 parsing -ldflag info

2009-11-09 Thread Viktor Szakáts
I hope someone can submit a patch. It's currently also basic functionality to set extension required by target compiler and drop possibly added .lib or other bogus extensions by users. We can drop name conditioning, but ATM I can't exactly tell what are the consequences. I remember giving it enou

Re: [Harbour] hbmk2 parsing -ldflag info

2009-11-09 Thread Teo Fonrouge
On Nov 9, 2009, at 7:34 PM, Viktor Szakáts wrote: Hi Teo, I think we've touched this topic in the past, you need to add an extra '.' at the end of the lib name to avoid this problem. Now, when using macro substitution I don't know what is the solution. It's pretty unfortunate some tools use d

Re: [Harbour] hbmk2 parsing -ldflag info

2009-11-09 Thread Przemysław Czerpak
On Tue, 10 Nov 2009, Szak�ts Viktor wrote: Hi, > I think we've touched this topic in the past, > you need to add an extra '.' at the end of the > lib name to avoid this problem. > Now, when using macro substitution I don't know > what is the solution. It's pretty unfortunate > some tools use dots

Re: [Harbour] hbmk2 parsing -ldflag info

2009-11-09 Thread Viktor Szakáts
Hi Teo, I think we've touched this topic in the past, you need to add an extra '.' at the end of the lib name to avoid this problem. Now, when using macro substitution I don't know what is the solution. It's pretty unfortunate some tools use dots as part of the filename (I've seen this causing p

Re: [Harbour] hbmk2, mingw and dlls

2009-11-04 Thread Viktor Szakáts
Hi, Modify supplied tests/hbmk.hbm to use ../hbqts.hbc instead of ../hbqt.hbc. You'll need the static builds of hbqt libs, you can find in INSTALL how to enable building them. Brgds, Viktor On 2009 Nov 4, at 21:01, Maurizio Faccio adinet wrote: I am trying to compile demoqt on windows, test o

Re: [Harbour] hbmk2, -inc and .clp files

2009-11-04 Thread Viktor Szakáts
Hi Przemek, It's too much now. I neglected everything else for Harbour, now it's time to do other things. I simply can't dedicate a few hours for such modifications now and believe me it would be even more than that, since if I don't concentrate I break other things, feedback is coming back again

Re: [Harbour] hbmk2, -inc and .clp files

2009-11-04 Thread Przemysław Czerpak
On Wed, 04 Nov 2009, Szak�ts Viktor wrote: Hi, > If this is the only reason you use it, just rename > all those .clp files to .hbm and problems will go away. > Again, I'm no .clp user, but the point of .clp seems > to be that listed .prgs will be compiled into one > object, which may be important

Re: [Harbour] hbmk2, -inc and .clp files

2009-11-04 Thread Viktor Szakáts
Hi sali, Difficult to tell what it'd take to add support, can't even tell if it's trivial or not. I hope .clp just to say, we use .clp files as simple file-list colection, list of .prgs to be compiled into single .obj never heard that .clp could be anything more than that [later, that .objs

Re: [Harbour] hbmk2, -inc and .clp files

2009-11-04 Thread sali
- Original Message - From: "Viktor Szakáts" To: "Harbour Project Main Developer List." Sent: Wednesday, November 04, 2009 4:49 PM Subject: Re: [Harbour] hbmk2, -inc and .clp files Difficult to tell what it'd take to add support, can't even tell if it

Re: [Harbour] hbmk2, -inc and .clp files

2009-11-04 Thread Massimo Belgrano
+1 2009/11/4 Viktor Szakáts : > Well, on that bombshell, we could add a contrib > which give some level of support for Blinker functions, > I'd assume they are used in many Clipper apps. > Most of them can be converted to simple dummy > calls, some of them to Harbour function wrappers. > > Just an

Re: [Harbour] hbmk2, -inc and .clp files

2009-11-04 Thread Viktor Szakáts
Hi Alex, On 2009 Nov 4, at 14:05, Alex Strickland wrote: Hi Viktor I thought I would compile an old clipper app to see how it would go with gtwvt. Firstly, it is truly amazing to see literally 100's of 1000's of lines compile in a flash. At the end of the whole affair, I get only 27 li

Re: [Harbour] hbmk2

2009-10-28 Thread Viktor Szakáts
Hi, hbmk2 don't check if lib is more recent and not link again with new lib. In my project my files is: --->8-- -inc -lhwgui.lib -lhwg_qhtm.lib -lprocmisc.lib -lhbxml.lib -gui -run --8<--- while my file hwgui.lib is recompiled if I call: c:>\project\hbmk2 sciwin.hbm It don't re

Re: [Harbour] hbmk2 suggestion

2009-10-27 Thread Viktor Szakáts
, 2009 3:56 PM Subject: Re: [Harbour] hbmk2 suggestion Okay I understand it this way. This is expected behavior as it detected your own C compiler installation (msvc), so it didn't idea is, if one select at install time no-msvc than to prepare config for hbmk2 not-to-set-msvc-a

Re: [Harbour] hbmk2 suggestion

2009-10-27 Thread sali
- Original Message - From: "Viktor Szakáts" To: "Harbour Project Main Developer List." Sent: Tuesday, October 27, 2009 3:56 PM Subject: Re: [Harbour] hbmk2 suggestion Okay I understand it this way. This is expected behavior as it detected your own C compiler ins

Re: [Harbour] hbmk2 suggestion

2009-10-27 Thread Viktor Szakáts
Okay I understand it this way. This is expected behavior as it detected your own C compiler installation (msvc), so it didn't use the embedded one. We can change priorities if this isn't no need, "compiler" switch to force compiler is ok, i just wanted to inform that there is "broken-link" bet

Re: [Harbour] hbmk2 suggestion

2009-10-27 Thread sali
- Original Message - From: "Viktor Szakáts" To: "Harbour Project Main Developer List." Sent: Tuesday, October 27, 2009 2:56 PM Subject: Re: [Harbour] hbmk2 suggestion it happened with your integrated install, syenar.hu harbour-project, download from the end o

Re: [Harbour] hbmk2 suggestion

2009-10-27 Thread Viktor Szakáts
just to say that some additional docs about .hmb .hbc .hbp would be helpfull, since --help is to short to be sufficant i used examples also had problems with platform discovery, although msvc was not Did this happen with latest Harbour? Autodetection for MSVC should As for the docs, I

Re: [Harbour] hbmk2 suggestion

2009-10-27 Thread sali
- Original Message - From: "Viktor Szakáts" To: "Harbour Project Main Developer List." Sent: Tuesday, October 27, 2009 1:39 PM Subject: Re: [Harbour] hbmk2 suggestion just to say that some additional docs about .hmb .hbc .hbp would be helpfull, since --he

Re: [Harbour] hbmk2 suggestion

2009-10-27 Thread Viktor Szakáts
just to say that some additional docs about .hmb .hbc .hbp would be helpfull, since --help is to short to be sufficant i used examples for simple building, but for advanced and full usage, need something more than --help also had problems with platform discovery, although msvc was not sel

Re: [Harbour] hbmk2 suggestion

2009-10-27 Thread sali
piler" switch to force mingw compiler. except these mentioned problem [as for newbs] hbmk2 works great thnx! - Original Message - From: "Viktor Szakáts" To: "Harbour Project Main Developer List." Sent: Tuesday, October 27, 2009 10:34 AM Subject: Re: [Harbour] hbm

RE: [Harbour] hbmk2 suggestion

2009-10-27 Thread Horodyski Marek (PZUZ)
>-Original Message- >From: Massimo Belgrano [mailto:mbelgr...@deltain.it] >Sent: Tuesday, October 27, 2009 11:20 AM >To: Harbour Project Main Developer List. >Subject: Re: [Harbour] hbmk2 suggestion [...] >xbase++ for same final result use >#pragma library("xp

Re: [Harbour] hbmk2 suggestion

2009-10-27 Thread Viktor Szakáts
hbmk2 test.prg hbmemio.hbc why cannot you copy '-lhbmemio' ('hbmemio.hbc') to your compile/link command? I do not see any functional difference. In both cases you have to copy sth from reference code but in the second case you are using unknown for Clipper users syntax which does not have

Re: [Harbour] hbmk2 suggestion

2009-10-27 Thread Massimo Belgrano
> > If you can copy and past part of .prg code why you cannot copy part > of .hbp file? > Or if you see in source code: >   compile and link using: >      hbmk2 test.prg -lhbmemio >   or: >      hbmk2 test.prg hbmemio.hbc > why cannot you copy '-lhbmemio' ('hbmemio.hbc') to your compile/link > comm

Re: [Harbour] hbmk2 suggestion

2009-10-27 Thread Przemysław Czerpak
On Tue, 27 Oct 2009, Massimo Belgrano wrote: Hi, > Because typically it start coping a sample that contain it > if harbour user get a sample contain: > #pragma option:hbmk2 mylib.hbc > request MYLIB > it will be easy to compile and if it get another sample that include > #pragma option:hbmk2

Re: [Harbour] hbmk2 suggestion

2009-10-27 Thread Massimo Belgrano
Hi Przemek Because typically it start coping a sample that contain it if harbour user get a sample contain: #pragma option:hbmk2 mylib.hbc request MYLIB it will be easy to compile and if it get another sample that include #pragma option:hbmk2 hbmemio.hbc REQUEST HB_MEMIO Follow is a typical seq

Re: [Harbour] hbmk2 suggestion

2009-10-27 Thread Viktor Szakáts
For you is not complicated, but for other user will be each operation increase difficult, and capability to made error also here we can find user that miss how compile sample, me included having "#pragma option:hbmk2 mylib.hbc" in source code cover complexity made possible copy and past from in

Re: [Harbour] hbmk2 suggestion

2009-10-27 Thread Przemysław Czerpak
On Tue, 27 Oct 2009, Massimo Belgrano wrote: Hi, > #pragma option:hbmk2 mylib.hbc allow compile with hbmk2 without know how > request MYLIB is different because instruct only that is need a library/symbol Yes but someone has to add this #pragma command to source code so he has to know library n

Re: [Harbour] hbmk2 suggestion

2009-10-27 Thread Przemysław Czerpak
On Tue, 27 Oct 2009, Szak�ts Viktor wrote: > >Massimo probably I do not understand sth but can you explain how > >using: > > #pragma option:hbmk2 mylib.hbc > >is better then: > > request MYLIB > The idea of the #pragma is to automatically pull > required libs, include paths and whatnot (all > con

Re: [Harbour] hbmk2 suggestion

2009-10-27 Thread Massimo Belgrano
Viktor For you is not complicated, but for other user will be each operation increase difficult, and capability to made error also here we can find user that miss how compile sample, me included having "#pragma option:hbmk2 mylib.hbc" in source code cover complexity made possible copy and past from

Re: [Harbour] hbmk2 suggestion

2009-10-27 Thread Viktor Szakáts
Massimo probably I do not understand sth but can you explain how using: #pragma option:hbmk2 mylib.hbc is better then: request MYLIB The idea of the #pragma is to automatically pull required libs, include paths and whatnot (all contained in the .hbc file) right from the source files. It d

Re: [Harbour] hbmk2 suggestion

2009-10-27 Thread Przemysław Czerpak
On Tue, 27 Oct 2009, Massimo Belgrano wrote: > i hope that you implement in hbnk2 before 2.0 something like: > #pragma option:hbmk2 mylib.hbc > becasue allow newbbies easy compiling script Massimo probably I do not understand sth but can you explain how using: #pragma option:hbmk2 mylib.hbc is

Re: [Harbour] hbmk2 suggestion

2009-10-27 Thread Viktor Szakáts
i hope that you implement in hbnk2 before 2.0 something like: #pragma option:hbmk2 mylib.hbc becasue allow newbbies easy compiling script This needs support from Harbour compiler. Moreover I don't want to rush it and I currently have not enough time to spend on it anyway. Let's plan it a little

Re: [Harbour] hbmk2 suggestion

2009-10-27 Thread Massimo Belgrano
i hope that you implement in hbnk2 before 2.0 something like: #pragma option:hbmk2 mylib.hbc becasue allow newbbies easy compiling script 2009/10/26 Viktor Szakáts : >> Sorry if i not understand right >> >> Can i use multiple hbc? >> hbmk2 hello.prg hmg.hbc rddads.hbc hbmemio.hbc > > Yes, of cour

Re: [Harbour] hbmk2 suggestion

2009-10-26 Thread Viktor Szakáts
Sorry if i not understand right Can i use multiple hbc? hbmk2 hello.prg hmg.hbc rddads.hbc hbmemio.hbc Yes, of course. [ you may even refer to another .hbc from an .hbc file. ] Brgds, Viktor ___ Harbour mailing list Harbour@harbour-project.org http

Re: [Harbour] hbmk2 suggestion

2009-10-26 Thread Massimo Belgrano
Sorry if i not understand right Can i use multiple hbc? hbmk2 hello.prg hmg.hbc rddads.hbc hbmemio.hbc 2009/10/26 Viktor Szakáts : > All contribs have .hbc files since some months. > Plus some popular 3rd party libs also have one > hosted in utils/hbmk2/examples since the early > days of hbmk2.

Re: [Harbour] hbmk2 suggestion

2009-10-26 Thread Viktor Szakáts
rddads.hbc for ace32.lib+rddads.lib hbbmcdx.hbc for hbbmcdx.lib hbmemio.hbc for hbmemio.lib All contribs have .hbc files since some months. Plus some popular 3rd party libs also have one hosted in utils/hbmk2/examples since the early days of hbmk2. I've also sent these to lib authors. Some of t

Re: [Harbour] hbmk2 suggestion

2009-10-26 Thread Massimo Belgrano
so will be Possible add standard hbc for each harbour contrib like rddads.hbc for ace32.lib+rddads.lib hbbmcdx.hbc for hbbmcdx.lib hbmemio.hbc for hbmemio.lib so i can add one ore more follow line #pragma option:hbmk2 rddads.hbc #pragma option:hbmk2 hbbmcdx.hbc #pragma option:hbmk2 hbmemio.hbc an

Re: [Harbour] hbmk2 suggestion

2009-10-26 Thread Viktor Szakáts
is possible have a solution also for harbour contrib If i have undestrand right I nedd an hbp file when use ace32.lib+rddads.lib + hbbmcdx.lib +hbmemio.lib another when use only hbmemio.lib another when use only hbbmcdx.lib ecc ecc Note that is only an example i still prefer separate lib addin

Re: [Harbour] hbmk2 suggestion

2009-10-26 Thread Massimo Belgrano
Hi Viktor is possible have a solution also for harbour contrib If i have undestrand right I nedd an hbp file when use ace32.lib+rddads.lib + hbbmcdx.lib+hbmemio.lib another when use only hbmemio.lib another when use only hbbmcdx.lib ecc ecc Note that is only an example i still prefer separate lib

Re: [Harbour] hbmk2 suggestion

2009-10-26 Thread Viktor Szakáts
The only problem maj be that for minigui,fivewin we need hbc copied in each directory possible serch/use a predefined dir for hbc(lib) if not present in current directory There is a search list (path list) for .hbc files already, so everything inside the addon and contrib dirs will be scanned a

Re: [Harbour] hbmk2 suggestion

2009-10-26 Thread Massimo Belgrano
If i undestrand your proposal The problem of made more simple for a newbies is resolved The only problem maj be that for minigui,fivewin we need hbc copied in each directory possible serch/use a predefined dir for hbc(lib) if not present in current directory imo also a lib only maj useful i also

Re: [Harbour] hbmk2 suggestion

2009-10-26 Thread Viktor Szakáts
hbmk2 will never replace thinking from the side of app programmers. Yes you are right but think that we haven't jet good info so maj be a problem for a new user find right information It can't even replace documentation ;) harbour user read in prg and not found right information about lib s

Re: [Harbour] hbmk2 suggestion

2009-10-26 Thread Massimo Belgrano
2009/10/26 Viktor Szakáts > > Hi Massimo, > > hbmk2 will never replace thinking from the side of > app programmers. Yes you are right but think that we haven't jet good info so maj be a problem for a new user find right information >> >> harbour user read in prg and not found right information a

Re: [Harbour] hbmk2 suggestion

2009-10-25 Thread Viktor Szakáts
Hi Massimo, I try explain you a possible feature for hbmk2 if in my source is included REQUEST ADS i must add to hbmk2 ace32.lib +rddads.lib REQUEST BMDBFCDX hbbmcdx.lib REQUEST HB_MEMIO hbmemio.lib REQUEST HB_GT_WVG gtwvg.lib REQUEST ADORDD rddado.lib will this intelligence be in hbmk2

Re: [Harbour] hbmk2: Error: Running Harbour compiler (internal). 1

2009-10-09 Thread José Luis Capel
Viktor, Przemek, Thanks for your answers. Seemed tha I had some syntax errors. Once corrected I could compile without any incidences except for a missing function that I reported on harbour user list. Regards, José Luis Capel 2009/10/8 Przemyslaw Czerpak > On Thu, 08 Oct 2009, José Luis Cap

Re: [Harbour] hbmk2: Error: Running Harbour compiler (internal). 1

2009-10-08 Thread Przemyslaw Czerpak
On Thu, 08 Oct 2009, José Luis Capel wrote: Hi, > Using hbmk2 (created from lastest svn) I try to compile an old clipper app. > I use same .clp file as follow: > hbmk2 @miappl.clp > Finally (after showing a syntax error on my app) shows this message: > 1 error > no code generated. > hbmk2: Error:

Re: [Harbour] hbmk2: Error: Running Harbour compiler (internal). 1

2009-10-08 Thread Viktor Szakáts
Hi Jose, .clp support is highly experimental, I don't know too much about this feature and never used it personally. Anyhow what you report doesn't seem to be wrong, if there is a syntax error in your app, such error is what happens. hbmk2 won't be able to fix it. Other tips: Maybe @hbtrade.clp

Re: [Harbour] hbmk2 xhb support

2009-09-25 Thread Viktor Szakáts
Of course I can do it and will do it when I have time, I only would like to see that it has established in Harbour. Basically, I don't like the syntax, why was .ARCH. chosen, what do these dots mean, are they somehow related to xBase syntax for logical values and operators? ;) Are there any oth

Re: [Harbour] hbmk2 xhb support

2009-09-25 Thread Przemyslaw Czerpak
On Thu, 24 Sep 2009, Phil Krylov wrote: Hik, > Of course I can do it and will do it when I have time, I only would > like to see that it has established in Harbour. Basically, I don't > like the syntax, why was .ARCH. chosen, what do these dots mean, are > they somehow related to xBase syntax for

Re: [Harbour] hbmk2 xhb support

2009-09-24 Thread Viktor Szakáts
Hi Phil, Of course I can do it and will do it when I have time, I only would like to see that it has established in Harbour. Basically, I don't like the syntax, why was .ARCH. chosen, what do these dots mean, are they somehow related to xBase syntax for logical values and operators? ;) Are there

Re: [Harbour] hbmk2 xhb support

2009-09-24 Thread Phil Krylov
On Thu, Sep 24, 2009 at 3:44 PM, Viktor Szakáts wrote: >> In this particular case I suggest to pase -undef:.ARCH. to >> xHarbour compiler and maybe in the future one of xHarbour >> developers (maybe Phil) will add support for this switch >> so it will not be ignored. Of course I can do it and wil

Re: [Harbour] hbmk2 xhb support

2009-09-24 Thread Viktor Szakáts
I've added xhb support to hbmk2 a while ago, but so far I didn't see quite a huge interest in this feature, so, since it's a maintenance nightmare, and it isn't very well tested either, I'd like to remove it. But before I do so, I'd like to ask opinions on this feature. Does anyone thinks it's goo

Re: [Harbour] hbmk2 xhb support

2009-09-24 Thread Przemyslaw Czerpak
On Thu, 24 Sep 2009, Szak�ts Viktor wrote: Hi, > I've added xhb support to hbmk2 a while ago, but so far > I didn't see quite a huge interest in this feature, so, > since it's a maintenance nightmare, and it isn't very > well tested either, I'd like to remove it. > But before I do so, I'd like to

  1   2   3   >