Jump to content
Fivewin Brasil

hbmake , não consigo usar !!!


servass

Recommended Posts

  • 10 months later...

Kleiton

Atualmente estou usando xbuild e devo ter formatado meu micro e não tenho mais o meu build mas encontrei no Forum a forma que usava

onde esta hdir:=c:\harbour mude para xharbour

http://www.fivewin.com.br/forum/topic.asp?TOPIC_ID=4384

Yrece

set obj=

set lib=

set include=

set pll=

set bin=

ECHO Compiling...

set hdir=c:\harbour

set bcdir=c:\borland\bcc55

rem ----->>> GERA CODIGO EM C A PARTIR DO PRG.

%hdir%\bin\harbour SEU-SISTEMA /n /i\fwh\include;%hdir%\include /w0 /p %2 %3 > clip.log

@type clip.log

IF ERRORLEVEL 1 PAUSE

IF ERRORLEVEL 1 GOTO EXIT

rem ----->>> GERA OBJETOS A PARITR DO CODGIO C.

%bcdir%\bin\bcc32 -M -c -O2 -I%hdir%\include SEU-SISTEMA.c > b32.bc

%bcdir%\bin\bcc32 -M -c -02 -I%hdir%\include \fwh\source\winapi PRINTDC.C > b32.bc

:ENDCOMPILE

rem ----->>> COMPILA RC GERANDO ARQUIVO RES

IF EXIST SEU-SISTEMA.rc %bcdir%\bin\brc32 -r SEU-SISTEMA

rem ----->>> ARQUIVOS OBJ's A SEREM LINKADOS

echo c0w32.obj + >> b32.bc

echo SISTEMA.obj + >> b32.bc

rem ---->>> DEFINE EXE A SER GERADOR E LIB's A LINKAR

echo %1.exe, + >> b32.bc

echo %1.map, + >> b32.bc

echo \fwh\lib\FiveH.lib \fwh\lib\FiveHC.lib + >> b32.bc

echo %hdir%\lib\rtl.lib + >> b32.bc

echo %hdir%\lib\vm.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\debug.lib + >> b32.bc

echo %hdir%\lib\common.lib + >> b32.bc

echo %hdir%\lib\pp.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 %bcdir%\lib\psdk\odbc32.lib, >> b32.bc

IF EXIST %1.res echo %1.res >> b32.bc

ECHO rem ---->>>> ACIONA LINKEDITOR

rem uncomment this line and comment the next to review the unreleased memory blocks

rem %bcdir%\bin\ilink32 -Tpe -s @b32.bc

%bcdir%\bin\ilink32 -Gn -aa -Tpe -s @b32.bc

rem delete temporary files

@del %1.c

@del %1.il?

IF ERRORLEVEL 1 GOTO LINKERROR

ECHO * Application successfully built

SCR

GOTO EXIT

ECHO

:LINKERROR

rem if exist meminfo.txt notepad meminfo.txt

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

Link to comment
Share on other sites

Olá,

Use o MyMake que é similar ao xBuild e muito bom. Baixe-o em www.fivewin.com.br/exibedicas.asp?id=486

[]s,

Evandro G. de Paula

Curvelo - MG

evandro@skillnet.com.br (Escr. - na Cidade)

imortal@skillnet.com.br (Res. - na Roça)

FWH 2.5+PellesC+xBuild+xHarbour.org 0.99.3

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...