Compile with FW August 2024

Re: Compile with FW August 2024

Postby Maurizio » Fri Sep 27, 2024 2:52 pm

thanks Enrico,
if I understood correctly, analyzing buidh.bat I saw that the -O2 flag is used for Borland, do you confirm this too?
I inserted the flag in hbmk2 and now it works.
Regards Maurizo
User avatar
Maurizio
 
Posts: 825
Joined: Mon Oct 10, 2005 1:29 pm

Re: Compile with FW August 2024

Postby Enrico Maria Giordano » Fri Sep 27, 2024 2:57 pm

-O2 has nothing to do with warnings. It means "optimized for speed".
User avatar
Enrico Maria Giordano
 
Posts: 8718
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Re: Compile with FW August 2024

Postby Maurizio » Mon Sep 30, 2024 9:35 am

Ciao Enrico ,
is it possible to have an example of the mak file you use?
Maurizio
User avatar
Maurizio
 
Posts: 825
Joined: Mon Oct 10, 2005 1:29 pm

Re: Compile with FW August 2024

Postby Enrico Maria Giordano » Mon Sep 30, 2024 10:54 am

I don't use a mak, I'm using a batch. Try this (change the paths!):

Code: Select all  Expand view  RUN
@ ECHO OFF

SET BCC=e:\fw\temp\bcc32\bcc
SET HRB=e:\fw\temp\bcc32\harbour

SET HARBOURCMD=-a -es2 -gc0 -n -q -w3

%HRB%\bin\harbour -i%HRB%\include %1
%BCC%\bin\bcc32 -I%HRB%\include %1.c
User avatar
Enrico Maria Giordano
 
Posts: 8718
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Re: Compile with FW August 2024

Postby Silvio.Falconi » Mon Sep 30, 2024 11:18 am

Perhaps can be usefull ( I use xmate from 20 years)

my directory of work


Image

Code: Select all  Expand view  RUN

[Environment]
Description 1=For Borland 7HARBOUR
Description 2=
Description 3=
PRG Compiler ver=Harbour
C compiler ver=Bcc7
Subsystem=FWH0217
Author=Falconi Silvio
Last update=06/03/2024

[Advanced]
Command types=1,1,1,1,1,1,1,1,1

[Harbour]
HB_INSTALL=C:\Work\harbour
HB_COMMAND=%HB_BIN_INSTALL%\Harbour.Exe %PRG% /m /n0 /gc1 /es2 /a /i%HB_INC_INSTALL% /j%HOME%\I18n\Main.hil /iinclude;c:\work\fwh\include;%HB_INSTALL%\include
Option prefix=/

[C]
C_INSTALL=C:\work\bcc7
C_COMP_COMMAND=%C_BIN_INSTALL%\Bcc32.Exe -M -c %CRLF%-DHB_OS_WIN_32 %CRLF%-DHB_FM_STATISTICS_OFF %CRLF%-DHB_NO_DEFAULT_API_MACROS %CRLF%-DHB_NO_DEFAULT_STACK_MACROS %CRLF%-I%C_INC_INSTALL%\windows\sdk\;%HB_INC_INSTALL%  -n%HOME%\Obj %C%%CRLF%%CRLF%%CRLF%
C_LIB_COMMAND=%C_BIN_INSTALL%\TLib.Exe %LIB% /P512 @%RSP% , %LST%
C_LINK_COMMAND=%C_BIN_INSTALL%\iLink32.Exe -Gn -aa -Tpe -s -v @%LNK%
C_RC_COMMAND=c:\work\PellesC\Bin\PORC.EXE  %RC%  /I c:\work\pellesc\include /I c:\work\pellesc\include\win
C_DLL_COMMAND=%C_BIN_INSTALL%\iLink32.Exe -Gn -aa -Tpd -M -L%C_LIB_INSTALL% @%LNK%
Option prefix=-

[User]
POSTEXE_COMMAND=
POSTLIB_COMMAND=
POSTDLL_COMMAND=

[Files]
%C_LIB_INSTALL%\C0W32.OBJ=1
%C_LIB_INSTALL%\CW32.LIB=2
C:\Work\FWH\lib\Fiveh.lib=3
C:\Work\FWH\lib\Fivehc.lib=4
%HB_LIB_INSTALL%\win\bcc\hbrtl.lib=5
%HB_LIB_INSTALL%\win\bcc\hbvm.lib=6
%HB_LIB_INSTALL%\win\bcc\hbgt.lib=7
%HB_LIB_INSTALL%\win\bcc\gtgui.lib=8
%HB_LIB_INSTALL%\win\bcc\hblang.lib=9
%HB_LIB_INSTALL%\win\bcc\hbmacro.lib=10
%HB_LIB_INSTALL%\win\bcc\hbcommon.lib=11
%HB_LIB_INSTALL%\win\bcc\hbpp.lib=12
%HB_LIB_INSTALL%\win\bcc\hbrdd.lib=13
%HB_LIB_INSTALL%\win\bcc\rddntx.lib=14
%HB_LIB_INSTALL%\win\bcc\rddcdx.lib=15
%HB_LIB_INSTALL%\win\bcc\rddfpt.lib=16
%HB_LIB_INSTALL%\win\bcc\hbwin.lib=17
%HB_LIB_INSTALL%\win\bcc\hbsix.lib=18
%HB_LIB_INSTALL%\win\bcc\hbziparc.lib=19
%HB_LIB_INSTALL%\win\bcc\hbcpage.lib=20
%HB_LIB_INSTALL%\win\bcc\hbcplr.lib=21
%HB_LIB_INSTALL%\win\bcc\hbmzip.lib=22
%HB_LIB_INSTALL%\win\bcc\minizip.lib=23
%HB_LIB_INSTALL%\win\bcc\xhb.lib=24
%HB_LIB_INSTALL%\win\bcc\hbct.lib=25
%HB_LIB_INSTALL%\win\bcc\hbzlib.lib=26
%HB_LIB_INSTALL%\win\bcc\hbpcre.lib=27
%C_LIB_INSTALL%\IMPORT32.LIB=28
%C_LIB_INSTALL%\psdk\UUID.lib=29
%C_LIB_INSTALL%\PSDK\odbc32.lib=30
%C_LIB_INSTALL%\PSDK\nddeapi.lib=31
%C_LIB_INSTALL%\PSDK\iphlpapi.lib=32
%C_LIB_INSTALL%\PSDK\msimg32.lib=33
%C_LIB_INSTALL%\PSDK\ws2_32.lib=34
%C_LIB_INSTALL%\PSDK\psapi.lib=35
%C_LIB_INSTALL%\PSDK\rasapi32.lib=36
%HB_LIB_INSTALL%\win\bcc\png.lib=37
%C_LIB_INSTALL%\PSDK\shell32.lib=38
%C_LIB_INSTALL%\psdk\Uxtheme.lib=39

[DLL Files]
%HB_LIB_INSTALL%\win\bcc\harbour.lib=1
%C_LIB_INSTALL%\C0W32.OBJ=2
%C_LIB_INSTALL%\CW32.LIB=3
%C_LIB_INSTALL%\IMPORT32.LIB=4
 




at init I had problems with uuid.lib now it is ok
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
User avatar
Silvio.Falconi
 
Posts: 7070
Joined: Thu Oct 18, 2012 7:17 pm

Previous

Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Willi Quintana and 39 guests