Hi, I've read sevieral posts for similar problems but haven't been able to fix a problem trying to run HLA under RadASM. Using RadASM I can make and run projects under MASM.

For the HLA Hello World project (hw.hla), it assembles and runs using hla from the command prompt. Using RadASM, if I click the "Build" button, I receive no errors:

Microsoft (R) Program Maintenance Utility Version 1.50
Copyright (c) Microsoft Corp 1988-94. All rights reserved.

hla -c hw
Assembling: hw.asm

Make finished.
Total compile time 341 ms


However, if I click the "Go" button, I receive the following error:
Microsoft (R) Program Maintenance Utility Version 1.50
Copyright (c) Microsoft Corp 1988-94. All rights reserved.

del *.exe
Could Not Find C:\RadASM\Hla\Projects\hw\*.exe
NMAKE : fatal error U1077: 'C:\WINNT\system32\cmd.exe' : return code '0x1'
Stop.

Make error(s) occured.
Total compile time 80 ms

I'm using RadASM version 2.1.0.1, but extracted hla.ini into the top level folder, from the RadASM zip file at the HLA website.

My path has:
c:\hla;c:\masm32\bin;c:\masm32\lib;c:\radasm

and the relevant environment veriables are:
ComSpec=C:\WINNT\system32\cmd.exe

hlainc=c:\hla\include
hlalib=c:\hla\hlalib\hlalib.lib
include=c:\hla\include;c:\masm32\include
lib=c:\hla\hlalib;c:\masm32\lib

and in the RadASM.ini file I changed:

Assembler=masm,fasm,tasm,nasm,hla,GoAsm,html
to :

Assembler=hla,masm,fasm,tasm,nasm,GoAsm,html

Thanks for the help, and for having so many tools and so much online to learn from.
Posted on 2004-11-02 08:20:05 by folksinger
Hi folksinger

I guess your make file look like this:



build: hw.obj

buildall: clean hw.exe

compilerc: hw.res

syntax:
hla -s hw.hla

clean:
del *.exe
del *.obj
del *.res
del *.link
del *.asm
del *.map

hw.res: hw.rc
rc /v hw.rc

hw.obj: hw.hla
hla $(debug) -c hw

hw.exe: hw.hla
hla $(debug) hw


Try to remove all the del *

KetilO
Posted on 2004-11-02 08:46:28 by KetilO
KetilO,

Thanks for the help! That worked.

Would you please explain why those deletes were a problem? (Or could you please point me to a good discussion of makefiles?)

Jim
Posted on 2004-11-02 09:07:31 by folksinger
It could be that Nmake does not support the del console command or it may have a different syntax for it.
Posted on 2004-11-02 19:54:05 by Kain