compilar com bat

compilar com bat

Postby lailton.webmaster » Fri Nov 06, 2009 4:00 pm

existe algun compiler.bat para pocket
?

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

Re: compilar com bat

Postby jrestojeda » Mon Nov 09, 2009 3:26 pm

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

Code: Select all  Expand view  RUN

@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  Expand view  RUN
C:\HARBOUR_CE\INCLUDE;C:\FWPPC\INCLUDE;C:\BCC55\INCLUDE;C:\VCE\INCLUDE


Agregar a la variable de sistema: "PATH"
Code: Select all  Expand view  RUN
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
User avatar
jrestojeda
 
Posts: 601
Joined: Wed Jul 04, 2007 3:51 pm
Location: Buenos Aires - Argentina

Re: compilar com bat

Postby lailton.webmaster » Mon Nov 09, 2009 7:01 pm

Gracias perfect !
lailton.webmaster
 
Posts: 603
Joined: Sun May 04, 2008 8:44 pm

Re: compilar com bat

Postby Antonio Linares » Tue Nov 10, 2009 2:05 pm

Lailton,

FWPPC\samples\buildce.bat
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42100
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: compilar com bat

Postby lailton.webmaster » Tue Nov 10, 2009 2:36 pm

Gracias Antonio,

Esstoy inciando :lol:
lailton.webmaster
 
Posts: 603
Joined: Sun May 04, 2008 8:44 pm


Return to FiveWin para Pocket PC

Who is online

Users browsing this forum: No registered users and 40 guests