compilar com bat

Post Reply
lailton.webmaster
Posts: 603
Joined: Sun May 04, 2008 8:44 pm

compilar com bat

Post by lailton.webmaster »

existe algun compiler.bat para pocket
?

gracias
User avatar
jrestojeda
Posts: 543
Joined: Wed Jul 04, 2007 3:51 pm
Location: Buenos Aires - Argentina

Re: compilar com bat

Post by jrestojeda »

Hola amigo...
Yo uso un .bat de la siguiente manera:

Code: Select all

@ECHO OFF
CLS
DEL Compilar.log
DEL *.$$$

ECHO Compiling...

ECHO ********** COMPILO DE PRG A C ************************************************************
HARBOUR INICIO     /n /i /p /W %2 %3     >COMPILAR.LOG
echo ---------------------------------------------------------------------------    >>COMPILAR.LOG
HARBOUR PROCE      /n /i /p /W %2 %3    >>COMPILAR.LOG
echo ---------------------------------------------------------------------------    >>COMPILAR.LOG
HARBOUR PRUEBA     /n /i /p /W %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 PROCE.c       >>COMPILAR.LOG
echo --------------------------------------------------------------------------- >>COMPILAR.LOG
CLARM -W3 -c /DARM /DUNICODE /I C:\HARBOUR_ce\include /I..\include PRUEBA.c      >>COMPILAR.LOG
echo --------------------------------------------------------------------------- >>COMPILAR.LOG
ECHO ******************************************************************************************

COPY *.C C\
DEL *.C
COPY *.OBJ OBJ\
DEL *.OBJ
DEL *.PPO
PAUSE
 
Para compilar así, lo que hago es tener cargadas las siguientes variables de entorno:
Variable de usuario: "INCLUDE"

Code: Select all

C:\HARBOUR_CE\INCLUDE;C:\FWPPC\INCLUDE;C:\BCC55\INCLUDE;C:\VCE\INCLUDE
Agregar a la variable de sistema: "PATH"

Code: Select all

C:\HARBOUR_CE\BIN;C:\BCC55\BIN;C:\BCC55\INCLUDE;C:\VCE\LIB\ARM;C:\VCE\BIN
Obviamente los directorios deben estar donde dicen las variables de entorno.
Espero te sirva.
Saludos, Esteban.
Last edited by jrestojeda on Mon Nov 09, 2009 7:24 pm, edited 3 times in total.
Ojeda Esteban Eduardo.
Buenos Aires - Argentina.
FWH - PellesC - DBF/CDX - ADS - Gloriosos .Bat - MySql - C# .net - FastReport
Skype: jreduojeda
lailton.webmaster
Posts: 603
Joined: Sun May 04, 2008 8:44 pm

Re: compilar com bat

Post by lailton.webmaster »

Gracias perfect !
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: compilar com bat

Post by Antonio Linares »

Lailton,

FWPPC\samples\buildce.bat
regards, saludos

Antonio Linares
www.fivetechsoft.com
lailton.webmaster
Posts: 603
Joined: Sun May 04, 2008 8:44 pm

Re: compilar com bat

Post by lailton.webmaster »

Gracias Antonio,

Esstoy inciando :lol:
Post Reply