Patch for gcc-3.1/testing-pooma.html

Billinghurst, David (CRTS) David.Billinghurst@riotinto.com
Mon Apr 29 06:53:00 GMT 2002


I have just built pooma-gcc on cygwin.  It works, but some configuration was required.

Please apply if OK.

--- testing-pooma.html.orig	Mon Apr 29 23:07:27 2002
+++ testing-pooma.html	Mon Apr 29 23:44:48 2002
@@ -60,6 +60,40 @@
     <li><code>cd pooma-gcc</code></li>
     </ul>
 </li>
+<li>No further configuration is required for the following 
+     architectures:
+    <ul>
+    <li>LINUX</li>
+    <li>SGIN32 - SGI Irix 6.x with N32 ABI</li>
+    <li>SGI64  - SGI Irix 6.x with 64-bit ABI</li>
+    <li>SUN - SUN UltraSPARC
+    </ul>
+</li>
+<li>For other architectures it is necessary to:
+    <ul>
+    <li>Add a line of code to tester.pl to recognise the platform.
+    For example, configuration for cygwin required the patch:
+<pre>
+--- tester.pl.orig      Sat Apr 27 14:43:39 2002
++++ tester.pl   Sat Apr 27 14:53:15 2002
+@@ -79,6 +79,7 @@
+ elsif ($uname =~ m/irix64/i)   { $arch = "SGIN32gcc"; }
+ ## FIX How do I know when to use "SGI64gcc"?
+ elsif ($uname =~ m/sunos/i)    { $arch = "SUNgcc"; }
++elsif ($uname =~ m/cygwin/i)    { $arch = "CYGWINgcc"; }
+ else
+ {
+     die ("The ${uname} architecture is not supported.");
+</pre>
+    </li>
+    <li>Create a suitable file 
+      <code>config/arch/<em>ARCH</em>gcc-template.conf</code>.  
+      All that was required for cygwin was<br>
+      <code>cp config/arch/LINUXgcc-template.conf  
+        config/arch/CYGWINgcc-template.conf</code>
+    </li>
+    </ul>
+</li>
 </ul>
 
 



More information about the Gcc-patches mailing list