FWH 8.09 beta 1 built using MinGW (GNU C compiler) is ready! ![]()
FWH 8.09 users, interested in testing it, please send me an email. Thanks,
FWH 8.09 beta 1 built using MinGW (GNU C compiler) is ready! ![]()
FWH 8.09 users, interested in testing it, please send me an email. Thanks,
We want to publically thanks all the FWH for MinGW beta testers that have started using it ![]()
Many thanks!
The GNU gcc compiler is available for Windows, Windows Mobile, Linux, Mac, iPhone, etc.
So when you learn gcc, you are learning to use gcc for all those operating systems ![]()
No other C compiler provides this power ![]()
For beta-testers only:
Please make this change in buildg.bat:
if exist %1.rc %mingw%\bin\windres -D__FLAT__ -DDIALOG=DIALOGEX -i%1.rc -o_%1.o
Now you can use your existing RC dialogs ![]()
Also please add this line at the top of the RC files:
Here you have FWH\samples\TestXBrw.prg built using FWH 8.09 and MinGW gcc !!! ![]()
http://rapidshare.com/files/146803868/testxbrw.zip.html
We just need to find the way to remove the console window that appears in the background.
if A%1 == A GOTO :SINTAX
if NOT EXIST %1.prg GOTO :NOEXIST
ECHO Compiling...
set hdir=d:\harbour
set hdirc=%hdir%\mingw32\harbour.exe
set hlibs=d:\harbour\mingw32
if "%fwh%" == "" set fwh=d:\fwh
set mingw=d:\mingw
%hdirc% %1 /n /i%fwh%\include;%hdir%\include /w /p %2 %3 > clip.log
IF ERRORLEVEL 1 GOTO COMPILEERROR
@type clip.log
%mingw%\bin\gcc -c %1.c -o%1.o -I%hdir%\include -I%mingw%\include -Wall
IF ERRORLEVEL 1 GOTO COMPILEERROR
if exist %1.rc %mingw%\bin\windres -D__FLAT__ -DFW=%fwh% -i%1.rc -o_%1.o
IF ERRORLEVEL 1 GOTO RESOURCESERRORAntonio,
Algumas observações sobre o seu exemplo "TESTXBRW.EXE":
Tamanho: 1.772.544
Tamanho usando upx: 477.184
... e usando o meu compilador:
Tamanho: 2.004.992
Tamanho usando upx: 592.384
Gostei disto pois o .EXE fica em média 12% menor e usando o UPX em média 20%
Perguntas:
1) Porque ao executar o seu exemplo, Ă© aberta uma preta "Prompt MS-DOS" antes do programa ser executado ?
2) Com este novo compilador o sistema rodará mais rápido ?
Obrigado e parabéns por mais esta ferramenta
Gracias Maestro,
Rossine.
Uwe,
>
There was a error :
MULTIPLE definition of HB_FUN_MESSAGEBOX
>
We email you a new beta that we are testing here ![]()
Its the one that we have used for TestXBrw.exe
Rossine,
>
1) Porque ao executar o seu exemplo, Ă© aberta uma preta "Prompt MS-DOS" antes do programa ser executado ?
>
We believe it is a harbour issue related to the GT driver. We are doing more tests.
> 2) Com este novo compilador o sistema rodará mais rápido ?
We don't know it yet, but it may be similar, probably. The Windows speed limit is imposed but the Windows GUI not by the used C compiler.


Uwe,
We have emailed you a new beta that solves the HB_FUN_MESSAGEBOX error ![]()
Uwe,
Please change this:
DIALOG DIALOG -129, 19, 459, 297
into
DIALOG DIALOGEX -129, 19, 459, 297