Muchas gracias este .bat esta super, ahora si, hacer pruebas y
pruebas, una preguntita mas, por ejemplo si alguna aplicacion tiene
varios .prg como se debe de compilar, muchas gracias de antemano.
Estoy feliz con xharbour!!!
--- En DesarrolloClipper@..., JORGE EDUARDO
<jhernandezmaestre@...> escribió:
>
> Cordial saludo.
>
> Copia lo siguiente dentro de un archivo que llmaes build.bat y con
este compilas.
>
> Por fa verificar que los caminos sean los mismos donde tu
instalaste el software.
>
> @ECHO OFF
> CLS
> if A%1 == A GOTO :SINTAX
> if NOT EXIST %1.prg GOTO :NOEXIST
> ECHO Compiling...
> set hdir=c:\xharbour
> set bcdir=c:\borland\bcc55\bin
> %hdir%\bin\harbour %1 /n /i..\include;%hdir%\include /p %2 %3 >
clip.log
> @type clip.log
> IF ERRORLEVEL 1 PAUSE
> IF ERRORLEVEL 1 GOTO EXIT
> echo -O2 -e%1.exe -I%hdir%\include %1.c > b32.bc
> %bcdir%\bcc32 -M -c @b32.bc
> :ENDCOMPILE
> echo c0w32.obj + > b32.bc
> echo %1.obj, + >> b32.bc
> echo %1.exe, + >> b32.bc
> echo %1.map, + >> b32.bc
> echo %hdir%\lib\rtl.lib + >> b32.bc
> echo %hdir%\lib\hsx.lib + >> b32.bc
> echo %hdir%\lib\hbsix.lib + >> b32.bc
> echo %hdir%\lib\rtl.lib + >> b32.bc
> echo %hdir%\lib\vm.lib + >> b32.bc
> echo %hdir%\lib\rtl.lib + >> b32.bc
> echo %hdir%\lib\gtwin.lib + >> b32.bc
> echo %hdir%\lib\Lang.lib + >> b32.bc
> echo %hdir%\lib\macro.lib + >> b32.bc
> echo %hdir%\lib\rdd.lib + >> b32.bc
> echo %hdir%\lib\dbfntx.lib + >> b32.bc
> echo %hdir%\lib\dbfcdx.lib + >> b32.bc
> echo %hdir%\lib\common.lib + >> b32.bc
> echo %hdir%\lib\libmisc.lib + >> b32.bc
> echo %hdir%\lib\CodePage.lib + >> b32.bc
> echo %hdir%\lib\DbfFpt.lib + >> b32.bc
> echo %hdir%\lib\pcrepos.lib + >> b32.bc
> rem Uncomment these two lines to use Advantage RDD
> rem echo %hdir%\lib\rddads.lib + >> b32.bc
> rem echo %hdir%\lib\ace32.lib + >> b32.bc
> echo %bcdir%\lib\cw32.lib + >> b32.bc
> echo %bcdir%\lib\import32.lib, >> b32.bc
> ECHO *
> ECHO Linking...
> %bcdir%\ilink32 -Gn -Tpe -s @b32.bc
> rem delete temporary files
> rem @del %1.c
> IF ERRORLEVEL 1 GOTO LINKERROR
> ECHO * Application successfully built
> GOTO EXIT
> ECHO
> :LINKERROR
> rem PAUSE * Linking errors *
> GOTO EXIT
> :SINTAX
> ECHO SYNTAX: Build [Program] {-- No especifiques la extensi¢
n PRG
> ECHO {-- Don't specify .PRG extension
> GOTO EXIT
> :NOEXIST
> ECHO The specified PRG %1 does not exist
> :EXIT
>
> Atentamente,
>
> JORGE EDUARDO.
>
> --- El jue, 17/7/08, byrpa <byrpa@...> escribió:
>
> De: byrpa <byrpa@...>
> Asunto: [CA-Clipper] Estoy como loco, no he podido compilar, ni
generar .exe,
> Para: DesarrolloClipper@...
> Fecha: jueves, 17 julio, 2008 11:07
>
>
>
>
>
>
> Hola a todos, estoy como loco, no he podido generar .exe, de un
> programa que desplegue el "hola harbour o xharbour", tengo las
ultimas
> versiones harbour y xharbour, ademas del bcc32, pero no se que mas
> hacer. alguien me puede echar una mano, muchas gracias.
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> ______________________________________________
> Enviado desde Correo Yahoo! La bandeja de entrada más inteligente.
>