mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-06-19 10:18:17 +02:00
FindUtil was called in SetDefaultInfo and in MakeExecutable.
git-svn-id: trunk@16885 -
This commit is contained in:
parent
51351b0d57
commit
fc34ef31c7
@ -579,7 +579,7 @@ begin
|
|||||||
Replace(cmdstr,'$STRIP',StripStr);
|
Replace(cmdstr,'$STRIP',StripStr);
|
||||||
Replace(cmdstr,'$TMPOBJ',maybequoted(outputexedir+tmpLinkFileName));
|
Replace(cmdstr,'$TMPOBJ',maybequoted(outputexedir+tmpLinkFileName));
|
||||||
Comment (v_debug,'Executing '+BinStr+' '+cmdstr);
|
Comment (v_debug,'Executing '+BinStr+' '+cmdstr);
|
||||||
success:=DoExec(FindUtil(BinStr),CmdStr,true,false);
|
success:=DoExec(BinStr,CmdStr,true,false);
|
||||||
|
|
||||||
{ Remove ReponseFile }
|
{ Remove ReponseFile }
|
||||||
if (success) and not(cs_link_nolink in current_settings.globalswitches) then
|
if (success) and not(cs_link_nolink in current_settings.globalswitches) then
|
||||||
@ -593,7 +593,7 @@ begin
|
|||||||
SplitBinCmd(Info.ExeCmd[2],binstr,cmdstr);
|
SplitBinCmd(Info.ExeCmd[2],binstr,cmdstr);
|
||||||
Replace(cmdstr,'$RES',maybequoted(outputexedir+'n'+Info.ResName));
|
Replace(cmdstr,'$RES',maybequoted(outputexedir+'n'+Info.ResName));
|
||||||
Comment (v_debug,'Executing '+BinStr+' '+cmdstr);
|
Comment (v_debug,'Executing '+BinStr+' '+cmdstr);
|
||||||
success:=DoExec(FindUtil(BinStr),CmdStr,true,false);
|
success:=DoExec(BinStr,CmdStr,true,false);
|
||||||
if (success) and not(cs_link_nolink in current_settings.globalswitches) then
|
if (success) and not(cs_link_nolink in current_settings.globalswitches) then
|
||||||
begin
|
begin
|
||||||
DeleteFile(outputexedir+'n'+Info.ResName);
|
DeleteFile(outputexedir+'n'+Info.ResName);
|
||||||
|
@ -523,7 +523,7 @@ begin
|
|||||||
Replace(cmdstr,'$STRIP',StripStr);
|
Replace(cmdstr,'$STRIP',StripStr);
|
||||||
Replace(cmdstr,'$TMPOBJ',maybequoted(outputexedir+tmpLinkFileName));
|
Replace(cmdstr,'$TMPOBJ',maybequoted(outputexedir+tmpLinkFileName));
|
||||||
Comment (v_debug,'Executing '+BinStr+' '+cmdstr);
|
Comment (v_debug,'Executing '+BinStr+' '+cmdstr);
|
||||||
success:=DoExec(FindUtil(BinStr),CmdStr,true,false);
|
success:=DoExec(BinStr,CmdStr,true,false);
|
||||||
|
|
||||||
{ Remove ReponseFile }
|
{ Remove ReponseFile }
|
||||||
if (success) and not(cs_link_nolink in current_settings.globalswitches) then
|
if (success) and not(cs_link_nolink in current_settings.globalswitches) then
|
||||||
@ -537,7 +537,7 @@ begin
|
|||||||
SplitBinCmd(Info.ExeCmd[2],binstr,cmdstr);
|
SplitBinCmd(Info.ExeCmd[2],binstr,cmdstr);
|
||||||
Replace(cmdstr,'$RES',maybequoted(outputexedir+'n'+Info.ResName));
|
Replace(cmdstr,'$RES',maybequoted(outputexedir+'n'+Info.ResName));
|
||||||
Comment (v_debug,'Executing '+BinStr+' '+cmdstr);
|
Comment (v_debug,'Executing '+BinStr+' '+cmdstr);
|
||||||
success:=DoExec(FindUtil(BinStr),CmdStr,true,false);
|
success:=DoExec(BinStr,CmdStr,true,false);
|
||||||
if (success) and not(cs_link_nolink in current_settings.globalswitches) then
|
if (success) and not(cs_link_nolink in current_settings.globalswitches) then
|
||||||
begin
|
begin
|
||||||
DeleteFile(outputexedir+'n'+Info.ResName);
|
DeleteFile(outputexedir+'n'+Info.ResName);
|
||||||
|
Loading…
Reference in New Issue
Block a user