Browse Source

* synchronized with trunk

git-svn-id: branches/wasm@46226 -
nickysn 5 years ago
parent
commit
c1312e47fe
100 changed files with 689 additions and 5 deletions
  1. 6 0
      .gitattributes
  2. 7 0
      Makefile
  3. 7 0
      compiler/Makefile
  4. 1 1
      compiler/cgobj.pas
  5. 1 1
      compiler/nadd.pas
  6. 3 1
      compiler/ninl.pas
  7. 7 0
      compiler/utils/Makefile
  8. 13 2
      compiler/x86/aoptx86.pas
  9. 7 0
      installer/Makefile
  10. 7 0
      packages/Makefile
  11. 7 0
      packages/a52/Makefile
  12. 7 0
      packages/ami-extra/Makefile
  13. 7 0
      packages/amunits/Makefile
  14. 7 0
      packages/arosunits/Makefile
  15. 7 0
      packages/aspell/Makefile
  16. 7 0
      packages/bfd/Makefile
  17. 7 0
      packages/bzip2/Makefile
  18. 7 0
      packages/cairo/Makefile
  19. 7 0
      packages/cdrom/Makefile
  20. 7 0
      packages/cdrom/examples/Makefile
  21. 7 0
      packages/chm/Makefile
  22. 7 0
      packages/cocoaint/Makefile
  23. 7 0
      packages/dblib/Makefile
  24. 7 0
      packages/dbus/Makefile
  25. 7 0
      packages/dbus/examples/Makefile
  26. 7 0
      packages/dts/Makefile
  27. 7 0
      packages/fastcgi/Makefile
  28. 7 0
      packages/fcl-async/Makefile
  29. 7 0
      packages/fcl-base/Makefile
  30. 7 0
      packages/fcl-base/examples/Makefile
  31. 7 0
      packages/fcl-db/Makefile
  32. 7 0
      packages/fcl-db/src/base/Makefile
  33. 7 0
      packages/fcl-db/src/codegen/Makefile
  34. 7 0
      packages/fcl-db/src/datadict/Makefile
  35. 7 0
      packages/fcl-db/src/dbase/Makefile
  36. 7 0
      packages/fcl-db/src/export/Makefile
  37. 7 0
      packages/fcl-db/src/json/Makefile
  38. 7 0
      packages/fcl-db/src/memds/Makefile
  39. 7 0
      packages/fcl-db/src/paradox/Makefile
  40. 7 0
      packages/fcl-db/src/sdf/Makefile
  41. 7 0
      packages/fcl-db/src/sql/Makefile
  42. 7 0
      packages/fcl-db/src/sqldb/Makefile
  43. 7 0
      packages/fcl-db/src/sqldb/interbase/Makefile
  44. 7 0
      packages/fcl-db/src/sqldb/mssql/Makefile
  45. 7 0
      packages/fcl-db/src/sqldb/mysql/Makefile
  46. 7 0
      packages/fcl-db/src/sqldb/odbc/Makefile
  47. 7 0
      packages/fcl-db/src/sqldb/oracle/Makefile
  48. 7 0
      packages/fcl-db/src/sqldb/postgres/Makefile
  49. 7 0
      packages/fcl-db/src/sqldb/sqlite/Makefile
  50. 7 0
      packages/fcl-db/src/sqlite/Makefile
  51. 7 0
      packages/fcl-db/tests/Makefile
  52. 7 0
      packages/fcl-extra/Makefile
  53. 7 0
      packages/fcl-extra/examples/Makefile
  54. 7 0
      packages/fcl-fpcunit/Makefile
  55. 7 0
      packages/fcl-fpcunit/src/exampletests/Makefile
  56. 7 0
      packages/fcl-fpcunit/src/tests/Makefile
  57. 7 0
      packages/fcl-image/Makefile
  58. 7 0
      packages/fcl-image/examples/Makefile
  59. 7 0
      packages/fcl-js/Makefile
  60. 7 0
      packages/fcl-json/Makefile
  61. 7 0
      packages/fcl-net/Makefile
  62. 7 0
      packages/fcl-net/examples/Makefile
  63. 7 0
      packages/fcl-passrc/Makefile
  64. 7 0
      packages/fcl-pdf/Makefile
  65. 7 0
      packages/fcl-process/Makefile
  66. 7 0
      packages/fcl-registry/Makefile
  67. 7 0
      packages/fcl-registry/tests/Makefile
  68. 7 0
      packages/fcl-report/Makefile
  69. 7 0
      packages/fcl-res/Makefile
  70. 7 0
      packages/fcl-sdo/Makefile
  71. 7 0
      packages/fcl-sound/Makefile
  72. 7 0
      packages/fcl-stl/Makefile
  73. 7 0
      packages/fcl-web/Makefile
  74. 7 0
      packages/fcl-web/src/base/Makefile
  75. 7 0
      packages/fcl-web/src/jsonrpc/Makefile
  76. 7 0
      packages/fcl-web/src/webdata/Makefile
  77. 7 0
      packages/fcl-xml/Makefile
  78. 7 0
      packages/fftw/Makefile
  79. 7 0
      packages/fpgtk/Makefile
  80. 7 0
      packages/fpgtk/examples/Makefile
  81. 7 0
      packages/fpindexer/Makefile
  82. 7 0
      packages/fpmkunit/Makefile
  83. 7 0
      packages/fppkg/Makefile
  84. 7 0
      packages/fuse/Makefile
  85. 7 0
      packages/fv/Makefile
  86. 7 0
      packages/fv/examples/Makefile
  87. 7 0
      packages/gdbint/Makefile
  88. 7 0
      packages/gdbm/Makefile
  89. 7 0
      packages/gdbm/examples/Makefile
  90. 7 0
      packages/ggi/Makefile
  91. 7 0
      packages/ggi/examples/Makefile
  92. 7 0
      packages/gmp/Makefile
  93. 7 0
      packages/gmp/examples/Makefile
  94. 7 0
      packages/gnome1/Makefile
  95. 7 0
      packages/gnutls/Makefile
  96. 7 0
      packages/googleapi/Makefile
  97. 7 0
      packages/graph/Makefile
  98. 7 0
      packages/gtk1/Makefile
  99. 7 0
      packages/gtk1/examples/Makefile
  100. 7 0
      packages/gtk1/examples/tutorial/Makefile

+ 6 - 0
.gitattributes

@@ -16553,6 +16553,7 @@ tests/webtbf/tw3583.pp svneol=native#text/plain
 tests/webtbf/tw35866.pp svneol=native#text/pascal
 tests/webtbf/tw35866.pp svneol=native#text/pascal
 tests/webtbf/tw35909.pp svneol=native#text/pascal
 tests/webtbf/tw35909.pp svneol=native#text/pascal
 tests/webtbf/tw35981.pp svneol=native#text/pascal
 tests/webtbf/tw35981.pp svneol=native#text/pascal
+tests/webtbf/tw36014.pp svneol=native#text/pascal
 tests/webtbf/tw36114.pp svneol=native#text/pascal
 tests/webtbf/tw36114.pp svneol=native#text/pascal
 tests/webtbf/tw36223.pp svneol=native#text/pascal
 tests/webtbf/tw36223.pp svneol=native#text/pascal
 tests/webtbf/tw3626.pp svneol=native#text/plain
 tests/webtbf/tw3626.pp svneol=native#text/plain
@@ -18390,6 +18391,10 @@ tests/webtbs/tw3669.pp svneol=native#text/plain
 tests/webtbs/tw36698.pp -text svneol=native#text/pascal
 tests/webtbs/tw36698.pp -text svneol=native#text/pascal
 tests/webtbs/tw36738.pp svneol=native#text/pascal
 tests/webtbs/tw36738.pp svneol=native#text/pascal
 tests/webtbs/tw3676.pp svneol=native#text/plain
 tests/webtbs/tw3676.pp svneol=native#text/plain
+tests/webtbs/tw36775.pp svneol=native#text/pascal
+tests/webtbs/tw36775a.pp svneol=native#text/pascal
+tests/webtbs/tw36775b.pp -text svneol=native#text/pascal
+tests/webtbs/tw36775c.pp -text svneol=native#text/pascal
 tests/webtbs/tw3681.pp svneol=native#text/plain
 tests/webtbs/tw3681.pp svneol=native#text/plain
 tests/webtbs/tw3683.pp svneol=native#text/plain
 tests/webtbs/tw3683.pp svneol=native#text/plain
 tests/webtbs/tw36863.pp svneol=native#text/pascal
 tests/webtbs/tw36863.pp svneol=native#text/pascal
@@ -18415,6 +18420,7 @@ tests/webtbs/tw37107.pp svneol=native#text/pascal
 tests/webtbs/tw37130.pp svneol=native#text/pascal
 tests/webtbs/tw37130.pp svneol=native#text/pascal
 tests/webtbs/tw37136.pp svneol=native#text/pascal
 tests/webtbs/tw37136.pp svneol=native#text/pascal
 tests/webtbs/tw37154.pp svneol=native#text/pascal
 tests/webtbs/tw37154.pp svneol=native#text/pascal
+tests/webtbs/tw37187.pp svneol=native#text/pascal
 tests/webtbs/tw3719.pp svneol=native#text/plain
 tests/webtbs/tw3719.pp svneol=native#text/plain
 tests/webtbs/tw3721.pp svneol=native#text/plain
 tests/webtbs/tw3721.pp svneol=native#text/plain
 tests/webtbs/tw37218.pp svneol=native#text/pascal
 tests/webtbs/tw37218.pp svneol=native#text/pascal

+ 7 - 0
Makefile

@@ -1028,6 +1028,13 @@ CROSSGCCOPT=-m32
 endif
 endif
 endif
 endif
 endif
 endif
+ifeq ($(CPU_TARGET),powerpc)
+ifeq ($(BINUTILSPREFIX),)
+GCCLIBDIR:=$(shell dirname `gcc -m32 -print-libgcc-file-name`)
+else
+CROSSGCCOPT=-m32
+endif
+endif
 ifeq ($(CPU_TARGET),powerpc64)
 ifeq ($(CPU_TARGET),powerpc64)
 ifeq ($(BINUTILSPREFIX),)
 ifeq ($(BINUTILSPREFIX),)
 GCCLIBDIR:=$(shell dirname `gcc -m64 -print-libgcc-file-name`)
 GCCLIBDIR:=$(shell dirname `gcc -m64 -print-libgcc-file-name`)

+ 7 - 0
compiler/Makefile

@@ -2694,6 +2694,13 @@ CROSSGCCOPT=-m32
 endif
 endif
 endif
 endif
 endif
 endif
+ifeq ($(CPU_TARGET),powerpc)
+ifeq ($(BINUTILSPREFIX),)
+GCCLIBDIR:=$(shell dirname `gcc -m32 -print-libgcc-file-name`)
+else
+CROSSGCCOPT=-m32
+endif
+endif
 ifeq ($(CPU_TARGET),powerpc64)
 ifeq ($(CPU_TARGET),powerpc64)
 ifeq ($(BINUTILSPREFIX),)
 ifeq ($(BINUTILSPREFIX),)
 GCCLIBDIR:=$(shell dirname `gcc -m64 -print-libgcc-file-name`)
 GCCLIBDIR:=$(shell dirname `gcc -m64 -print-libgcc-file-name`)

+ 1 - 1
compiler/cgobj.pas

@@ -1242,7 +1242,7 @@ implementation
                 caller side and needs to be stored with those bytes at the
                 caller side and needs to be stored with those bytes at the
                 start of the reference -> don't shift right }
                 start of the reference -> don't shift right }
               else if (paraloc.shiftval<0)
               else if (paraloc.shiftval<0)
-{$ifndef MIPS}
+{$ifdef LIMIT_NEG_SHIFTVALUES}
 {$ifdef CPU64BITALU}
 {$ifdef CPU64BITALU}
                       and ((-paraloc.shiftval) in [56{for byte},48{for two bytes},32{for four bytes}])
                       and ((-paraloc.shiftval) in [56{for byte},48{for two bytes},32{for four bytes}])
 {$else}
 {$else}

+ 1 - 1
compiler/nadd.pas

@@ -1443,7 +1443,7 @@ implementation
                           { full boolean evaluation is only useful if the nodes are not too complex and if no flags/jumps must be converted,
                           { full boolean evaluation is only useful if the nodes are not too complex and if no flags/jumps must be converted,
                             further, we need to know the expectloc }
                             further, we need to know the expectloc }
                           if (node_complexity(right)<=2) and
                           if (node_complexity(right)<=2) and
-                            not(left.expectloc in [LOC_JUMP,LOC_INVALID]) and not(right.expectloc in [LOC_JUMP,LOC_INVALID]) then
+                            not(left.expectloc in [LOC_FLAGS,LOC_JUMP,LOC_INVALID]) and not(right.expectloc in [LOC_FLAGS,LOC_JUMP,LOC_INVALID]) then
                             begin
                             begin
                               { we need to copy the whole tree to force another pass_1 }
                               { we need to copy the whole tree to force another pass_1 }
                               include(localswitches,cs_full_boolean_eval);
                               include(localswitches,cs_full_boolean_eval);

+ 3 - 1
compiler/ninl.pas

@@ -2970,9 +2970,11 @@ implementation
 
 
               in_sizeof_x:
               in_sizeof_x:
                 begin
                 begin
-                  { the constant evaluation of in_sizeof_x happens in pexpr where possible }
+                  { the constant evaluation of in_sizeof_x happens in pexpr where possible,
+                    though for generics it can reach here as well }
                   set_varstate(left,vs_read,[]);
                   set_varstate(left,vs_read,[]);
                   if (left.resultdef.typ<>undefineddef) and
                   if (left.resultdef.typ<>undefineddef) and
+                      assigned(current_procinfo) and
                       paramanager.push_high_param(vs_value,left.resultdef,current_procinfo.procdef.proccalloption) then
                       paramanager.push_high_param(vs_value,left.resultdef,current_procinfo.procdef.proccalloption) then
                    begin
                    begin
                      { this should be an open array or array of const, both of
                      { this should be an open array or array of const, both of

+ 7 - 0
compiler/utils/Makefile

@@ -1784,6 +1784,13 @@ CROSSGCCOPT=-m32
 endif
 endif
 endif
 endif
 endif
 endif
+ifeq ($(CPU_TARGET),powerpc)
+ifeq ($(BINUTILSPREFIX),)
+GCCLIBDIR:=$(shell dirname `gcc -m32 -print-libgcc-file-name`)
+else
+CROSSGCCOPT=-m32
+endif
+endif
 ifeq ($(CPU_TARGET),powerpc64)
 ifeq ($(CPU_TARGET),powerpc64)
 ifeq ($(BINUTILSPREFIX),)
 ifeq ($(BINUTILSPREFIX),)
 GCCLIBDIR:=$(shell dirname `gcc -m64 -print-libgcc-file-name`)
 GCCLIBDIR:=$(shell dirname `gcc -m64 -print-libgcc-file-name`)

+ 13 - 2
compiler/x86/aoptx86.pas

@@ -2816,7 +2816,10 @@ unit aoptx86;
             exit;
             exit;
           end;
           end;
 
 
-        if MatchInstruction(hp1,A_LEA,[S_L{$ifdef x86_64},S_Q{$endif x86_64}]) then
+        if MatchInstruction(hp1,A_LEA,[S_L{$ifdef x86_64},S_Q{$endif x86_64}]) and
+          { If the flags register is in use, don't change the instruction to an
+            ADD otherwise this will scramble the flags. [Kit] }
+          not RegInUsedRegs(NR_DEFAULTFLAGS, UsedRegs) then
           begin
           begin
             if MatchOpType(Taicpu(p),top_ref,top_reg) and
             if MatchOpType(Taicpu(p),top_ref,top_reg) and
                ((MatchReference(Taicpu(hp1).oper[0]^.ref^,Taicpu(hp1).oper[1]^.reg,Taicpu(p).oper[1]^.reg) and
                ((MatchReference(Taicpu(hp1).oper[0]^.ref^,Taicpu(hp1).oper[1]^.reg,Taicpu(p).oper[1]^.reg) and
@@ -3174,6 +3177,9 @@ unit aoptx86;
                 (taicpu(p).oper[1]^.reg<>NR_STACK_POINTER_REG) or
                 (taicpu(p).oper[1]^.reg<>NR_STACK_POINTER_REG) or
                 (cs_opt_size in current_settings.optimizerswitches)
                 (cs_opt_size in current_settings.optimizerswitches)
               ) and
               ) and
+              { If the flags register is in use, don't change the instruction
+                to an ADD otherwise this will scramble the flags. [Kit] }
+              not RegInUsedRegs(NR_DEFAULTFLAGS, UsedRegs) and
               ConvertLEA(taicpu(p)) then
               ConvertLEA(taicpu(p)) then
               begin
               begin
                 Result:=true;
                 Result:=true;
@@ -5370,7 +5376,12 @@ unit aoptx86;
             (taicpu(hp1).opcode <> A_LEA) or
             (taicpu(hp1).opcode <> A_LEA) or
             { If the LEA instruction can be converted into an arithmetic instruction,
             { If the LEA instruction can be converted into an arithmetic instruction,
               it may be possible to then fold it. }
               it may be possible to then fold it. }
-            ConvertLEA(taicpu(hp1))
+            (
+              { If the flags register is in use, don't change the instruction
+                to an ADD otherwise this will scramble the flags. [Kit] }
+              not RegInUsedRegs(NR_DEFAULTFLAGS, UsedRegs) and
+              ConvertLEA(taicpu(hp1))
+            )
           ) and
           ) and
           IsFoldableArithOp(taicpu(hp1),taicpu(p).oper[1]^.reg) and
           IsFoldableArithOp(taicpu(hp1),taicpu(p).oper[1]^.reg) and
           GetNextInstruction(hp1,hp2) and
           GetNextInstruction(hp1,hp2) and

+ 7 - 0
installer/Makefile

@@ -980,6 +980,13 @@ CROSSGCCOPT=-m32
 endif
 endif
 endif
 endif
 endif
 endif
+ifeq ($(CPU_TARGET),powerpc)
+ifeq ($(BINUTILSPREFIX),)
+GCCLIBDIR:=$(shell dirname `gcc -m32 -print-libgcc-file-name`)
+else
+CROSSGCCOPT=-m32
+endif
+endif
 ifeq ($(CPU_TARGET),powerpc64)
 ifeq ($(CPU_TARGET),powerpc64)
 ifeq ($(BINUTILSPREFIX),)
 ifeq ($(BINUTILSPREFIX),)
 GCCLIBDIR:=$(shell dirname `gcc -m64 -print-libgcc-file-name`)
 GCCLIBDIR:=$(shell dirname `gcc -m64 -print-libgcc-file-name`)

+ 7 - 0
packages/Makefile

@@ -589,6 +589,13 @@ CROSSGCCOPT=-m32
 endif
 endif
 endif
 endif
 endif
 endif
+ifeq ($(CPU_TARGET),powerpc)
+ifeq ($(BINUTILSPREFIX),)
+GCCLIBDIR:=$(shell dirname `gcc -m32 -print-libgcc-file-name`)
+else
+CROSSGCCOPT=-m32
+endif
+endif
 ifeq ($(CPU_TARGET),powerpc64)
 ifeq ($(CPU_TARGET),powerpc64)
 ifeq ($(BINUTILSPREFIX),)
 ifeq ($(BINUTILSPREFIX),)
 GCCLIBDIR:=$(shell dirname `gcc -m64 -print-libgcc-file-name`)
 GCCLIBDIR:=$(shell dirname `gcc -m64 -print-libgcc-file-name`)

+ 7 - 0
packages/a52/Makefile

@@ -565,6 +565,13 @@ CROSSGCCOPT=-m32
 endif
 endif
 endif
 endif
 endif
 endif
+ifeq ($(CPU_TARGET),powerpc)
+ifeq ($(BINUTILSPREFIX),)
+GCCLIBDIR:=$(shell dirname `gcc -m32 -print-libgcc-file-name`)
+else
+CROSSGCCOPT=-m32
+endif
+endif
 ifeq ($(CPU_TARGET),powerpc64)
 ifeq ($(CPU_TARGET),powerpc64)
 ifeq ($(BINUTILSPREFIX),)
 ifeq ($(BINUTILSPREFIX),)
 GCCLIBDIR:=$(shell dirname `gcc -m64 -print-libgcc-file-name`)
 GCCLIBDIR:=$(shell dirname `gcc -m64 -print-libgcc-file-name`)

+ 7 - 0
packages/ami-extra/Makefile

@@ -565,6 +565,13 @@ CROSSGCCOPT=-m32
 endif
 endif
 endif
 endif
 endif
 endif
+ifeq ($(CPU_TARGET),powerpc)
+ifeq ($(BINUTILSPREFIX),)
+GCCLIBDIR:=$(shell dirname `gcc -m32 -print-libgcc-file-name`)
+else
+CROSSGCCOPT=-m32
+endif
+endif
 ifeq ($(CPU_TARGET),powerpc64)
 ifeq ($(CPU_TARGET),powerpc64)
 ifeq ($(BINUTILSPREFIX),)
 ifeq ($(BINUTILSPREFIX),)
 GCCLIBDIR:=$(shell dirname `gcc -m64 -print-libgcc-file-name`)
 GCCLIBDIR:=$(shell dirname `gcc -m64 -print-libgcc-file-name`)

+ 7 - 0
packages/amunits/Makefile

@@ -565,6 +565,13 @@ CROSSGCCOPT=-m32
 endif
 endif
 endif
 endif
 endif
 endif
+ifeq ($(CPU_TARGET),powerpc)
+ifeq ($(BINUTILSPREFIX),)
+GCCLIBDIR:=$(shell dirname `gcc -m32 -print-libgcc-file-name`)
+else
+CROSSGCCOPT=-m32
+endif
+endif
 ifeq ($(CPU_TARGET),powerpc64)
 ifeq ($(CPU_TARGET),powerpc64)
 ifeq ($(BINUTILSPREFIX),)
 ifeq ($(BINUTILSPREFIX),)
 GCCLIBDIR:=$(shell dirname `gcc -m64 -print-libgcc-file-name`)
 GCCLIBDIR:=$(shell dirname `gcc -m64 -print-libgcc-file-name`)

+ 7 - 0
packages/arosunits/Makefile

@@ -565,6 +565,13 @@ CROSSGCCOPT=-m32
 endif
 endif
 endif
 endif
 endif
 endif
+ifeq ($(CPU_TARGET),powerpc)
+ifeq ($(BINUTILSPREFIX),)
+GCCLIBDIR:=$(shell dirname `gcc -m32 -print-libgcc-file-name`)
+else
+CROSSGCCOPT=-m32
+endif
+endif
 ifeq ($(CPU_TARGET),powerpc64)
 ifeq ($(CPU_TARGET),powerpc64)
 ifeq ($(BINUTILSPREFIX),)
 ifeq ($(BINUTILSPREFIX),)
 GCCLIBDIR:=$(shell dirname `gcc -m64 -print-libgcc-file-name`)
 GCCLIBDIR:=$(shell dirname `gcc -m64 -print-libgcc-file-name`)

+ 7 - 0
packages/aspell/Makefile

@@ -565,6 +565,13 @@ CROSSGCCOPT=-m32
 endif
 endif
 endif
 endif
 endif
 endif
+ifeq ($(CPU_TARGET),powerpc)
+ifeq ($(BINUTILSPREFIX),)
+GCCLIBDIR:=$(shell dirname `gcc -m32 -print-libgcc-file-name`)
+else
+CROSSGCCOPT=-m32
+endif
+endif
 ifeq ($(CPU_TARGET),powerpc64)
 ifeq ($(CPU_TARGET),powerpc64)
 ifeq ($(BINUTILSPREFIX),)
 ifeq ($(BINUTILSPREFIX),)
 GCCLIBDIR:=$(shell dirname `gcc -m64 -print-libgcc-file-name`)
 GCCLIBDIR:=$(shell dirname `gcc -m64 -print-libgcc-file-name`)

+ 7 - 0
packages/bfd/Makefile

@@ -565,6 +565,13 @@ CROSSGCCOPT=-m32
 endif
 endif
 endif
 endif
 endif
 endif
+ifeq ($(CPU_TARGET),powerpc)
+ifeq ($(BINUTILSPREFIX),)
+GCCLIBDIR:=$(shell dirname `gcc -m32 -print-libgcc-file-name`)
+else
+CROSSGCCOPT=-m32
+endif
+endif
 ifeq ($(CPU_TARGET),powerpc64)
 ifeq ($(CPU_TARGET),powerpc64)
 ifeq ($(BINUTILSPREFIX),)
 ifeq ($(BINUTILSPREFIX),)
 GCCLIBDIR:=$(shell dirname `gcc -m64 -print-libgcc-file-name`)
 GCCLIBDIR:=$(shell dirname `gcc -m64 -print-libgcc-file-name`)

+ 7 - 0
packages/bzip2/Makefile

@@ -565,6 +565,13 @@ CROSSGCCOPT=-m32
 endif
 endif
 endif
 endif
 endif
 endif
+ifeq ($(CPU_TARGET),powerpc)
+ifeq ($(BINUTILSPREFIX),)
+GCCLIBDIR:=$(shell dirname `gcc -m32 -print-libgcc-file-name`)
+else
+CROSSGCCOPT=-m32
+endif
+endif
 ifeq ($(CPU_TARGET),powerpc64)
 ifeq ($(CPU_TARGET),powerpc64)
 ifeq ($(BINUTILSPREFIX),)
 ifeq ($(BINUTILSPREFIX),)
 GCCLIBDIR:=$(shell dirname `gcc -m64 -print-libgcc-file-name`)
 GCCLIBDIR:=$(shell dirname `gcc -m64 -print-libgcc-file-name`)

+ 7 - 0
packages/cairo/Makefile

@@ -565,6 +565,13 @@ CROSSGCCOPT=-m32
 endif
 endif
 endif
 endif
 endif
 endif
+ifeq ($(CPU_TARGET),powerpc)
+ifeq ($(BINUTILSPREFIX),)
+GCCLIBDIR:=$(shell dirname `gcc -m32 -print-libgcc-file-name`)
+else
+CROSSGCCOPT=-m32
+endif
+endif
 ifeq ($(CPU_TARGET),powerpc64)
 ifeq ($(CPU_TARGET),powerpc64)
 ifeq ($(BINUTILSPREFIX),)
 ifeq ($(BINUTILSPREFIX),)
 GCCLIBDIR:=$(shell dirname `gcc -m64 -print-libgcc-file-name`)
 GCCLIBDIR:=$(shell dirname `gcc -m64 -print-libgcc-file-name`)

+ 7 - 0
packages/cdrom/Makefile

@@ -565,6 +565,13 @@ CROSSGCCOPT=-m32
 endif
 endif
 endif
 endif
 endif
 endif
+ifeq ($(CPU_TARGET),powerpc)
+ifeq ($(BINUTILSPREFIX),)
+GCCLIBDIR:=$(shell dirname `gcc -m32 -print-libgcc-file-name`)
+else
+CROSSGCCOPT=-m32
+endif
+endif
 ifeq ($(CPU_TARGET),powerpc64)
 ifeq ($(CPU_TARGET),powerpc64)
 ifeq ($(BINUTILSPREFIX),)
 ifeq ($(BINUTILSPREFIX),)
 GCCLIBDIR:=$(shell dirname `gcc -m64 -print-libgcc-file-name`)
 GCCLIBDIR:=$(shell dirname `gcc -m64 -print-libgcc-file-name`)

+ 7 - 0
packages/cdrom/examples/Makefile

@@ -861,6 +861,13 @@ CROSSGCCOPT=-m32
 endif
 endif
 endif
 endif
 endif
 endif
+ifeq ($(CPU_TARGET),powerpc)
+ifeq ($(BINUTILSPREFIX),)
+GCCLIBDIR:=$(shell dirname `gcc -m32 -print-libgcc-file-name`)
+else
+CROSSGCCOPT=-m32
+endif
+endif
 ifeq ($(CPU_TARGET),powerpc64)
 ifeq ($(CPU_TARGET),powerpc64)
 ifeq ($(BINUTILSPREFIX),)
 ifeq ($(BINUTILSPREFIX),)
 GCCLIBDIR:=$(shell dirname `gcc -m64 -print-libgcc-file-name`)
 GCCLIBDIR:=$(shell dirname `gcc -m64 -print-libgcc-file-name`)

+ 7 - 0
packages/chm/Makefile

@@ -565,6 +565,13 @@ CROSSGCCOPT=-m32
 endif
 endif
 endif
 endif
 endif
 endif
+ifeq ($(CPU_TARGET),powerpc)
+ifeq ($(BINUTILSPREFIX),)
+GCCLIBDIR:=$(shell dirname `gcc -m32 -print-libgcc-file-name`)
+else
+CROSSGCCOPT=-m32
+endif
+endif
 ifeq ($(CPU_TARGET),powerpc64)
 ifeq ($(CPU_TARGET),powerpc64)
 ifeq ($(BINUTILSPREFIX),)
 ifeq ($(BINUTILSPREFIX),)
 GCCLIBDIR:=$(shell dirname `gcc -m64 -print-libgcc-file-name`)
 GCCLIBDIR:=$(shell dirname `gcc -m64 -print-libgcc-file-name`)

+ 7 - 0
packages/cocoaint/Makefile

@@ -565,6 +565,13 @@ CROSSGCCOPT=-m32
 endif
 endif
 endif
 endif
 endif
 endif
+ifeq ($(CPU_TARGET),powerpc)
+ifeq ($(BINUTILSPREFIX),)
+GCCLIBDIR:=$(shell dirname `gcc -m32 -print-libgcc-file-name`)
+else
+CROSSGCCOPT=-m32
+endif
+endif
 ifeq ($(CPU_TARGET),powerpc64)
 ifeq ($(CPU_TARGET),powerpc64)
 ifeq ($(BINUTILSPREFIX),)
 ifeq ($(BINUTILSPREFIX),)
 GCCLIBDIR:=$(shell dirname `gcc -m64 -print-libgcc-file-name`)
 GCCLIBDIR:=$(shell dirname `gcc -m64 -print-libgcc-file-name`)

+ 7 - 0
packages/dblib/Makefile

@@ -565,6 +565,13 @@ CROSSGCCOPT=-m32
 endif
 endif
 endif
 endif
 endif
 endif
+ifeq ($(CPU_TARGET),powerpc)
+ifeq ($(BINUTILSPREFIX),)
+GCCLIBDIR:=$(shell dirname `gcc -m32 -print-libgcc-file-name`)
+else
+CROSSGCCOPT=-m32
+endif
+endif
 ifeq ($(CPU_TARGET),powerpc64)
 ifeq ($(CPU_TARGET),powerpc64)
 ifeq ($(BINUTILSPREFIX),)
 ifeq ($(BINUTILSPREFIX),)
 GCCLIBDIR:=$(shell dirname `gcc -m64 -print-libgcc-file-name`)
 GCCLIBDIR:=$(shell dirname `gcc -m64 -print-libgcc-file-name`)

+ 7 - 0
packages/dbus/Makefile

@@ -565,6 +565,13 @@ CROSSGCCOPT=-m32
 endif
 endif
 endif
 endif
 endif
 endif
+ifeq ($(CPU_TARGET),powerpc)
+ifeq ($(BINUTILSPREFIX),)
+GCCLIBDIR:=$(shell dirname `gcc -m32 -print-libgcc-file-name`)
+else
+CROSSGCCOPT=-m32
+endif
+endif
 ifeq ($(CPU_TARGET),powerpc64)
 ifeq ($(CPU_TARGET),powerpc64)
 ifeq ($(BINUTILSPREFIX),)
 ifeq ($(BINUTILSPREFIX),)
 GCCLIBDIR:=$(shell dirname `gcc -m64 -print-libgcc-file-name`)
 GCCLIBDIR:=$(shell dirname `gcc -m64 -print-libgcc-file-name`)

+ 7 - 0
packages/dbus/examples/Makefile

@@ -861,6 +861,13 @@ CROSSGCCOPT=-m32
 endif
 endif
 endif
 endif
 endif
 endif
+ifeq ($(CPU_TARGET),powerpc)
+ifeq ($(BINUTILSPREFIX),)
+GCCLIBDIR:=$(shell dirname `gcc -m32 -print-libgcc-file-name`)
+else
+CROSSGCCOPT=-m32
+endif
+endif
 ifeq ($(CPU_TARGET),powerpc64)
 ifeq ($(CPU_TARGET),powerpc64)
 ifeq ($(BINUTILSPREFIX),)
 ifeq ($(BINUTILSPREFIX),)
 GCCLIBDIR:=$(shell dirname `gcc -m64 -print-libgcc-file-name`)
 GCCLIBDIR:=$(shell dirname `gcc -m64 -print-libgcc-file-name`)

+ 7 - 0
packages/dts/Makefile

@@ -565,6 +565,13 @@ CROSSGCCOPT=-m32
 endif
 endif
 endif
 endif
 endif
 endif
+ifeq ($(CPU_TARGET),powerpc)
+ifeq ($(BINUTILSPREFIX),)
+GCCLIBDIR:=$(shell dirname `gcc -m32 -print-libgcc-file-name`)
+else
+CROSSGCCOPT=-m32
+endif
+endif
 ifeq ($(CPU_TARGET),powerpc64)
 ifeq ($(CPU_TARGET),powerpc64)
 ifeq ($(BINUTILSPREFIX),)
 ifeq ($(BINUTILSPREFIX),)
 GCCLIBDIR:=$(shell dirname `gcc -m64 -print-libgcc-file-name`)
 GCCLIBDIR:=$(shell dirname `gcc -m64 -print-libgcc-file-name`)

+ 7 - 0
packages/fastcgi/Makefile

@@ -565,6 +565,13 @@ CROSSGCCOPT=-m32
 endif
 endif
 endif
 endif
 endif
 endif
+ifeq ($(CPU_TARGET),powerpc)
+ifeq ($(BINUTILSPREFIX),)
+GCCLIBDIR:=$(shell dirname `gcc -m32 -print-libgcc-file-name`)
+else
+CROSSGCCOPT=-m32
+endif
+endif
 ifeq ($(CPU_TARGET),powerpc64)
 ifeq ($(CPU_TARGET),powerpc64)
 ifeq ($(BINUTILSPREFIX),)
 ifeq ($(BINUTILSPREFIX),)
 GCCLIBDIR:=$(shell dirname `gcc -m64 -print-libgcc-file-name`)
 GCCLIBDIR:=$(shell dirname `gcc -m64 -print-libgcc-file-name`)

+ 7 - 0
packages/fcl-async/Makefile

@@ -565,6 +565,13 @@ CROSSGCCOPT=-m32
 endif
 endif
 endif
 endif
 endif
 endif
+ifeq ($(CPU_TARGET),powerpc)
+ifeq ($(BINUTILSPREFIX),)
+GCCLIBDIR:=$(shell dirname `gcc -m32 -print-libgcc-file-name`)
+else
+CROSSGCCOPT=-m32
+endif
+endif
 ifeq ($(CPU_TARGET),powerpc64)
 ifeq ($(CPU_TARGET),powerpc64)
 ifeq ($(BINUTILSPREFIX),)
 ifeq ($(BINUTILSPREFIX),)
 GCCLIBDIR:=$(shell dirname `gcc -m64 -print-libgcc-file-name`)
 GCCLIBDIR:=$(shell dirname `gcc -m64 -print-libgcc-file-name`)

+ 7 - 0
packages/fcl-base/Makefile

@@ -565,6 +565,13 @@ CROSSGCCOPT=-m32
 endif
 endif
 endif
 endif
 endif
 endif
+ifeq ($(CPU_TARGET),powerpc)
+ifeq ($(BINUTILSPREFIX),)
+GCCLIBDIR:=$(shell dirname `gcc -m32 -print-libgcc-file-name`)
+else
+CROSSGCCOPT=-m32
+endif
+endif
 ifeq ($(CPU_TARGET),powerpc64)
 ifeq ($(CPU_TARGET),powerpc64)
 ifeq ($(BINUTILSPREFIX),)
 ifeq ($(BINUTILSPREFIX),)
 GCCLIBDIR:=$(shell dirname `gcc -m64 -print-libgcc-file-name`)
 GCCLIBDIR:=$(shell dirname `gcc -m64 -print-libgcc-file-name`)

+ 7 - 0
packages/fcl-base/examples/Makefile

@@ -861,6 +861,13 @@ CROSSGCCOPT=-m32
 endif
 endif
 endif
 endif
 endif
 endif
+ifeq ($(CPU_TARGET),powerpc)
+ifeq ($(BINUTILSPREFIX),)
+GCCLIBDIR:=$(shell dirname `gcc -m32 -print-libgcc-file-name`)
+else
+CROSSGCCOPT=-m32
+endif
+endif
 ifeq ($(CPU_TARGET),powerpc64)
 ifeq ($(CPU_TARGET),powerpc64)
 ifeq ($(BINUTILSPREFIX),)
 ifeq ($(BINUTILSPREFIX),)
 GCCLIBDIR:=$(shell dirname `gcc -m64 -print-libgcc-file-name`)
 GCCLIBDIR:=$(shell dirname `gcc -m64 -print-libgcc-file-name`)

+ 7 - 0
packages/fcl-db/Makefile

@@ -565,6 +565,13 @@ CROSSGCCOPT=-m32
 endif
 endif
 endif
 endif
 endif
 endif
+ifeq ($(CPU_TARGET),powerpc)
+ifeq ($(BINUTILSPREFIX),)
+GCCLIBDIR:=$(shell dirname `gcc -m32 -print-libgcc-file-name`)
+else
+CROSSGCCOPT=-m32
+endif
+endif
 ifeq ($(CPU_TARGET),powerpc64)
 ifeq ($(CPU_TARGET),powerpc64)
 ifeq ($(BINUTILSPREFIX),)
 ifeq ($(BINUTILSPREFIX),)
 GCCLIBDIR:=$(shell dirname `gcc -m64 -print-libgcc-file-name`)
 GCCLIBDIR:=$(shell dirname `gcc -m64 -print-libgcc-file-name`)

+ 7 - 0
packages/fcl-db/src/base/Makefile

@@ -1782,6 +1782,13 @@ CROSSGCCOPT=-m32
 endif
 endif
 endif
 endif
 endif
 endif
+ifeq ($(CPU_TARGET),powerpc)
+ifeq ($(BINUTILSPREFIX),)
+GCCLIBDIR:=$(shell dirname `gcc -m32 -print-libgcc-file-name`)
+else
+CROSSGCCOPT=-m32
+endif
+endif
 ifeq ($(CPU_TARGET),powerpc64)
 ifeq ($(CPU_TARGET),powerpc64)
 ifeq ($(BINUTILSPREFIX),)
 ifeq ($(BINUTILSPREFIX),)
 GCCLIBDIR:=$(shell dirname `gcc -m64 -print-libgcc-file-name`)
 GCCLIBDIR:=$(shell dirname `gcc -m64 -print-libgcc-file-name`)

+ 7 - 0
packages/fcl-db/src/codegen/Makefile

@@ -1475,6 +1475,13 @@ CROSSGCCOPT=-m32
 endif
 endif
 endif
 endif
 endif
 endif
+ifeq ($(CPU_TARGET),powerpc)
+ifeq ($(BINUTILSPREFIX),)
+GCCLIBDIR:=$(shell dirname `gcc -m32 -print-libgcc-file-name`)
+else
+CROSSGCCOPT=-m32
+endif
+endif
 ifeq ($(CPU_TARGET),powerpc64)
 ifeq ($(CPU_TARGET),powerpc64)
 ifeq ($(BINUTILSPREFIX),)
 ifeq ($(BINUTILSPREFIX),)
 GCCLIBDIR:=$(shell dirname `gcc -m64 -print-libgcc-file-name`)
 GCCLIBDIR:=$(shell dirname `gcc -m64 -print-libgcc-file-name`)

+ 7 - 0
packages/fcl-db/src/datadict/Makefile

@@ -1475,6 +1475,13 @@ CROSSGCCOPT=-m32
 endif
 endif
 endif
 endif
 endif
 endif
+ifeq ($(CPU_TARGET),powerpc)
+ifeq ($(BINUTILSPREFIX),)
+GCCLIBDIR:=$(shell dirname `gcc -m32 -print-libgcc-file-name`)
+else
+CROSSGCCOPT=-m32
+endif
+endif
 ifeq ($(CPU_TARGET),powerpc64)
 ifeq ($(CPU_TARGET),powerpc64)
 ifeq ($(BINUTILSPREFIX),)
 ifeq ($(BINUTILSPREFIX),)
 GCCLIBDIR:=$(shell dirname `gcc -m64 -print-libgcc-file-name`)
 GCCLIBDIR:=$(shell dirname `gcc -m64 -print-libgcc-file-name`)

+ 7 - 0
packages/fcl-db/src/dbase/Makefile

@@ -2095,6 +2095,13 @@ CROSSGCCOPT=-m32
 endif
 endif
 endif
 endif
 endif
 endif
+ifeq ($(CPU_TARGET),powerpc)
+ifeq ($(BINUTILSPREFIX),)
+GCCLIBDIR:=$(shell dirname `gcc -m32 -print-libgcc-file-name`)
+else
+CROSSGCCOPT=-m32
+endif
+endif
 ifeq ($(CPU_TARGET),powerpc64)
 ifeq ($(CPU_TARGET),powerpc64)
 ifeq ($(BINUTILSPREFIX),)
 ifeq ($(BINUTILSPREFIX),)
 GCCLIBDIR:=$(shell dirname `gcc -m64 -print-libgcc-file-name`)
 GCCLIBDIR:=$(shell dirname `gcc -m64 -print-libgcc-file-name`)

+ 7 - 0
packages/fcl-db/src/export/Makefile

@@ -1475,6 +1475,13 @@ CROSSGCCOPT=-m32
 endif
 endif
 endif
 endif
 endif
 endif
+ifeq ($(CPU_TARGET),powerpc)
+ifeq ($(BINUTILSPREFIX),)
+GCCLIBDIR:=$(shell dirname `gcc -m32 -print-libgcc-file-name`)
+else
+CROSSGCCOPT=-m32
+endif
+endif
 ifeq ($(CPU_TARGET),powerpc64)
 ifeq ($(CPU_TARGET),powerpc64)
 ifeq ($(BINUTILSPREFIX),)
 ifeq ($(BINUTILSPREFIX),)
 GCCLIBDIR:=$(shell dirname `gcc -m64 -print-libgcc-file-name`)
 GCCLIBDIR:=$(shell dirname `gcc -m64 -print-libgcc-file-name`)

+ 7 - 0
packages/fcl-db/src/json/Makefile

@@ -863,6 +863,13 @@ CROSSGCCOPT=-m32
 endif
 endif
 endif
 endif
 endif
 endif
+ifeq ($(CPU_TARGET),powerpc)
+ifeq ($(BINUTILSPREFIX),)
+GCCLIBDIR:=$(shell dirname `gcc -m32 -print-libgcc-file-name`)
+else
+CROSSGCCOPT=-m32
+endif
+endif
 ifeq ($(CPU_TARGET),powerpc64)
 ifeq ($(CPU_TARGET),powerpc64)
 ifeq ($(BINUTILSPREFIX),)
 ifeq ($(BINUTILSPREFIX),)
 GCCLIBDIR:=$(shell dirname `gcc -m64 -print-libgcc-file-name`)
 GCCLIBDIR:=$(shell dirname `gcc -m64 -print-libgcc-file-name`)

+ 7 - 0
packages/fcl-db/src/memds/Makefile

@@ -1475,6 +1475,13 @@ CROSSGCCOPT=-m32
 endif
 endif
 endif
 endif
 endif
 endif
+ifeq ($(CPU_TARGET),powerpc)
+ifeq ($(BINUTILSPREFIX),)
+GCCLIBDIR:=$(shell dirname `gcc -m32 -print-libgcc-file-name`)
+else
+CROSSGCCOPT=-m32
+endif
+endif
 ifeq ($(CPU_TARGET),powerpc64)
 ifeq ($(CPU_TARGET),powerpc64)
 ifeq ($(BINUTILSPREFIX),)
 ifeq ($(BINUTILSPREFIX),)
 GCCLIBDIR:=$(shell dirname `gcc -m64 -print-libgcc-file-name`)
 GCCLIBDIR:=$(shell dirname `gcc -m64 -print-libgcc-file-name`)

+ 7 - 0
packages/fcl-db/src/paradox/Makefile

@@ -1169,6 +1169,13 @@ CROSSGCCOPT=-m32
 endif
 endif
 endif
 endif
 endif
 endif
+ifeq ($(CPU_TARGET),powerpc)
+ifeq ($(BINUTILSPREFIX),)
+GCCLIBDIR:=$(shell dirname `gcc -m32 -print-libgcc-file-name`)
+else
+CROSSGCCOPT=-m32
+endif
+endif
 ifeq ($(CPU_TARGET),powerpc64)
 ifeq ($(CPU_TARGET),powerpc64)
 ifeq ($(BINUTILSPREFIX),)
 ifeq ($(BINUTILSPREFIX),)
 GCCLIBDIR:=$(shell dirname `gcc -m64 -print-libgcc-file-name`)
 GCCLIBDIR:=$(shell dirname `gcc -m64 -print-libgcc-file-name`)

+ 7 - 0
packages/fcl-db/src/sdf/Makefile

@@ -1169,6 +1169,13 @@ CROSSGCCOPT=-m32
 endif
 endif
 endif
 endif
 endif
 endif
+ifeq ($(CPU_TARGET),powerpc)
+ifeq ($(BINUTILSPREFIX),)
+GCCLIBDIR:=$(shell dirname `gcc -m32 -print-libgcc-file-name`)
+else
+CROSSGCCOPT=-m32
+endif
+endif
 ifeq ($(CPU_TARGET),powerpc64)
 ifeq ($(CPU_TARGET),powerpc64)
 ifeq ($(BINUTILSPREFIX),)
 ifeq ($(BINUTILSPREFIX),)
 GCCLIBDIR:=$(shell dirname `gcc -m64 -print-libgcc-file-name`)
 GCCLIBDIR:=$(shell dirname `gcc -m64 -print-libgcc-file-name`)

+ 7 - 0
packages/fcl-db/src/sql/Makefile

@@ -1781,6 +1781,13 @@ CROSSGCCOPT=-m32
 endif
 endif
 endif
 endif
 endif
 endif
+ifeq ($(CPU_TARGET),powerpc)
+ifeq ($(BINUTILSPREFIX),)
+GCCLIBDIR:=$(shell dirname `gcc -m32 -print-libgcc-file-name`)
+else
+CROSSGCCOPT=-m32
+endif
+endif
 ifeq ($(CPU_TARGET),powerpc64)
 ifeq ($(CPU_TARGET),powerpc64)
 ifeq ($(BINUTILSPREFIX),)
 ifeq ($(BINUTILSPREFIX),)
 GCCLIBDIR:=$(shell dirname `gcc -m64 -print-libgcc-file-name`)
 GCCLIBDIR:=$(shell dirname `gcc -m64 -print-libgcc-file-name`)

+ 7 - 0
packages/fcl-db/src/sqldb/Makefile

@@ -1598,6 +1598,13 @@ CROSSGCCOPT=-m32
 endif
 endif
 endif
 endif
 endif
 endif
+ifeq ($(CPU_TARGET),powerpc)
+ifeq ($(BINUTILSPREFIX),)
+GCCLIBDIR:=$(shell dirname `gcc -m32 -print-libgcc-file-name`)
+else
+CROSSGCCOPT=-m32
+endif
+endif
 ifeq ($(CPU_TARGET),powerpc64)
 ifeq ($(CPU_TARGET),powerpc64)
 ifeq ($(BINUTILSPREFIX),)
 ifeq ($(BINUTILSPREFIX),)
 GCCLIBDIR:=$(shell dirname `gcc -m64 -print-libgcc-file-name`)
 GCCLIBDIR:=$(shell dirname `gcc -m64 -print-libgcc-file-name`)

+ 7 - 0
packages/fcl-db/src/sqldb/interbase/Makefile

@@ -1169,6 +1169,13 @@ CROSSGCCOPT=-m32
 endif
 endif
 endif
 endif
 endif
 endif
+ifeq ($(CPU_TARGET),powerpc)
+ifeq ($(BINUTILSPREFIX),)
+GCCLIBDIR:=$(shell dirname `gcc -m32 -print-libgcc-file-name`)
+else
+CROSSGCCOPT=-m32
+endif
+endif
 ifeq ($(CPU_TARGET),powerpc64)
 ifeq ($(CPU_TARGET),powerpc64)
 ifeq ($(BINUTILSPREFIX),)
 ifeq ($(BINUTILSPREFIX),)
 GCCLIBDIR:=$(shell dirname `gcc -m64 -print-libgcc-file-name`)
 GCCLIBDIR:=$(shell dirname `gcc -m64 -print-libgcc-file-name`)

+ 7 - 0
packages/fcl-db/src/sqldb/mssql/Makefile

@@ -1169,6 +1169,13 @@ CROSSGCCOPT=-m32
 endif
 endif
 endif
 endif
 endif
 endif
+ifeq ($(CPU_TARGET),powerpc)
+ifeq ($(BINUTILSPREFIX),)
+GCCLIBDIR:=$(shell dirname `gcc -m32 -print-libgcc-file-name`)
+else
+CROSSGCCOPT=-m32
+endif
+endif
 ifeq ($(CPU_TARGET),powerpc64)
 ifeq ($(CPU_TARGET),powerpc64)
 ifeq ($(BINUTILSPREFIX),)
 ifeq ($(BINUTILSPREFIX),)
 GCCLIBDIR:=$(shell dirname `gcc -m64 -print-libgcc-file-name`)
 GCCLIBDIR:=$(shell dirname `gcc -m64 -print-libgcc-file-name`)

+ 7 - 0
packages/fcl-db/src/sqldb/mysql/Makefile

@@ -1475,6 +1475,13 @@ CROSSGCCOPT=-m32
 endif
 endif
 endif
 endif
 endif
 endif
+ifeq ($(CPU_TARGET),powerpc)
+ifeq ($(BINUTILSPREFIX),)
+GCCLIBDIR:=$(shell dirname `gcc -m32 -print-libgcc-file-name`)
+else
+CROSSGCCOPT=-m32
+endif
+endif
 ifeq ($(CPU_TARGET),powerpc64)
 ifeq ($(CPU_TARGET),powerpc64)
 ifeq ($(BINUTILSPREFIX),)
 ifeq ($(BINUTILSPREFIX),)
 GCCLIBDIR:=$(shell dirname `gcc -m64 -print-libgcc-file-name`)
 GCCLIBDIR:=$(shell dirname `gcc -m64 -print-libgcc-file-name`)

+ 7 - 0
packages/fcl-db/src/sqldb/odbc/Makefile

@@ -1169,6 +1169,13 @@ CROSSGCCOPT=-m32
 endif
 endif
 endif
 endif
 endif
 endif
+ifeq ($(CPU_TARGET),powerpc)
+ifeq ($(BINUTILSPREFIX),)
+GCCLIBDIR:=$(shell dirname `gcc -m32 -print-libgcc-file-name`)
+else
+CROSSGCCOPT=-m32
+endif
+endif
 ifeq ($(CPU_TARGET),powerpc64)
 ifeq ($(CPU_TARGET),powerpc64)
 ifeq ($(BINUTILSPREFIX),)
 ifeq ($(BINUTILSPREFIX),)
 GCCLIBDIR:=$(shell dirname `gcc -m64 -print-libgcc-file-name`)
 GCCLIBDIR:=$(shell dirname `gcc -m64 -print-libgcc-file-name`)

+ 7 - 0
packages/fcl-db/src/sqldb/oracle/Makefile

@@ -1475,6 +1475,13 @@ CROSSGCCOPT=-m32
 endif
 endif
 endif
 endif
 endif
 endif
+ifeq ($(CPU_TARGET),powerpc)
+ifeq ($(BINUTILSPREFIX),)
+GCCLIBDIR:=$(shell dirname `gcc -m32 -print-libgcc-file-name`)
+else
+CROSSGCCOPT=-m32
+endif
+endif
 ifeq ($(CPU_TARGET),powerpc64)
 ifeq ($(CPU_TARGET),powerpc64)
 ifeq ($(BINUTILSPREFIX),)
 ifeq ($(BINUTILSPREFIX),)
 GCCLIBDIR:=$(shell dirname `gcc -m64 -print-libgcc-file-name`)
 GCCLIBDIR:=$(shell dirname `gcc -m64 -print-libgcc-file-name`)

+ 7 - 0
packages/fcl-db/src/sqldb/postgres/Makefile

@@ -1475,6 +1475,13 @@ CROSSGCCOPT=-m32
 endif
 endif
 endif
 endif
 endif
 endif
+ifeq ($(CPU_TARGET),powerpc)
+ifeq ($(BINUTILSPREFIX),)
+GCCLIBDIR:=$(shell dirname `gcc -m32 -print-libgcc-file-name`)
+else
+CROSSGCCOPT=-m32
+endif
+endif
 ifeq ($(CPU_TARGET),powerpc64)
 ifeq ($(CPU_TARGET),powerpc64)
 ifeq ($(BINUTILSPREFIX),)
 ifeq ($(BINUTILSPREFIX),)
 GCCLIBDIR:=$(shell dirname `gcc -m64 -print-libgcc-file-name`)
 GCCLIBDIR:=$(shell dirname `gcc -m64 -print-libgcc-file-name`)

+ 7 - 0
packages/fcl-db/src/sqldb/sqlite/Makefile

@@ -1169,6 +1169,13 @@ CROSSGCCOPT=-m32
 endif
 endif
 endif
 endif
 endif
 endif
+ifeq ($(CPU_TARGET),powerpc)
+ifeq ($(BINUTILSPREFIX),)
+GCCLIBDIR:=$(shell dirname `gcc -m32 -print-libgcc-file-name`)
+else
+CROSSGCCOPT=-m32
+endif
+endif
 ifeq ($(CPU_TARGET),powerpc64)
 ifeq ($(CPU_TARGET),powerpc64)
 ifeq ($(BINUTILSPREFIX),)
 ifeq ($(BINUTILSPREFIX),)
 GCCLIBDIR:=$(shell dirname `gcc -m64 -print-libgcc-file-name`)
 GCCLIBDIR:=$(shell dirname `gcc -m64 -print-libgcc-file-name`)

+ 7 - 0
packages/fcl-db/src/sqlite/Makefile

@@ -863,6 +863,13 @@ CROSSGCCOPT=-m32
 endif
 endif
 endif
 endif
 endif
 endif
+ifeq ($(CPU_TARGET),powerpc)
+ifeq ($(BINUTILSPREFIX),)
+GCCLIBDIR:=$(shell dirname `gcc -m32 -print-libgcc-file-name`)
+else
+CROSSGCCOPT=-m32
+endif
+endif
 ifeq ($(CPU_TARGET),powerpc64)
 ifeq ($(CPU_TARGET),powerpc64)
 ifeq ($(BINUTILSPREFIX),)
 ifeq ($(BINUTILSPREFIX),)
 GCCLIBDIR:=$(shell dirname `gcc -m64 -print-libgcc-file-name`)
 GCCLIBDIR:=$(shell dirname `gcc -m64 -print-libgcc-file-name`)

+ 7 - 0
packages/fcl-db/tests/Makefile

@@ -1169,6 +1169,13 @@ CROSSGCCOPT=-m32
 endif
 endif
 endif
 endif
 endif
 endif
+ifeq ($(CPU_TARGET),powerpc)
+ifeq ($(BINUTILSPREFIX),)
+GCCLIBDIR:=$(shell dirname `gcc -m32 -print-libgcc-file-name`)
+else
+CROSSGCCOPT=-m32
+endif
+endif
 ifeq ($(CPU_TARGET),powerpc64)
 ifeq ($(CPU_TARGET),powerpc64)
 ifeq ($(BINUTILSPREFIX),)
 ifeq ($(BINUTILSPREFIX),)
 GCCLIBDIR:=$(shell dirname `gcc -m64 -print-libgcc-file-name`)
 GCCLIBDIR:=$(shell dirname `gcc -m64 -print-libgcc-file-name`)

+ 7 - 0
packages/fcl-extra/Makefile

@@ -565,6 +565,13 @@ CROSSGCCOPT=-m32
 endif
 endif
 endif
 endif
 endif
 endif
+ifeq ($(CPU_TARGET),powerpc)
+ifeq ($(BINUTILSPREFIX),)
+GCCLIBDIR:=$(shell dirname `gcc -m32 -print-libgcc-file-name`)
+else
+CROSSGCCOPT=-m32
+endif
+endif
 ifeq ($(CPU_TARGET),powerpc64)
 ifeq ($(CPU_TARGET),powerpc64)
 ifeq ($(BINUTILSPREFIX),)
 ifeq ($(BINUTILSPREFIX),)
 GCCLIBDIR:=$(shell dirname `gcc -m64 -print-libgcc-file-name`)
 GCCLIBDIR:=$(shell dirname `gcc -m64 -print-libgcc-file-name`)

+ 7 - 0
packages/fcl-extra/examples/Makefile

@@ -672,6 +672,13 @@ CROSSGCCOPT=-m32
 endif
 endif
 endif
 endif
 endif
 endif
+ifeq ($(CPU_TARGET),powerpc)
+ifeq ($(BINUTILSPREFIX),)
+GCCLIBDIR:=$(shell dirname `gcc -m32 -print-libgcc-file-name`)
+else
+CROSSGCCOPT=-m32
+endif
+endif
 ifeq ($(CPU_TARGET),powerpc64)
 ifeq ($(CPU_TARGET),powerpc64)
 ifeq ($(BINUTILSPREFIX),)
 ifeq ($(BINUTILSPREFIX),)
 GCCLIBDIR:=$(shell dirname `gcc -m64 -print-libgcc-file-name`)
 GCCLIBDIR:=$(shell dirname `gcc -m64 -print-libgcc-file-name`)

+ 7 - 0
packages/fcl-fpcunit/Makefile

@@ -565,6 +565,13 @@ CROSSGCCOPT=-m32
 endif
 endif
 endif
 endif
 endif
 endif
+ifeq ($(CPU_TARGET),powerpc)
+ifeq ($(BINUTILSPREFIX),)
+GCCLIBDIR:=$(shell dirname `gcc -m32 -print-libgcc-file-name`)
+else
+CROSSGCCOPT=-m32
+endif
+endif
 ifeq ($(CPU_TARGET),powerpc64)
 ifeq ($(CPU_TARGET),powerpc64)
 ifeq ($(BINUTILSPREFIX),)
 ifeq ($(BINUTILSPREFIX),)
 GCCLIBDIR:=$(shell dirname `gcc -m64 -print-libgcc-file-name`)
 GCCLIBDIR:=$(shell dirname `gcc -m64 -print-libgcc-file-name`)

+ 7 - 0
packages/fcl-fpcunit/src/exampletests/Makefile

@@ -1169,6 +1169,13 @@ CROSSGCCOPT=-m32
 endif
 endif
 endif
 endif
 endif
 endif
+ifeq ($(CPU_TARGET),powerpc)
+ifeq ($(BINUTILSPREFIX),)
+GCCLIBDIR:=$(shell dirname `gcc -m32 -print-libgcc-file-name`)
+else
+CROSSGCCOPT=-m32
+endif
+endif
 ifeq ($(CPU_TARGET),powerpc64)
 ifeq ($(CPU_TARGET),powerpc64)
 ifeq ($(BINUTILSPREFIX),)
 ifeq ($(BINUTILSPREFIX),)
 GCCLIBDIR:=$(shell dirname `gcc -m64 -print-libgcc-file-name`)
 GCCLIBDIR:=$(shell dirname `gcc -m64 -print-libgcc-file-name`)

+ 7 - 0
packages/fcl-fpcunit/src/tests/Makefile

@@ -1169,6 +1169,13 @@ CROSSGCCOPT=-m32
 endif
 endif
 endif
 endif
 endif
 endif
+ifeq ($(CPU_TARGET),powerpc)
+ifeq ($(BINUTILSPREFIX),)
+GCCLIBDIR:=$(shell dirname `gcc -m32 -print-libgcc-file-name`)
+else
+CROSSGCCOPT=-m32
+endif
+endif
 ifeq ($(CPU_TARGET),powerpc64)
 ifeq ($(CPU_TARGET),powerpc64)
 ifeq ($(BINUTILSPREFIX),)
 ifeq ($(BINUTILSPREFIX),)
 GCCLIBDIR:=$(shell dirname `gcc -m64 -print-libgcc-file-name`)
 GCCLIBDIR:=$(shell dirname `gcc -m64 -print-libgcc-file-name`)

+ 7 - 0
packages/fcl-image/Makefile

@@ -565,6 +565,13 @@ CROSSGCCOPT=-m32
 endif
 endif
 endif
 endif
 endif
 endif
+ifeq ($(CPU_TARGET),powerpc)
+ifeq ($(BINUTILSPREFIX),)
+GCCLIBDIR:=$(shell dirname `gcc -m32 -print-libgcc-file-name`)
+else
+CROSSGCCOPT=-m32
+endif
+endif
 ifeq ($(CPU_TARGET),powerpc64)
 ifeq ($(CPU_TARGET),powerpc64)
 ifeq ($(BINUTILSPREFIX),)
 ifeq ($(BINUTILSPREFIX),)
 GCCLIBDIR:=$(shell dirname `gcc -m64 -print-libgcc-file-name`)
 GCCLIBDIR:=$(shell dirname `gcc -m64 -print-libgcc-file-name`)

+ 7 - 0
packages/fcl-image/examples/Makefile

@@ -861,6 +861,13 @@ CROSSGCCOPT=-m32
 endif
 endif
 endif
 endif
 endif
 endif
+ifeq ($(CPU_TARGET),powerpc)
+ifeq ($(BINUTILSPREFIX),)
+GCCLIBDIR:=$(shell dirname `gcc -m32 -print-libgcc-file-name`)
+else
+CROSSGCCOPT=-m32
+endif
+endif
 ifeq ($(CPU_TARGET),powerpc64)
 ifeq ($(CPU_TARGET),powerpc64)
 ifeq ($(BINUTILSPREFIX),)
 ifeq ($(BINUTILSPREFIX),)
 GCCLIBDIR:=$(shell dirname `gcc -m64 -print-libgcc-file-name`)
 GCCLIBDIR:=$(shell dirname `gcc -m64 -print-libgcc-file-name`)

+ 7 - 0
packages/fcl-js/Makefile

@@ -565,6 +565,13 @@ CROSSGCCOPT=-m32
 endif
 endif
 endif
 endif
 endif
 endif
+ifeq ($(CPU_TARGET),powerpc)
+ifeq ($(BINUTILSPREFIX),)
+GCCLIBDIR:=$(shell dirname `gcc -m32 -print-libgcc-file-name`)
+else
+CROSSGCCOPT=-m32
+endif
+endif
 ifeq ($(CPU_TARGET),powerpc64)
 ifeq ($(CPU_TARGET),powerpc64)
 ifeq ($(BINUTILSPREFIX),)
 ifeq ($(BINUTILSPREFIX),)
 GCCLIBDIR:=$(shell dirname `gcc -m64 -print-libgcc-file-name`)
 GCCLIBDIR:=$(shell dirname `gcc -m64 -print-libgcc-file-name`)

+ 7 - 0
packages/fcl-json/Makefile

@@ -565,6 +565,13 @@ CROSSGCCOPT=-m32
 endif
 endif
 endif
 endif
 endif
 endif
+ifeq ($(CPU_TARGET),powerpc)
+ifeq ($(BINUTILSPREFIX),)
+GCCLIBDIR:=$(shell dirname `gcc -m32 -print-libgcc-file-name`)
+else
+CROSSGCCOPT=-m32
+endif
+endif
 ifeq ($(CPU_TARGET),powerpc64)
 ifeq ($(CPU_TARGET),powerpc64)
 ifeq ($(BINUTILSPREFIX),)
 ifeq ($(BINUTILSPREFIX),)
 GCCLIBDIR:=$(shell dirname `gcc -m64 -print-libgcc-file-name`)
 GCCLIBDIR:=$(shell dirname `gcc -m64 -print-libgcc-file-name`)

+ 7 - 0
packages/fcl-net/Makefile

@@ -565,6 +565,13 @@ CROSSGCCOPT=-m32
 endif
 endif
 endif
 endif
 endif
 endif
+ifeq ($(CPU_TARGET),powerpc)
+ifeq ($(BINUTILSPREFIX),)
+GCCLIBDIR:=$(shell dirname `gcc -m32 -print-libgcc-file-name`)
+else
+CROSSGCCOPT=-m32
+endif
+endif
 ifeq ($(CPU_TARGET),powerpc64)
 ifeq ($(CPU_TARGET),powerpc64)
 ifeq ($(BINUTILSPREFIX),)
 ifeq ($(BINUTILSPREFIX),)
 GCCLIBDIR:=$(shell dirname `gcc -m64 -print-libgcc-file-name`)
 GCCLIBDIR:=$(shell dirname `gcc -m64 -print-libgcc-file-name`)

+ 7 - 0
packages/fcl-net/examples/Makefile

@@ -1473,6 +1473,13 @@ CROSSGCCOPT=-m32
 endif
 endif
 endif
 endif
 endif
 endif
+ifeq ($(CPU_TARGET),powerpc)
+ifeq ($(BINUTILSPREFIX),)
+GCCLIBDIR:=$(shell dirname `gcc -m32 -print-libgcc-file-name`)
+else
+CROSSGCCOPT=-m32
+endif
+endif
 ifeq ($(CPU_TARGET),powerpc64)
 ifeq ($(CPU_TARGET),powerpc64)
 ifeq ($(BINUTILSPREFIX),)
 ifeq ($(BINUTILSPREFIX),)
 GCCLIBDIR:=$(shell dirname `gcc -m64 -print-libgcc-file-name`)
 GCCLIBDIR:=$(shell dirname `gcc -m64 -print-libgcc-file-name`)

+ 7 - 0
packages/fcl-passrc/Makefile

@@ -565,6 +565,13 @@ CROSSGCCOPT=-m32
 endif
 endif
 endif
 endif
 endif
 endif
+ifeq ($(CPU_TARGET),powerpc)
+ifeq ($(BINUTILSPREFIX),)
+GCCLIBDIR:=$(shell dirname `gcc -m32 -print-libgcc-file-name`)
+else
+CROSSGCCOPT=-m32
+endif
+endif
 ifeq ($(CPU_TARGET),powerpc64)
 ifeq ($(CPU_TARGET),powerpc64)
 ifeq ($(BINUTILSPREFIX),)
 ifeq ($(BINUTILSPREFIX),)
 GCCLIBDIR:=$(shell dirname `gcc -m64 -print-libgcc-file-name`)
 GCCLIBDIR:=$(shell dirname `gcc -m64 -print-libgcc-file-name`)

+ 7 - 0
packages/fcl-pdf/Makefile

@@ -589,6 +589,13 @@ CROSSGCCOPT=-m32
 endif
 endif
 endif
 endif
 endif
 endif
+ifeq ($(CPU_TARGET),powerpc)
+ifeq ($(BINUTILSPREFIX),)
+GCCLIBDIR:=$(shell dirname `gcc -m32 -print-libgcc-file-name`)
+else
+CROSSGCCOPT=-m32
+endif
+endif
 ifeq ($(CPU_TARGET),powerpc64)
 ifeq ($(CPU_TARGET),powerpc64)
 ifeq ($(BINUTILSPREFIX),)
 ifeq ($(BINUTILSPREFIX),)
 GCCLIBDIR:=$(shell dirname `gcc -m64 -print-libgcc-file-name`)
 GCCLIBDIR:=$(shell dirname `gcc -m64 -print-libgcc-file-name`)

+ 7 - 0
packages/fcl-process/Makefile

@@ -589,6 +589,13 @@ CROSSGCCOPT=-m32
 endif
 endif
 endif
 endif
 endif
 endif
+ifeq ($(CPU_TARGET),powerpc)
+ifeq ($(BINUTILSPREFIX),)
+GCCLIBDIR:=$(shell dirname `gcc -m32 -print-libgcc-file-name`)
+else
+CROSSGCCOPT=-m32
+endif
+endif
 ifeq ($(CPU_TARGET),powerpc64)
 ifeq ($(CPU_TARGET),powerpc64)
 ifeq ($(BINUTILSPREFIX),)
 ifeq ($(BINUTILSPREFIX),)
 GCCLIBDIR:=$(shell dirname `gcc -m64 -print-libgcc-file-name`)
 GCCLIBDIR:=$(shell dirname `gcc -m64 -print-libgcc-file-name`)

+ 7 - 0
packages/fcl-registry/Makefile

@@ -565,6 +565,13 @@ CROSSGCCOPT=-m32
 endif
 endif
 endif
 endif
 endif
 endif
+ifeq ($(CPU_TARGET),powerpc)
+ifeq ($(BINUTILSPREFIX),)
+GCCLIBDIR:=$(shell dirname `gcc -m32 -print-libgcc-file-name`)
+else
+CROSSGCCOPT=-m32
+endif
+endif
 ifeq ($(CPU_TARGET),powerpc64)
 ifeq ($(CPU_TARGET),powerpc64)
 ifeq ($(BINUTILSPREFIX),)
 ifeq ($(BINUTILSPREFIX),)
 GCCLIBDIR:=$(shell dirname `gcc -m64 -print-libgcc-file-name`)
 GCCLIBDIR:=$(shell dirname `gcc -m64 -print-libgcc-file-name`)

+ 7 - 0
packages/fcl-registry/tests/Makefile

@@ -863,6 +863,13 @@ CROSSGCCOPT=-m32
 endif
 endif
 endif
 endif
 endif
 endif
+ifeq ($(CPU_TARGET),powerpc)
+ifeq ($(BINUTILSPREFIX),)
+GCCLIBDIR:=$(shell dirname `gcc -m32 -print-libgcc-file-name`)
+else
+CROSSGCCOPT=-m32
+endif
+endif
 ifeq ($(CPU_TARGET),powerpc64)
 ifeq ($(CPU_TARGET),powerpc64)
 ifeq ($(BINUTILSPREFIX),)
 ifeq ($(BINUTILSPREFIX),)
 GCCLIBDIR:=$(shell dirname `gcc -m64 -print-libgcc-file-name`)
 GCCLIBDIR:=$(shell dirname `gcc -m64 -print-libgcc-file-name`)

+ 7 - 0
packages/fcl-report/Makefile

@@ -565,6 +565,13 @@ CROSSGCCOPT=-m32
 endif
 endif
 endif
 endif
 endif
 endif
+ifeq ($(CPU_TARGET),powerpc)
+ifeq ($(BINUTILSPREFIX),)
+GCCLIBDIR:=$(shell dirname `gcc -m32 -print-libgcc-file-name`)
+else
+CROSSGCCOPT=-m32
+endif
+endif
 ifeq ($(CPU_TARGET),powerpc64)
 ifeq ($(CPU_TARGET),powerpc64)
 ifeq ($(BINUTILSPREFIX),)
 ifeq ($(BINUTILSPREFIX),)
 GCCLIBDIR:=$(shell dirname `gcc -m64 -print-libgcc-file-name`)
 GCCLIBDIR:=$(shell dirname `gcc -m64 -print-libgcc-file-name`)

+ 7 - 0
packages/fcl-res/Makefile

@@ -565,6 +565,13 @@ CROSSGCCOPT=-m32
 endif
 endif
 endif
 endif
 endif
 endif
+ifeq ($(CPU_TARGET),powerpc)
+ifeq ($(BINUTILSPREFIX),)
+GCCLIBDIR:=$(shell dirname `gcc -m32 -print-libgcc-file-name`)
+else
+CROSSGCCOPT=-m32
+endif
+endif
 ifeq ($(CPU_TARGET),powerpc64)
 ifeq ($(CPU_TARGET),powerpc64)
 ifeq ($(BINUTILSPREFIX),)
 ifeq ($(BINUTILSPREFIX),)
 GCCLIBDIR:=$(shell dirname `gcc -m64 -print-libgcc-file-name`)
 GCCLIBDIR:=$(shell dirname `gcc -m64 -print-libgcc-file-name`)

+ 7 - 0
packages/fcl-sdo/Makefile

@@ -565,6 +565,13 @@ CROSSGCCOPT=-m32
 endif
 endif
 endif
 endif
 endif
 endif
+ifeq ($(CPU_TARGET),powerpc)
+ifeq ($(BINUTILSPREFIX),)
+GCCLIBDIR:=$(shell dirname `gcc -m32 -print-libgcc-file-name`)
+else
+CROSSGCCOPT=-m32
+endif
+endif
 ifeq ($(CPU_TARGET),powerpc64)
 ifeq ($(CPU_TARGET),powerpc64)
 ifeq ($(BINUTILSPREFIX),)
 ifeq ($(BINUTILSPREFIX),)
 GCCLIBDIR:=$(shell dirname `gcc -m64 -print-libgcc-file-name`)
 GCCLIBDIR:=$(shell dirname `gcc -m64 -print-libgcc-file-name`)

+ 7 - 0
packages/fcl-sound/Makefile

@@ -565,6 +565,13 @@ CROSSGCCOPT=-m32
 endif
 endif
 endif
 endif
 endif
 endif
+ifeq ($(CPU_TARGET),powerpc)
+ifeq ($(BINUTILSPREFIX),)
+GCCLIBDIR:=$(shell dirname `gcc -m32 -print-libgcc-file-name`)
+else
+CROSSGCCOPT=-m32
+endif
+endif
 ifeq ($(CPU_TARGET),powerpc64)
 ifeq ($(CPU_TARGET),powerpc64)
 ifeq ($(BINUTILSPREFIX),)
 ifeq ($(BINUTILSPREFIX),)
 GCCLIBDIR:=$(shell dirname `gcc -m64 -print-libgcc-file-name`)
 GCCLIBDIR:=$(shell dirname `gcc -m64 -print-libgcc-file-name`)

+ 7 - 0
packages/fcl-stl/Makefile

@@ -565,6 +565,13 @@ CROSSGCCOPT=-m32
 endif
 endif
 endif
 endif
 endif
 endif
+ifeq ($(CPU_TARGET),powerpc)
+ifeq ($(BINUTILSPREFIX),)
+GCCLIBDIR:=$(shell dirname `gcc -m32 -print-libgcc-file-name`)
+else
+CROSSGCCOPT=-m32
+endif
+endif
 ifeq ($(CPU_TARGET),powerpc64)
 ifeq ($(CPU_TARGET),powerpc64)
 ifeq ($(BINUTILSPREFIX),)
 ifeq ($(BINUTILSPREFIX),)
 GCCLIBDIR:=$(shell dirname `gcc -m64 -print-libgcc-file-name`)
 GCCLIBDIR:=$(shell dirname `gcc -m64 -print-libgcc-file-name`)

+ 7 - 0
packages/fcl-web/Makefile

@@ -565,6 +565,13 @@ CROSSGCCOPT=-m32
 endif
 endif
 endif
 endif
 endif
 endif
+ifeq ($(CPU_TARGET),powerpc)
+ifeq ($(BINUTILSPREFIX),)
+GCCLIBDIR:=$(shell dirname `gcc -m32 -print-libgcc-file-name`)
+else
+CROSSGCCOPT=-m32
+endif
+endif
 ifeq ($(CPU_TARGET),powerpc64)
 ifeq ($(CPU_TARGET),powerpc64)
 ifeq ($(BINUTILSPREFIX),)
 ifeq ($(BINUTILSPREFIX),)
 GCCLIBDIR:=$(shell dirname `gcc -m64 -print-libgcc-file-name`)
 GCCLIBDIR:=$(shell dirname `gcc -m64 -print-libgcc-file-name`)

+ 7 - 0
packages/fcl-web/src/base/Makefile

@@ -1476,6 +1476,13 @@ CROSSGCCOPT=-m32
 endif
 endif
 endif
 endif
 endif
 endif
+ifeq ($(CPU_TARGET),powerpc)
+ifeq ($(BINUTILSPREFIX),)
+GCCLIBDIR:=$(shell dirname `gcc -m32 -print-libgcc-file-name`)
+else
+CROSSGCCOPT=-m32
+endif
+endif
 ifeq ($(CPU_TARGET),powerpc64)
 ifeq ($(CPU_TARGET),powerpc64)
 ifeq ($(BINUTILSPREFIX),)
 ifeq ($(BINUTILSPREFIX),)
 GCCLIBDIR:=$(shell dirname `gcc -m64 -print-libgcc-file-name`)
 GCCLIBDIR:=$(shell dirname `gcc -m64 -print-libgcc-file-name`)

+ 7 - 0
packages/fcl-web/src/jsonrpc/Makefile

@@ -1170,6 +1170,13 @@ CROSSGCCOPT=-m32
 endif
 endif
 endif
 endif
 endif
 endif
+ifeq ($(CPU_TARGET),powerpc)
+ifeq ($(BINUTILSPREFIX),)
+GCCLIBDIR:=$(shell dirname `gcc -m32 -print-libgcc-file-name`)
+else
+CROSSGCCOPT=-m32
+endif
+endif
 ifeq ($(CPU_TARGET),powerpc64)
 ifeq ($(CPU_TARGET),powerpc64)
 ifeq ($(BINUTILSPREFIX),)
 ifeq ($(BINUTILSPREFIX),)
 GCCLIBDIR:=$(shell dirname `gcc -m64 -print-libgcc-file-name`)
 GCCLIBDIR:=$(shell dirname `gcc -m64 -print-libgcc-file-name`)

+ 7 - 0
packages/fcl-web/src/webdata/Makefile

@@ -1170,6 +1170,13 @@ CROSSGCCOPT=-m32
 endif
 endif
 endif
 endif
 endif
 endif
+ifeq ($(CPU_TARGET),powerpc)
+ifeq ($(BINUTILSPREFIX),)
+GCCLIBDIR:=$(shell dirname `gcc -m32 -print-libgcc-file-name`)
+else
+CROSSGCCOPT=-m32
+endif
+endif
 ifeq ($(CPU_TARGET),powerpc64)
 ifeq ($(CPU_TARGET),powerpc64)
 ifeq ($(BINUTILSPREFIX),)
 ifeq ($(BINUTILSPREFIX),)
 GCCLIBDIR:=$(shell dirname `gcc -m64 -print-libgcc-file-name`)
 GCCLIBDIR:=$(shell dirname `gcc -m64 -print-libgcc-file-name`)

+ 7 - 0
packages/fcl-xml/Makefile

@@ -565,6 +565,13 @@ CROSSGCCOPT=-m32
 endif
 endif
 endif
 endif
 endif
 endif
+ifeq ($(CPU_TARGET),powerpc)
+ifeq ($(BINUTILSPREFIX),)
+GCCLIBDIR:=$(shell dirname `gcc -m32 -print-libgcc-file-name`)
+else
+CROSSGCCOPT=-m32
+endif
+endif
 ifeq ($(CPU_TARGET),powerpc64)
 ifeq ($(CPU_TARGET),powerpc64)
 ifeq ($(BINUTILSPREFIX),)
 ifeq ($(BINUTILSPREFIX),)
 GCCLIBDIR:=$(shell dirname `gcc -m64 -print-libgcc-file-name`)
 GCCLIBDIR:=$(shell dirname `gcc -m64 -print-libgcc-file-name`)

+ 7 - 0
packages/fftw/Makefile

@@ -565,6 +565,13 @@ CROSSGCCOPT=-m32
 endif
 endif
 endif
 endif
 endif
 endif
+ifeq ($(CPU_TARGET),powerpc)
+ifeq ($(BINUTILSPREFIX),)
+GCCLIBDIR:=$(shell dirname `gcc -m32 -print-libgcc-file-name`)
+else
+CROSSGCCOPT=-m32
+endif
+endif
 ifeq ($(CPU_TARGET),powerpc64)
 ifeq ($(CPU_TARGET),powerpc64)
 ifeq ($(BINUTILSPREFIX),)
 ifeq ($(BINUTILSPREFIX),)
 GCCLIBDIR:=$(shell dirname `gcc -m64 -print-libgcc-file-name`)
 GCCLIBDIR:=$(shell dirname `gcc -m64 -print-libgcc-file-name`)

+ 7 - 0
packages/fpgtk/Makefile

@@ -565,6 +565,13 @@ CROSSGCCOPT=-m32
 endif
 endif
 endif
 endif
 endif
 endif
+ifeq ($(CPU_TARGET),powerpc)
+ifeq ($(BINUTILSPREFIX),)
+GCCLIBDIR:=$(shell dirname `gcc -m32 -print-libgcc-file-name`)
+else
+CROSSGCCOPT=-m32
+endif
+endif
 ifeq ($(CPU_TARGET),powerpc64)
 ifeq ($(CPU_TARGET),powerpc64)
 ifeq ($(BINUTILSPREFIX),)
 ifeq ($(BINUTILSPREFIX),)
 GCCLIBDIR:=$(shell dirname `gcc -m64 -print-libgcc-file-name`)
 GCCLIBDIR:=$(shell dirname `gcc -m64 -print-libgcc-file-name`)

+ 7 - 0
packages/fpgtk/examples/Makefile

@@ -1167,6 +1167,13 @@ CROSSGCCOPT=-m32
 endif
 endif
 endif
 endif
 endif
 endif
+ifeq ($(CPU_TARGET),powerpc)
+ifeq ($(BINUTILSPREFIX),)
+GCCLIBDIR:=$(shell dirname `gcc -m32 -print-libgcc-file-name`)
+else
+CROSSGCCOPT=-m32
+endif
+endif
 ifeq ($(CPU_TARGET),powerpc64)
 ifeq ($(CPU_TARGET),powerpc64)
 ifeq ($(BINUTILSPREFIX),)
 ifeq ($(BINUTILSPREFIX),)
 GCCLIBDIR:=$(shell dirname `gcc -m64 -print-libgcc-file-name`)
 GCCLIBDIR:=$(shell dirname `gcc -m64 -print-libgcc-file-name`)

+ 7 - 0
packages/fpindexer/Makefile

@@ -565,6 +565,13 @@ CROSSGCCOPT=-m32
 endif
 endif
 endif
 endif
 endif
 endif
+ifeq ($(CPU_TARGET),powerpc)
+ifeq ($(BINUTILSPREFIX),)
+GCCLIBDIR:=$(shell dirname `gcc -m32 -print-libgcc-file-name`)
+else
+CROSSGCCOPT=-m32
+endif
+endif
 ifeq ($(CPU_TARGET),powerpc64)
 ifeq ($(CPU_TARGET),powerpc64)
 ifeq ($(BINUTILSPREFIX),)
 ifeq ($(BINUTILSPREFIX),)
 GCCLIBDIR:=$(shell dirname `gcc -m64 -print-libgcc-file-name`)
 GCCLIBDIR:=$(shell dirname `gcc -m64 -print-libgcc-file-name`)

+ 7 - 0
packages/fpmkunit/Makefile

@@ -605,6 +605,13 @@ CROSSGCCOPT=-m32
 endif
 endif
 endif
 endif
 endif
 endif
+ifeq ($(CPU_TARGET),powerpc)
+ifeq ($(BINUTILSPREFIX),)
+GCCLIBDIR:=$(shell dirname `gcc -m32 -print-libgcc-file-name`)
+else
+CROSSGCCOPT=-m32
+endif
+endif
 ifeq ($(CPU_TARGET),powerpc64)
 ifeq ($(CPU_TARGET),powerpc64)
 ifeq ($(BINUTILSPREFIX),)
 ifeq ($(BINUTILSPREFIX),)
 GCCLIBDIR:=$(shell dirname `gcc -m64 -print-libgcc-file-name`)
 GCCLIBDIR:=$(shell dirname `gcc -m64 -print-libgcc-file-name`)

+ 7 - 0
packages/fppkg/Makefile

@@ -565,6 +565,13 @@ CROSSGCCOPT=-m32
 endif
 endif
 endif
 endif
 endif
 endif
+ifeq ($(CPU_TARGET),powerpc)
+ifeq ($(BINUTILSPREFIX),)
+GCCLIBDIR:=$(shell dirname `gcc -m32 -print-libgcc-file-name`)
+else
+CROSSGCCOPT=-m32
+endif
+endif
 ifeq ($(CPU_TARGET),powerpc64)
 ifeq ($(CPU_TARGET),powerpc64)
 ifeq ($(BINUTILSPREFIX),)
 ifeq ($(BINUTILSPREFIX),)
 GCCLIBDIR:=$(shell dirname `gcc -m64 -print-libgcc-file-name`)
 GCCLIBDIR:=$(shell dirname `gcc -m64 -print-libgcc-file-name`)

+ 7 - 0
packages/fuse/Makefile

@@ -565,6 +565,13 @@ CROSSGCCOPT=-m32
 endif
 endif
 endif
 endif
 endif
 endif
+ifeq ($(CPU_TARGET),powerpc)
+ifeq ($(BINUTILSPREFIX),)
+GCCLIBDIR:=$(shell dirname `gcc -m32 -print-libgcc-file-name`)
+else
+CROSSGCCOPT=-m32
+endif
+endif
 ifeq ($(CPU_TARGET),powerpc64)
 ifeq ($(CPU_TARGET),powerpc64)
 ifeq ($(BINUTILSPREFIX),)
 ifeq ($(BINUTILSPREFIX),)
 GCCLIBDIR:=$(shell dirname `gcc -m64 -print-libgcc-file-name`)
 GCCLIBDIR:=$(shell dirname `gcc -m64 -print-libgcc-file-name`)

+ 7 - 0
packages/fv/Makefile

@@ -565,6 +565,13 @@ CROSSGCCOPT=-m32
 endif
 endif
 endif
 endif
 endif
 endif
+ifeq ($(CPU_TARGET),powerpc)
+ifeq ($(BINUTILSPREFIX),)
+GCCLIBDIR:=$(shell dirname `gcc -m32 -print-libgcc-file-name`)
+else
+CROSSGCCOPT=-m32
+endif
+endif
 ifeq ($(CPU_TARGET),powerpc64)
 ifeq ($(CPU_TARGET),powerpc64)
 ifeq ($(BINUTILSPREFIX),)
 ifeq ($(BINUTILSPREFIX),)
 GCCLIBDIR:=$(shell dirname `gcc -m64 -print-libgcc-file-name`)
 GCCLIBDIR:=$(shell dirname `gcc -m64 -print-libgcc-file-name`)

+ 7 - 0
packages/fv/examples/Makefile

@@ -1166,6 +1166,13 @@ CROSSGCCOPT=-m32
 endif
 endif
 endif
 endif
 endif
 endif
+ifeq ($(CPU_TARGET),powerpc)
+ifeq ($(BINUTILSPREFIX),)
+GCCLIBDIR:=$(shell dirname `gcc -m32 -print-libgcc-file-name`)
+else
+CROSSGCCOPT=-m32
+endif
+endif
 ifeq ($(CPU_TARGET),powerpc64)
 ifeq ($(CPU_TARGET),powerpc64)
 ifeq ($(BINUTILSPREFIX),)
 ifeq ($(BINUTILSPREFIX),)
 GCCLIBDIR:=$(shell dirname `gcc -m64 -print-libgcc-file-name`)
 GCCLIBDIR:=$(shell dirname `gcc -m64 -print-libgcc-file-name`)

+ 7 - 0
packages/gdbint/Makefile

@@ -565,6 +565,13 @@ CROSSGCCOPT=-m32
 endif
 endif
 endif
 endif
 endif
 endif
+ifeq ($(CPU_TARGET),powerpc)
+ifeq ($(BINUTILSPREFIX),)
+GCCLIBDIR:=$(shell dirname `gcc -m32 -print-libgcc-file-name`)
+else
+CROSSGCCOPT=-m32
+endif
+endif
 ifeq ($(CPU_TARGET),powerpc64)
 ifeq ($(CPU_TARGET),powerpc64)
 ifeq ($(BINUTILSPREFIX),)
 ifeq ($(BINUTILSPREFIX),)
 GCCLIBDIR:=$(shell dirname `gcc -m64 -print-libgcc-file-name`)
 GCCLIBDIR:=$(shell dirname `gcc -m64 -print-libgcc-file-name`)

+ 7 - 0
packages/gdbm/Makefile

@@ -565,6 +565,13 @@ CROSSGCCOPT=-m32
 endif
 endif
 endif
 endif
 endif
 endif
+ifeq ($(CPU_TARGET),powerpc)
+ifeq ($(BINUTILSPREFIX),)
+GCCLIBDIR:=$(shell dirname `gcc -m32 -print-libgcc-file-name`)
+else
+CROSSGCCOPT=-m32
+endif
+endif
 ifeq ($(CPU_TARGET),powerpc64)
 ifeq ($(CPU_TARGET),powerpc64)
 ifeq ($(BINUTILSPREFIX),)
 ifeq ($(BINUTILSPREFIX),)
 GCCLIBDIR:=$(shell dirname `gcc -m64 -print-libgcc-file-name`)
 GCCLIBDIR:=$(shell dirname `gcc -m64 -print-libgcc-file-name`)

+ 7 - 0
packages/gdbm/examples/Makefile

@@ -861,6 +861,13 @@ CROSSGCCOPT=-m32
 endif
 endif
 endif
 endif
 endif
 endif
+ifeq ($(CPU_TARGET),powerpc)
+ifeq ($(BINUTILSPREFIX),)
+GCCLIBDIR:=$(shell dirname `gcc -m32 -print-libgcc-file-name`)
+else
+CROSSGCCOPT=-m32
+endif
+endif
 ifeq ($(CPU_TARGET),powerpc64)
 ifeq ($(CPU_TARGET),powerpc64)
 ifeq ($(BINUTILSPREFIX),)
 ifeq ($(BINUTILSPREFIX),)
 GCCLIBDIR:=$(shell dirname `gcc -m64 -print-libgcc-file-name`)
 GCCLIBDIR:=$(shell dirname `gcc -m64 -print-libgcc-file-name`)

+ 7 - 0
packages/ggi/Makefile

@@ -565,6 +565,13 @@ CROSSGCCOPT=-m32
 endif
 endif
 endif
 endif
 endif
 endif
+ifeq ($(CPU_TARGET),powerpc)
+ifeq ($(BINUTILSPREFIX),)
+GCCLIBDIR:=$(shell dirname `gcc -m32 -print-libgcc-file-name`)
+else
+CROSSGCCOPT=-m32
+endif
+endif
 ifeq ($(CPU_TARGET),powerpc64)
 ifeq ($(CPU_TARGET),powerpc64)
 ifeq ($(BINUTILSPREFIX),)
 ifeq ($(BINUTILSPREFIX),)
 GCCLIBDIR:=$(shell dirname `gcc -m64 -print-libgcc-file-name`)
 GCCLIBDIR:=$(shell dirname `gcc -m64 -print-libgcc-file-name`)

+ 7 - 0
packages/ggi/examples/Makefile

@@ -861,6 +861,13 @@ CROSSGCCOPT=-m32
 endif
 endif
 endif
 endif
 endif
 endif
+ifeq ($(CPU_TARGET),powerpc)
+ifeq ($(BINUTILSPREFIX),)
+GCCLIBDIR:=$(shell dirname `gcc -m32 -print-libgcc-file-name`)
+else
+CROSSGCCOPT=-m32
+endif
+endif
 ifeq ($(CPU_TARGET),powerpc64)
 ifeq ($(CPU_TARGET),powerpc64)
 ifeq ($(BINUTILSPREFIX),)
 ifeq ($(BINUTILSPREFIX),)
 GCCLIBDIR:=$(shell dirname `gcc -m64 -print-libgcc-file-name`)
 GCCLIBDIR:=$(shell dirname `gcc -m64 -print-libgcc-file-name`)

+ 7 - 0
packages/gmp/Makefile

@@ -565,6 +565,13 @@ CROSSGCCOPT=-m32
 endif
 endif
 endif
 endif
 endif
 endif
+ifeq ($(CPU_TARGET),powerpc)
+ifeq ($(BINUTILSPREFIX),)
+GCCLIBDIR:=$(shell dirname `gcc -m32 -print-libgcc-file-name`)
+else
+CROSSGCCOPT=-m32
+endif
+endif
 ifeq ($(CPU_TARGET),powerpc64)
 ifeq ($(CPU_TARGET),powerpc64)
 ifeq ($(BINUTILSPREFIX),)
 ifeq ($(BINUTILSPREFIX),)
 GCCLIBDIR:=$(shell dirname `gcc -m64 -print-libgcc-file-name`)
 GCCLIBDIR:=$(shell dirname `gcc -m64 -print-libgcc-file-name`)

+ 7 - 0
packages/gmp/examples/Makefile

@@ -861,6 +861,13 @@ CROSSGCCOPT=-m32
 endif
 endif
 endif
 endif
 endif
 endif
+ifeq ($(CPU_TARGET),powerpc)
+ifeq ($(BINUTILSPREFIX),)
+GCCLIBDIR:=$(shell dirname `gcc -m32 -print-libgcc-file-name`)
+else
+CROSSGCCOPT=-m32
+endif
+endif
 ifeq ($(CPU_TARGET),powerpc64)
 ifeq ($(CPU_TARGET),powerpc64)
 ifeq ($(BINUTILSPREFIX),)
 ifeq ($(BINUTILSPREFIX),)
 GCCLIBDIR:=$(shell dirname `gcc -m64 -print-libgcc-file-name`)
 GCCLIBDIR:=$(shell dirname `gcc -m64 -print-libgcc-file-name`)

+ 7 - 0
packages/gnome1/Makefile

@@ -565,6 +565,13 @@ CROSSGCCOPT=-m32
 endif
 endif
 endif
 endif
 endif
 endif
+ifeq ($(CPU_TARGET),powerpc)
+ifeq ($(BINUTILSPREFIX),)
+GCCLIBDIR:=$(shell dirname `gcc -m32 -print-libgcc-file-name`)
+else
+CROSSGCCOPT=-m32
+endif
+endif
 ifeq ($(CPU_TARGET),powerpc64)
 ifeq ($(CPU_TARGET),powerpc64)
 ifeq ($(BINUTILSPREFIX),)
 ifeq ($(BINUTILSPREFIX),)
 GCCLIBDIR:=$(shell dirname `gcc -m64 -print-libgcc-file-name`)
 GCCLIBDIR:=$(shell dirname `gcc -m64 -print-libgcc-file-name`)

+ 7 - 0
packages/gnutls/Makefile

@@ -565,6 +565,13 @@ CROSSGCCOPT=-m32
 endif
 endif
 endif
 endif
 endif
 endif
+ifeq ($(CPU_TARGET),powerpc)
+ifeq ($(BINUTILSPREFIX),)
+GCCLIBDIR:=$(shell dirname `gcc -m32 -print-libgcc-file-name`)
+else
+CROSSGCCOPT=-m32
+endif
+endif
 ifeq ($(CPU_TARGET),powerpc64)
 ifeq ($(CPU_TARGET),powerpc64)
 ifeq ($(BINUTILSPREFIX),)
 ifeq ($(BINUTILSPREFIX),)
 GCCLIBDIR:=$(shell dirname `gcc -m64 -print-libgcc-file-name`)
 GCCLIBDIR:=$(shell dirname `gcc -m64 -print-libgcc-file-name`)

+ 7 - 0
packages/googleapi/Makefile

@@ -565,6 +565,13 @@ CROSSGCCOPT=-m32
 endif
 endif
 endif
 endif
 endif
 endif
+ifeq ($(CPU_TARGET),powerpc)
+ifeq ($(BINUTILSPREFIX),)
+GCCLIBDIR:=$(shell dirname `gcc -m32 -print-libgcc-file-name`)
+else
+CROSSGCCOPT=-m32
+endif
+endif
 ifeq ($(CPU_TARGET),powerpc64)
 ifeq ($(CPU_TARGET),powerpc64)
 ifeq ($(BINUTILSPREFIX),)
 ifeq ($(BINUTILSPREFIX),)
 GCCLIBDIR:=$(shell dirname `gcc -m64 -print-libgcc-file-name`)
 GCCLIBDIR:=$(shell dirname `gcc -m64 -print-libgcc-file-name`)

+ 7 - 0
packages/graph/Makefile

@@ -565,6 +565,13 @@ CROSSGCCOPT=-m32
 endif
 endif
 endif
 endif
 endif
 endif
+ifeq ($(CPU_TARGET),powerpc)
+ifeq ($(BINUTILSPREFIX),)
+GCCLIBDIR:=$(shell dirname `gcc -m32 -print-libgcc-file-name`)
+else
+CROSSGCCOPT=-m32
+endif
+endif
 ifeq ($(CPU_TARGET),powerpc64)
 ifeq ($(CPU_TARGET),powerpc64)
 ifeq ($(BINUTILSPREFIX),)
 ifeq ($(BINUTILSPREFIX),)
 GCCLIBDIR:=$(shell dirname `gcc -m64 -print-libgcc-file-name`)
 GCCLIBDIR:=$(shell dirname `gcc -m64 -print-libgcc-file-name`)

+ 7 - 0
packages/gtk1/Makefile

@@ -565,6 +565,13 @@ CROSSGCCOPT=-m32
 endif
 endif
 endif
 endif
 endif
 endif
+ifeq ($(CPU_TARGET),powerpc)
+ifeq ($(BINUTILSPREFIX),)
+GCCLIBDIR:=$(shell dirname `gcc -m32 -print-libgcc-file-name`)
+else
+CROSSGCCOPT=-m32
+endif
+endif
 ifeq ($(CPU_TARGET),powerpc64)
 ifeq ($(CPU_TARGET),powerpc64)
 ifeq ($(BINUTILSPREFIX),)
 ifeq ($(BINUTILSPREFIX),)
 GCCLIBDIR:=$(shell dirname `gcc -m64 -print-libgcc-file-name`)
 GCCLIBDIR:=$(shell dirname `gcc -m64 -print-libgcc-file-name`)

+ 7 - 0
packages/gtk1/examples/Makefile

@@ -1473,6 +1473,13 @@ CROSSGCCOPT=-m32
 endif
 endif
 endif
 endif
 endif
 endif
+ifeq ($(CPU_TARGET),powerpc)
+ifeq ($(BINUTILSPREFIX),)
+GCCLIBDIR:=$(shell dirname `gcc -m32 -print-libgcc-file-name`)
+else
+CROSSGCCOPT=-m32
+endif
+endif
 ifeq ($(CPU_TARGET),powerpc64)
 ifeq ($(CPU_TARGET),powerpc64)
 ifeq ($(BINUTILSPREFIX),)
 ifeq ($(BINUTILSPREFIX),)
 GCCLIBDIR:=$(shell dirname `gcc -m64 -print-libgcc-file-name`)
 GCCLIBDIR:=$(shell dirname `gcc -m64 -print-libgcc-file-name`)

+ 7 - 0
packages/gtk1/examples/tutorial/Makefile

@@ -555,6 +555,13 @@ CROSSGCCOPT=-m32
 endif
 endif
 endif
 endif
 endif
 endif
+ifeq ($(CPU_TARGET),powerpc)
+ifeq ($(BINUTILSPREFIX),)
+GCCLIBDIR:=$(shell dirname `gcc -m32 -print-libgcc-file-name`)
+else
+CROSSGCCOPT=-m32
+endif
+endif
 ifeq ($(CPU_TARGET),powerpc64)
 ifeq ($(CPU_TARGET),powerpc64)
 ifeq ($(BINUTILSPREFIX),)
 ifeq ($(BINUTILSPREFIX),)
 GCCLIBDIR:=$(shell dirname `gcc -m64 -print-libgcc-file-name`)
 GCCLIBDIR:=$(shell dirname `gcc -m64 -print-libgcc-file-name`)

Some files were not shown because too many files changed in this diff