Al pasar de FW16 a FW32 con harbour:
rmake:
*=====================================
#Borland make sample, (c) FiveTech Software 2005
HBDIR=c:\harbour
BCDIR=c:\bcc55
FWDIR=c:\fwh
#change these paths as needed
.path.OBJ = .\obj
.path.PRG = .\
.path.CH = $(FWDIR)\include;$(HBDIR)\include
.path.C = .\
.path.rc = .\
#important: Use Uppercase for filenames extensions, in the next two rules!
PRG = \
Winqvol.PRG \
Vol_Men1.PRG \
Vol_Men2.PRG \
Vol_Men3.PRG \
Vol_Men4.PRG \
Vol_Prn1.PRG \
Vol_Prn2.PRG \
Vol_Prn3.PRG \
Vol_Prn4.PRG \
Vol_Prn5.PRG \
Vol_Prn6.PRG \
Vol_Gral.PRG
C = \
PROJECT : WinQVol.exe
WinQVol.exe : $(PRG:.PRG=.OBJ) $(C:.C=.OBJ) WinQVol.res
echo off
echo $(BCDIR)\lib\c0w32.obj + > b32.bc
echo obj\WinQVol.obj obj\Vol_Men1.obj obj\Vol_Men2.obj obj\Vol_Men3.obj obj\Vol_Men4.obj obj\Vol_Prn1.obj obj\Vol_Prn2.obj obj\Vol_Prn3.obj obj\Vol_Prn4.obj obj\Vol_Prn5.obj obj\Vol_Prn6.obj obj\Vol_Gral.obj, + >> b32.bc
echo winqvol.exe, + >> b32.bc
echo winqvol.map, + >> b32.bc
echo $(FWDIR)\lib\FiveH.lib $(FWDIR)\lib\FiveHC.lib + >> b32.bc
echo $(HBDIR)\lib\b32\rtl.lib + >> b32.bc
echo $(HBDIR)\lib\b32\vm.lib + >> b32.bc
echo $(HBDIR)\lib\b32\gtgui.lib + >> b32.bc
echo $(HBDIR)\lib\b32\lang.lib + >> b32.bc
echo $(HBDIR)\lib\b32\macro.lib + >> b32.bc
echo $(HBDIR)\lib\b32\rdd.lib + >> b32.bc
echo $(HBDIR)\lib\b32\dbfntx.lib + >> b32.bc
echo $(HBDIR)\lib\b32\dbfcdx.lib + >> b32.bc
echo $(HBDIR)\lib\b32\dbffpt.lib + >> b32.bc
echo $(HBDIR)\lib\b32\hbsix.lib + >> b32.bc
echo $(HBDIR)\lib\b32\debug.lib + >> b32.bc
echo $(HBDIR)\lib\b32\common.lib + >> b32.bc
echo $(HBDIR)\lib\b32\pp.lib + >> b32.bc
echo $(HBDIR)\lib\b32\codepage.lib + >> b32.bc
rem Uncomment these two lines to use Advantage RDD
rem echo $(HBDIR)\lib\b32\rddads.lib + >> b32.bc
rem echo $(HBDIR)\lib\b32\Ace32.lib + >> b32.bc
echo $(BCDIR)\lib\cw32.lib + >> b32.bc
echo $(BCDIR)\lib\import32.lib + >> b32.bc
echo $(BCDIR)\lib\psdk\odbc32.lib + >> b32.bc
echo $(BCDIR)\lib\psdk\nddeapi.lib + >> b32.bc
echo $(BCDIR)\lib\psdk\iphlpapi.lib + >> b32.bc
echo $(BCDIR)\lib\psdk\rasapi32.lib, >> b32.bc
IF EXIST winqvol.res echo WinQvol.res >> b32.bc
$(BCDIR)\bin\ilink32 -Gn -aa -Tpe -s @b32.bc
del b32.bc
.PRG.OBJ:
$(HBDIR)\bin\b32\harbour $< /L /N /W /Oobj\ /I$(FWDIR)\include;$(HBDIR)\include
$(BCDIR)\bin\bcc32 -c -tWM -I$(HBDIR)\include -oobj\$& obj\$&.c
.C.OBJ:
echo -c -tWM -D__HARBOUR__ -DHB_API_MACROS > tmp
echo -I$(HBDIR)\include;$(FWDIR)\include >> tmp
$(BCDIR)\bin\bcc32 -oobj\$& @tmp $&.c
del tmp
WinQvol.res : WinQVol.rc
$(BCDIR)\bin\brc32.exe -r WinQVol.rc
*==========================================
Respuesta obtenida:
C:\FWH\WinQVol>if not exist obj md obj
C:\FWH\WinQVol>c:\bcc55\bin\make -fwinqvol.rmk
MAKE Version 5.2 Copyright (c) 1987, 2000 Borland
echo off
echo c:\bcc55\lib\c0w32.obj + > b32.bc
echo obj\WinQVol.obj obj\Vol_Men1.obj obj\Vol_Men2.obj obj\Vol_Men3.obj
obj\Vol_Men4.obj obj\Vol_Prn1.obj obj\Vol_Prn2.obj obj\Vol_Prn3.obj obj\Vol_Prn4
.obj obj\Vol_Prn5.obj obj\Vol_Prn6.obj obj\Vol_Gral.obj, + >> b32.bc
echo winqvol.exe, + >> b32.bc
echo winqvol.map, + >> b32.bc
echo c:\fwh\lib\FiveH.lib c:\fwh\lib\FiveHC.lib + >> b32.bc
echo c:\harbour\lib\b32\rtl.lib + >> b32.bc
echo c:\harbour\lib\b32\vm.lib + >> b32.bc
echo c:\harbour\lib\b32\gtgui.lib + >> b32.bc
echo c:\harbour\lib\b32\lang.lib + >> b32.bc
echo c:\harbour\lib\b32\macro.lib + >> b32.bc
echo c:\harbour\lib\b32\rdd.lib + >> b32.bc
echo c:\harbour\lib\b32\dbfntx.lib + >> b32.bc
echo c:\harbour\lib\b32\dbfcdx.lib + >> b32.bc
echo c:\harbour\lib\b32\dbffpt.lib + >> b32.bc
echo c:\harbour\lib\b32\hbsix.lib + >> b32.bc
echo c:\harbour\lib\b32\debug.lib + >> b32.bc
echo c:\harbour\lib\b32\common.lib + >> b32.bc
echo c:\harbour\lib\b32\pp.lib + >> b32.bc
echo c:\harbour\lib\b32\codepage.lib + >> b32.bc
rem Uncomment these two lines to use Advantage RDD
rem echo c:\harbour\lib\b32\rddads.lib + >> b32.bc
rem echo c:\harbour\lib\b32\Ace32.lib + >> b32.bc
echo c:\bcc55\lib\cw32.lib + >> b32.bc
echo c:\bcc55\lib\import32.lib + >> b32.bc
echo c:\bcc55\lib\psdk\odbc32.lib + >> b32.bc
echo c:\bcc55\lib\psdk\nddeapi.lib + >> b32.bc
echo c:\bcc55\lib\psdk\iphlpapi.lib + >> b32.bc
echo c:\bcc55\lib\psdk\rasapi32.lib, >> b32.bc
IF EXIST winqvol.res echo WinQvol.res >> b32.bc
c:\bcc55\bin\ilink32 -Gn -aa -Tpe -s @b32.bc
Turbo Incremental Link 5.00 Copyright (c) 1997, 2000 Borland
Fatal: Unsupported 16-bit segment(s) in module WINQVOL
** error 2 ** deleting WinQVol.exe
C:\FWH\WinQVol>pause
*=========================================
Es mi primer intento de pasar del antiguo FW al FWH recien adquirido, por tanto debeis de ser comprensiv@s y darme alguna pista.
Thanks in advance:
Luis Jonas
Idoslab SL