|
@@ -151,16 +151,17 @@ var
|
|
Function TAsmList.FindAssembler:string;
|
|
Function TAsmList.FindAssembler:string;
|
|
var
|
|
var
|
|
asfound : boolean;
|
|
asfound : boolean;
|
|
|
|
+ UtilExe : string;
|
|
begin
|
|
begin
|
|
|
|
+ UtilExe:=AddExtension(target_asm.asmbin,source_os.exeext);
|
|
if lastas<>ord(target_asm.id) then
|
|
if lastas<>ord(target_asm.id) then
|
|
begin
|
|
begin
|
|
lastas:=ord(target_asm.id);
|
|
lastas:=ord(target_asm.id);
|
|
{ is an assembler passed ? }
|
|
{ is an assembler passed ? }
|
|
if utilsdirectory<>'' then
|
|
if utilsdirectory<>'' then
|
|
- LastASBin:=FindFile(target_asm.asmbin+source_os.exeext,utilsdirectory,asfound)+
|
|
|
|
- target_asm.asmbin+source_os.exeext;
|
|
|
|
- if LastASBin='' then
|
|
|
|
- LastASBin:=FindExe(target_asm.asmbin,asfound);
|
|
|
|
|
|
+ LastASBin:=FindFile(UtilExe,utilsdirectory,asfound)+UtilExe;
|
|
|
|
+ if not AsFound then
|
|
|
|
+ LastASBin:=FindExe(UtilExe,asfound);
|
|
if (not asfound) and not(cs_asm_extern in aktglobalswitches) then
|
|
if (not asfound) and not(cs_asm_extern in aktglobalswitches) then
|
|
begin
|
|
begin
|
|
Message1(exec_w_assembler_not_found,LastASBin);
|
|
Message1(exec_w_assembler_not_found,LastASBin);
|
|
@@ -596,7 +597,10 @@ end;
|
|
end.
|
|
end.
|
|
{
|
|
{
|
|
$Log$
|
|
$Log$
|
|
- Revision 1.8 2000-12-25 00:07:25 peter
|
|
|
|
|
|
+ Revision 1.9 2001-01-12 19:19:44 peter
|
|
|
|
+ * fixed searching for utils
|
|
|
|
+
|
|
|
|
+ Revision 1.8 2000/12/25 00:07:25 peter
|
|
+ new tlinkedlist class (merge of old tstringqueue,tcontainer and
|
|
+ new tlinkedlist class (merge of old tstringqueue,tcontainer and
|
|
tlinkedlist objects)
|
|
tlinkedlist objects)
|
|
|
|
|