No, using BCC 6.30 I get bigger EXE than BCC 5.82, even with simple pure C samples.
EMG
Enrico Maria Giordano wrote:No, using BCC 6.30 I get bigger EXE than BCC 5.82, even with simple pure C samples.
// file test.c
#include "stdio.h"
int main(int argc, char *argv[])
{
printf("Hello World\n");
}
// file test.c
FUNCTION MAIN()
? "Hello, World!"
RETURN NIL
andijahja wrote:Hi Enrico,
Sorry. Still my exe is smaller (by approx 10%):
09/29/2010 03:40 PM 671,744 hello58.exe
09/29/2010 03:40 PM 617,984 hello63.exe
Make sure you re-compile ALL your PRG _AND_ C Codes.
andijahja wrote:O Yes, I confirm the exe of 6.3 compiled with xHarbour is bigger than 5.82
@ ECHO OFF
COPY e:\fwharbour\source\function\*.prg
COPY e:\fwharbour\source\winapi\*.prg
COPY e:\fwharbour\source\classes\*.prg
DEL expbuild.prg
DEL db10.prg
DEL odbc32.prg
DEL dbm.prg
DEL vbxctrl.prg
DEL _index.prg
DEL dbms.prg
DEL ddeserv.prg
DEL field.prg
DEL tnewsins.prg
DEL c3.prg
DEL fwppc.prg
SET HARBOURCMD=/a /es1 /gc0 /l /m /n /q /w
SET INCLUDE=e:\fwharbour\include;e:\xharbour\include
FOR %%i IN (*.prg) DO e:\xharbour\harbour %%i
SET HARBOURCMD=
SET INCLUDE=
IF EXIST *.prg DEL *.prg
FOR %%i IN (*.c) DO e:\bcc\bin\bcc32 +xharbour.cfg -c %%i
IF EXIST *.c DEL *.c
FOR %%i IN (*.obj) DO e:\bccold\bin\tlib Fivehx /P32 /0 +%%i
IF EXIST *.obj DEL *.obj
IF EXIST *.bak DEL *.bak
IF EXIST fivehx.lib COPY fivehx.lib e:\fwharbour\lib
IF EXIST fivehx.lib DEL fivehx.lib
-6
-a4
-DHB_GUI
-DHB_INCLUDE_WINEXCHANDLER
-DHB_NO_PROFILER
-DHB_NO_TRACE
-DHB_WIN32_IO
-d
-g0
-Ie:\fwharbour\include;e:\xharbour\include;e:\bcc\include;e:\bcc\include\windows\crtl;e:\bcc\include\windows\sdk;e:\bcc\include\dinkumware
-k-
-O
-O1
-O2
-OS
-Ob
-Oc
-Ov
-v-
-W
-w
Return to FiveWin for Harbour/xHarbour
Users browsing this forum: No registered users and 108 guests