Monday 15 August 2011

inline assembly - Unable to execute command 'tasm.exe' with Borland -



inline assembly - Unable to execute command 'tasm.exe' with Borland -

i'm using borland 4.52 build old project , i'm running issue.

when build script enters module contains assembly code, have :

info : root.compile : ================================================== debug : root.compile : building module info : root.compile : ================================================== cleaning... info : root.compile : thread handler said : 1 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 , 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 execute command 'tasm.exe' warning : root.compile : xxxxxxxxxxxxxxxxxxxx warning : root.compile : module failed warning : root.compile : xxxxxxxxxxxxxxxxxxxx

i have checked:

if tasm.exe in c:\bc45\bin\bcc (it is), all environment variables, the folders rights (full control) when come in tasm in cmd, show correctly help of tasm

when execute within borland , straight asm files, it's ok

flags , options : -1- -d -ml -w -f- -x- -v -r- -vi -p -rt- -dmagic510 -dcadhex -d4wires -dcad1 -dagp_2 -dterm_type=1 generating opt c options file generating opt asm options file assembling ../../../../source/bcpp31.asm turbo assembler version 4.1 copyright (c) 1988, 1996 borland international assembling file: ..\..\..\..\source\bcpp31.asm assembling big memory model paradigm locate borland c++ 3.10 startup back upwards *warning* ..\..\..\..\source\bcpp31.asm(657) module pass dependent - com patibility pass done error messages: none warning messages: 1 passes: 2 remaining memory: 391k compiling ../../../../source/bcpprtl.asm turbo assembler version 4.1 copyright (c) 1988, 1996 borland international assembling file: ..\..\..\..\source\bcpprtl.asm assembling big memory model *warning* ..\..\..\..\source\bcpprtl.asm(142) module pass dependent - compati bility pass done error messages: none warning messages: 1 passes: 2 remaining memory: 398k build finish bcpp31.obj bcpprtl.obj up-to-date

and, worked fine in other computer same os (seven entreprise sp 1).

if have other ideas, shall grateful.

thanks

check if path borland in path within first few (128) characters, if not move beginning. check if there no other tasm.exe borland in path.

inline-assembly tasm borland-c++

No comments:

Post a Comment