RMAKE is generating error in WINXP. But Ok in WIN98.

Post Reply
User avatar
RAMESHBABU
Posts: 591
Joined: Fri Oct 21, 2005 5:54 am
Location: Secunderabad (T.S), India

RMAKE is generating error in WINXP. But Ok in WIN98.

Post by RAMESHBABU »

Hi all

I am using RMAKE to compile my FWH/xHarbour programs. The follwing
is the contents of .RMK file
// defining some preprocessor directives for bcc32
Def="__HARBOUR__;HB_FM_STATISTICS_OFF"

makepath[.prg]="c:\fwh\Application"
makepath[.c]="c:\fwh\Application"

.prg.c:
c:\xharbour\bin\harbour /n /w /i;c:\Fwh\include;c:\fwh\Application\include > prg.log

.c.obj:
c:\bcc55\bin\bcc32 -D$(Def) -O2 -c -Ic:\xharbour\include;c:\fwh\include $< >> c.log

prg1.c : prg1.prg
prg1.obj : prg1.c

prg2.c : prg2.prg
prg2.obj : prgc.c

..
..
It is working OK in Win98. When I try to compile in XP environment
RMAKE is generating an error and the programs are not compiling.

I am calling this .RMK file from a batchfile using CALL PROG.RMK.

Can anybody guide me to come out of this problem.

- Ramesh Babu P
areang
Posts: 128
Joined: Mon Jul 31, 2006 3:23 pm

Post by areang »

Ramesh,

in your WindowXP to many Environment Variables.

if you want to call rmake on command prompt please remove it ( see in your windows Environment Variables )

Best Regard
Areang
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post by Antonio Linares »

Ramesh,

You may review fwh\makes\bormake.zip
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
RAMESHBABU
Posts: 591
Joined: Fri Oct 21, 2005 5:54 am
Location: Secunderabad (T.S), India

Post by RAMESHBABU »

Mr.Antonio

Thank you very much.

I have not noticed the makes directory :!:

I will convert my Clipper's .RMK files to Borland's make utility.

Regards to you

- Ramesh Babu P
Post Reply