Add defautl mips name and use mips instead of mipseb

git-svn-id: trunk@21711 -
This commit is contained in:
pierre 2012-06-26 07:20:12 +00:00
parent 0c32756ef3
commit 3a082f8c29

View File

@ -155,6 +155,15 @@ program fpc;
ppcbin:='ppcx64';
processorname:='x86_64';
{$endif x86_64}
{$ifdef mipsel}
ppcbin:='ppcmipsel';
processorname:='mipsel';
{$else : not mipsel}
{$ifdef mips}
ppcbin:='ppcmips';
processorname:='mips';
{$endif mips}
{$endif not mipsel}
versionstr:=''; { Default is just the name }
if ParamCount = 0 then
begin
@ -201,8 +210,8 @@ program fpc;
cpusuffix:='386'
else if processorstr='m68k' then
cpusuffix:='68k'
else if processorstr='mipseb' then
cpusuffix:='mipseb'
else if processorstr='mips' then
cpusuffix:='mips'
else if processorstr='mipsel' then
cpusuffix:='mipsel'
else if processorstr='powerpc' then