Parcourir la source

Add defautl mips name and use mips instead of mipseb

git-svn-id: trunk@21711 -
pierre il y a 13 ans
Parent
commit
3a082f8c29
1 fichiers modifiés avec 11 ajouts et 2 suppressions
  1. 11 2
      compiler/utils/fpc.pp

+ 11 - 2
compiler/utils/fpc.pp

@@ -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