by nolgiati » Thu Jul 26, 2007 8:14 pm
Lo probe, cambie lo que me dijiste y no funciono.
Abajo te mando l amanera en que compilo y enlazo:
Compilar:
-----------
@ECHO OFF
CLS
DEL Compilar.log
DEL *.$$$
ECHO Compiling...
ECHO ********** COMPILO DE PRG A C ************************************************************
HARBOUR INICIO /n /i /p %2 %3 >>COMPILAR.LOG
echo --------------------------------------------------------------------------- >>COMPILAR.LOG
HARBOUR INVENTARIO /n /i /p %2 %3 >>COMPILAR.LOG
echo --------------------------------------------------------------------------- >>COMPILAR.LOG
HARBOUR PROCE /n /i /p %2 %3 >>COMPILAR.LOG
echo --------------------------------------------------------------------------- >>COMPILAR.LOG
echo . >>COMPILAR.LOG
echo . >>COMPILAR.LOG
ECHO ******************************************************************************************
ECHO ********** COMPILO DE C A OBJ ************************************************************
CLARM -W3 -c /DARM /DUNICODE /I C:\HARBOUR_ce\include /I..\include INICIO.c >>COMPILAR.LOG
echo --------------------------------------------------------------------------- >>COMPILAR.LOG
CLARM -W3 -c /DARM /DUNICODE /I C:\HARBOUR_ce\include /I..\include INVENTARIO.c >>COMPILAR.LOG
echo --------------------------------------------------------------------------- >>COMPILAR.LOG
CLARM -W3 -c /DARM /DUNICODE /I C:\HARBOUR_ce\include /I..\include PROCE.c >>COMPILAR.LOG
echo --------------------------------------------------------------------------- >>COMPILAR.LOG
ECHO ******************************************************************************************
COPY *.C C\
DEL *.C
COPY *.OBJ OBJ\
DEL *.OBJ
DEL *.PPO
-------------------------------------------------------------------------------------
En verde te marque lo que cambie.
Enlazar:
---------
DEL LIN.TMP
echo C:\WPSIngresoStock\RESOURCE\INVENTARIO.res >> LIN.TMP
echo C:\WPSIngresoStock\OBJ\INICIO.obj >> LIN.TMP
echo C:\WPSIngresoStock\OBJ\INVENTARIO.obj >> LIN.TMP
echo C:\WPSIngresoStock\OBJ\PROCE.obj >> LIN.TMP
echo C:\FWPPC\lib\FiveCE.lib C:\FWPPC\lib\FiveCEC.lib >> LIN.TMP
echo C:\harbour_CE\lib\rtl.lib >> LIN.TMP
echo C:\harbour_CE\lib\vm.lib >> LIN.TMP
echo C:\harbour_CE\lib\lang.lib >> LIN.TMP
echo C:\harbour_CE\lib\gtwin.lib >> LIN.TMP
echo C:\harbour_CE\lib\macro.lib >> LIN.TMP
echo C:\harbour_CE\lib\rdd.lib >> LIN.TMP
echo C:\harbour_CE\lib\dbfntx.lib >> LIN.TMP
echo C:\harbour_CE\lib\dbfcdx.lib >> LIN.TMP
echo C:\harbour_CE\lib\dbffpt.lib >> LIN.TMP
echo C:\harbour_CE\lib\hbsix.lib >> LIN.TMP
echo C:\harbour_CE\lib\debug.lib >> LIN.TMP
echo C:\harbour_CE\lib\common.lib >> LIN.TMP
echo C:\harbour_CE\lib\pp.lib >> LIN.TMP
echo C:\harbour_CE\lib\codepage.lib >> LIN.TMP
echo C:\VCE\lib\arm\coredll.lib >> LIN.TMP
echo C:\VCE\lib\arm\corelibc.lib >> LIN.TMP
echo C:\VCE\lib\arm\aygshell.lib >> LIN.TMP
echo C:\VCE\lib\arm\ws2.lib >> LIN.TMP
echo C:\VCE\lib\arm\mfcce400.lib >> LIN.TMP
echo C:\VCE\lib\arm\ole32.lib >> LIN.TMP
echo C:\VCE\lib\arm\ceshell.lib >> LIN.TMP
echo C:\VCE\lib\arm\commctrl.lib >> LIN.TMP
echo C:\VCE\lib\arm\wininet.lib >> LIN.TMP
C:\VCE\bin\link @LIN.TMP /SUBSYSTEM:WINDOWSCE,4.20 /MACHINE:ARM
PAUSE
DEL *.EXP
DEL *.LIB
DEL *.TMP
-------------------------------------------------------------------------------------
Saludos, Natalia.