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

[Harbour] hbmk2 suggestion

2009-10-25 Thread Massimo Belgrano
Hi VIktor 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 ? detect