recompiling C sources

Post Reply
User avatar
Maverich
Posts: 31
Joined: Sun Oct 09, 2005 8:29 pm
Location: Prato, Italia

recompiling C sources

Post by Maverich »

I need to recompile some sources (like mgetcrea.c) in sources\winapi folder of fw 2.6. I use a batch file for compiling:
@ ECHO OFF
echo -------------------------------------------------
echo MODIFICA SORGENTI NELLE LIBRERIE XHARBOUR
echo sintassi: compila nome_sorgente_c nome_lib_fw
echo tutto SENZA estensioni
echo -------------------------------------------------
pause

c:\borland\bcc55\bin\bcc32 +xharbour.cfg -c %1.c
pause

c:\borland\bcc55\bin\tlib c:\fwh\lib\%2 /P32 -+%1.obj
IF EXIST *.obj DEL *.obj
IF EXIST *.bak DEL *.bak
Pause
I get no error doing it, but linking the modified lib to a project cuases the error:
Error: Unresolved external '_HB_FUN_MGETCREATE' referenced from C:\FWH\LIB\FIVEHX.LIB|MGET
do I need other parameters? what am I doing wrong?
regards
Riccardo
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post by Antonio Linares »

Riccardo,

clp2harb is located at c:\fwh\tools\clp2harb.exe and clp2harb.prg
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Maverich
Posts: 31
Joined: Sun Oct 09, 2005 8:29 pm
Location: Prato, Italia

Post by Maverich »

which is the input of clp2harb.exe? the obj generated compiling the c source?
Riccardo
User avatar
Enrico Maria Giordano
Posts: 7355
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia
Contact:

Post by Enrico Maria Giordano »

Maverich wrote:which is the input of clp2harb.exe? the obj generated compiling the c source?
No, the source code. The utility changes CLIPPER in HB_FUNC and other similar things.

EMG
Post Reply