mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-12-16 06:10:34 +01:00
* Also search for ppcXXX if ppcrossXXX is not found for -PB option, show default binary
git-svn-id: trunk@34269 -
This commit is contained in:
parent
358eb38ef2
commit
0e6b4def67
@ -190,7 +190,16 @@ program fpc;
|
||||
{ report the full name of the ppcbin }
|
||||
if versionstr<>'' then
|
||||
ppcbin:=ppcbin+'-'+versionstr;
|
||||
findexe(ppcbin);
|
||||
if not findexe(ppcbin) then
|
||||
begin
|
||||
if cpusuffix<>'' Then
|
||||
begin
|
||||
ppcbin:='ppc'+cpusuffix;
|
||||
if versionstr<>'' then
|
||||
ppcbin:=ppcbin+'-'+versionstr;
|
||||
findexe(ppcbin);
|
||||
end;
|
||||
end;
|
||||
writeln(ppcbin);
|
||||
halt(0);
|
||||
end
|
||||
|
||||
Loading…
Reference in New Issue
Block a user