"BCC 6.3" Released
- Enrico Maria Giordano
- Posts: 8770
- Joined: Thu Oct 06, 2005 8:17 pm
- Location: Roma - Italia
- Has thanked: 1 time
- Been thanked: 7 times
- Contact:
Re: "BCC 6.3" Released
No, using BCC 6.30 I get bigger EXE than BCC 5.82, even with simple pure C samples.
EMG
EMG
Re: "BCC 6.3" Released
Enrico Maria Giordano wrote:No, using BCC 6.30 I get bigger EXE than BCC 5.82, even with simple pure C samples.
Enrico,
Sorry, I cannot confirm your finding because in my test, the following code:
Code: Select all | Expand
// file test.c
#include "stdio.h"
int main(int argc, char *argv[])
{
printf("Hello World\n");
}
// file test.c
Compiled with command line: BCC32 test.c produced exe as follows:
Compiled with BCC 5.82: 121,344 test.exe
Compiled with BCC 6.3 : 60,928 test.exe
Andi
- Enrico Maria Giordano
- Posts: 8770
- Joined: Thu Oct 06, 2005 8:17 pm
- Location: Roma - Italia
- Has thanked: 1 time
- Been thanked: 7 times
- Contact:
Re: "BCC 6.3" Released
You're right! I retest the C sample and BCC 6.30 produces smaller EXEs than BCC 5.82 in pure C. But still my xHarbour console EXEs and my FWH EXEs are bigger with 6.30 compared with 5.82. Test this, please:
EMG
Code: Select all | Expand
FUNCTION MAIN()
? "Hello, World!"
RETURN NIL
EMG
Re: "BCC 6.3" Released
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.
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.
Andi
Re: "BCC 6.3" Released
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.
Oops, that was console app compiled with Harbour.
O Yes, I confirm the exe of 6.3 compiled with xHarbour is bigger than 5.82

Andi
- Enrico Maria Giordano
- Posts: 8770
- Joined: Thu Oct 06, 2005 8:17 pm
- Location: Roma - Italia
- Has thanked: 1 time
- Been thanked: 7 times
- Contact:
Re: "BCC 6.3" Released
andijahja wrote:O Yes, I confirm the exe of 6.3 compiled with xHarbour is bigger than 5.82

Ok, no problem. I'd only want to know the real reason...
EMG
- Enrico Maria Giordano
- Posts: 8770
- Joined: Thu Oct 06, 2005 8:17 pm
- Location: Roma - Italia
- Has thanked: 1 time
- Been thanked: 7 times
- Contact:
Re: "BCC 6.3" Released
I found a bug in TLib of the new BCC 6.30. Building FWH takes forever using the following batch (it works fine if TLib from 5.82 is used):
XHARBOUR.CFG
Code: Select all | Expand
@ 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
XHARBOUR.CFG
Code: Select all | Expand
-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
Re: "BCC 6.3" Released
Hi,
What are the advantages of this new version in terms of speed and perfomance?
Thank you.
What are the advantages of this new version in terms of speed and perfomance?
Thank you.
Saludos,
Eduardo
Eduardo
- Enrico Maria Giordano
- Posts: 8770
- Joined: Thu Oct 06, 2005 8:17 pm
- Location: Roma - Italia
- Has thanked: 1 time
- Been thanked: 7 times
- Contact:
Re: "BCC 6.3" Released
Probably nothing that you can see in a "real world" application. But it's still a good idea to keep your compiler updated.
EMG
EMG