Re: [Harbour] Make_gnu and Mingw

2008-09-22 Thread Szakáts Viktor
Okay, thanks. I've updated my code, so just to correct myself - and this is even simpler: --- PROCEDURE HB_GTSYS() REQUEST HB_GT_GUI_DEFAULT /* Other REQUEST HB_GT_??? lines, like HB_GT_WVT, HB_GT_WIN may follow */ RETURN --- BTW, do we _really_ need HB_GT_LIB in our Harbour build files

Re: [Harbour] Make_gnu and Mingw

2008-09-22 Thread Przemyslaw Czerpak
On Mon, 22 Sep 2008, Szak�ts Viktor wrote: >>> PROCEDURE HB_GTSYS() >> REQUEST HB_GT_GUI_DEFAULT > Thanks. Very strange, I've been wrong > for years regarding this, even stranger > that PROCEDURE HB_GT_WVT_DEFAULT works > for me since very long. It works but in such case does not indirectly

Re: [Harbour] Make_gnu and Mingw

2008-09-22 Thread Szakáts Viktor
PROCEDURE HB_GTSYS() REQUEST HB_GT_GUI_DEFAULT Thanks. Very strange, I've been wrong for years regarding this, even stranger that PROCEDURE HB_GT_WVT_DEFAULT works for me since very long. I'll do some tests a bit later. Brgds, Viktor ___ Har

Re: [Harbour] Make_gnu and Mingw

2008-09-22 Thread Przemyslaw Czerpak
On Mon, 22 Sep 2008, Szak�ts Viktor wrote: >> ANNOUNCE GTSYS >> ANNOUNCE HB_GT_SYS >> REQUEST HB_GT_WIN >> REQUEST HB_GT_WVT >> REQUEST HB_GT_STD >> REQUEST HB_GT_GUI >> REQUEST HB_GT_VWT_DEFAULT >> >> Must I replace With follow? > > The above has a few problems: > - REQUEST HB_GT_VWT

Re: [Harbour] Make_gnu and Mingw

2008-09-22 Thread Szakáts Viktor
Notice that you most probably need Harbour to be built with special switches to make this work. It won't work with the default Harbour build. Przemek, can you comment, this is a so oftenly appearing question, that it would be nice to have a common solution. [ my proposed one works with default b

Re: [Harbour] Make_gnu and Mingw

2008-09-22 Thread Szakáts Viktor
RETURN -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] ] On Behalf Of Szakáts Viktor Sent: Monday, September 22, 2008 3:18 PM To: Harbour Project Main Developer List. Subject: Re: [Harbour] Make_gnu and Mingw Hi Paul, Pls use this in your app code: --- PROCED

Re: [Harbour] Make_gnu and Mingw

2008-09-22 Thread Szakáts Viktor
Hi Paul, gcc reports this link error: c:\harbour\lib\w32\mingw32/libgtgui.a(gtgui.o):gtgui.c:(.text+0x1b9): multiple definition of `HB_FUN_HB_GT_GUI_DEFAULT' You'll need to remove all other solutions targeting this same goal (requesting GTGUI and making it the default GT), like special buil

Re: RE: [Harbour] Make_gnu and Mingw

2008-09-22 Thread Paul Strand
Mr. Przemek, Your suggestion solved it, thanks: ANNOUNCE HB_GT_SYS REQUEST HB_GT_GUI REQUEST HB_GT_GUI_DEFAULT Paul ___ Harbour mailing list Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour

Re: [Harbour] Make_gnu and Mingw

2008-09-22 Thread Paul Strand
Mr. Viktor, gcc reports this link error: c:\harbour\lib\w32\mingw32/libgtgui.a(gtgui.o):gtgui.c:(.text+0x1b9): multiple definition of `HB_FUN_HB_GT_GUI_DEFAULT' seems there is something wrong. Paul > Pls use this in your app code: > > --- > PROCEDURE HB_GTSYS() > REQUEST HB_GT_GUI > RETURN

Re: RE: [Harbour] Make_gnu and Mingw

2008-09-22 Thread Przemyslaw Czerpak
On Mon, 22 Sep 2008, Massimo Belgrano wrote: > So ia not good this >ANNOUNCE GTSYS This is not necessary in Harbour. >ANNOUNCE HB_GT_SYS >REQUEST HB_GT_WIN >REQUEST HB_GT_WVT >REQUEST HB_GT_STD >REQUEST HB_GT_GUI >REQUEST HB_GT_VWT_DEFAULT That's OK. > Must I replac

RE: [Harbour] Make_gnu and Mingw

2008-09-22 Thread Massimo Belgrano
HB_GT_GUI RETURN PROCEDURE HB_GT_VWT_DEFAULT() RETURN -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Szakáts Viktor Sent: Monday, September 22, 2008 3:18 PM To: Harbour Project Main Developer List. Subject: Re: [Harbour] Make_gnu and Mingw Hi

Re: [Harbour] Make_gnu and Mingw

2008-09-22 Thread Szakáts Viktor
Hi Paul, Pls use this in your app code: --- PROCEDURE HB_GTSYS() REQUEST HB_GT_GUI RETURN PROCEDURE HB_GT_GUI_DEFAULT() RETURN --- And you won't need it. [ All other methods circulating on the list are unnecessarily complicated and with side-effects. ] Brgds, Viktor On 2008.09.22.,

Re: [Harbour] Make_gnu and Mingw

2008-09-22 Thread Paul Strand
Mr. Viktor, I have found that I have to link libgtwin.a and libgtgui.a for mingw are they both required ? I thought that libgtwin.a was not needed for gui mode Paul ___ Harbour mailing list Harbour@harbour-project.org http://lists.harbour-project.org/m

Re: [Harbour] Make_gnu and Mingw

2008-09-22 Thread Szakáts Viktor
Hi Jose, SET CLIBFLAGS=-DHB_OS_WIN_32 This one is not needed. SET HB_MAKE_PROGRAM=\programacion\mingw\bin\mingw32-make.exe This is only supported in non-GNU make, so it's not needed either. The second question is about generated harbour.exe It is located at \harbour\source\main\w32\ming