Divide
Divide

Reputation: 31

Unable to execute command 'tasm.exe' with Borland

I'm using Borland 4.52 to build an old project and I'm running into this issue.

When my build script enters a module that contains the assembly code, I have :

INFO : root.compile : ==================================================
DEBUG : root.compile : Building module
INFO : root.compile : ==================================================
Cleaning...
INFO : root.compile : Thread Handler said : 1 was created
DEBUG : root.compile : Thread-100 : module_path
c:\make.exe: *** [c_des.obj] Error 1

ERROR : root.compile : when module_path ran, error: 2

DEBUG : root.compile : Stop thread : Thread-100
Flags and options : -1- -d -ml -w -f- -x- -v -R- -vi -RT- -P -DCAD
Generating OPT C Options File
Generating OPT ASM Options File
Compiling ../../../../source/lrc.c
"C:\Bc45\bin\bcc"  +c.opt -c -olrc.obj ../../../../source/lrc.c
Borland C++ 4.52 Copyright (c) 1987, 1994 Borland International
../../../../source/lrc.c:
Compiling ../../../../source/c_des.c
"C:\Bc45\bin\bcc"  +c.opt -c -oc_des.obj ../../../../source/c_des.c
Borland C++ 4.52 Copyright (c) 1987, 1994 Borland International
../../../../source/c_des.c:
Error: Unable to execute command 'tasm.exe'
WARNING : root.compile : XXXXXXXXXXXXXXXXXXXX
WARNING : root.compile : MODULE FAILED
WARNING : root.compile : XXXXXXXXXXXXXXXXXXXX

I have already checked:

And, it worked fine in an other computer with the same OS (Seven Entreprise SP 1).

If you have other any ideas, I shall be grateful.

Thanks

Upvotes: 3

Views: 1579

Answers (1)

maros
maros

Reputation: 21

Check if the path to Borland in PATH is within first few (128) characters, if not move it to beginning. Check if there is no other tasm.exe than Borland in your PATH.

Upvotes: 2

Related Questions