gcc 2.95.3

Greg Schafer gschafer at zip.com.au
Sun Oct 20 13:42:07 PDT 2002


On Sun, Oct 20, 2002 at 05:28:08PM +0200, Micha Mutschler wrote:
> Hi
> 
> how do I make gcc-2.95.3 (LFS 3.3) on a i686 machine for a i586 machine?

You could also "undo" this part of the gcc patch:-


diff -uNr gcc-2.95.3.orig/gcc/config/i386/i386.c gcc-2.95.3/gcc/config/i386/i386.c
--- gcc-2.95.3.orig/gcc/config/i386/i386.c      Tue Sep  7 17:38:56 1999
+++ gcc-2.95.3/gcc/config/i386/i386.c   Fri Aug 17 13:13:09 2001
@@ -291,7 +291,7 @@
 
   if (ix86_arch_string == 0) 
     {
-      ix86_arch_string = PROCESSOR_PENTIUM_STRING;
+      ix86_arch_string = PROCESSOR_DEFAULT_STRING;
       if (ix86_cpu_string == 0)
        ix86_cpu_string = PROCESSOR_DEFAULT_STRING;
     }
@@ -308,7 +308,7 @@ 
   if (i == ptt_size)
     {
       error ("bad value (%s) for -march= switch", ix86_arch_string);
-      ix86_arch_string = PROCESSOR_PENTIUM_STRING;
+      ix86_arch_string = PROCESSOR_DEFAULT_STRING; 
       ix86_arch = PROCESSOR_DEFAULT;
     }


Greg
-- 
Unsubscribe: send email to listar at linuxfromscratch.org
and put 'unsubscribe lfs-support' in the subject header of the message



More information about the lfs-support mailing list