[Lunar-commits] r19212 - moonbase/trunk/compilers/gcc/plugin.d

Auke Kok sofar at lunar-linux.org
Sun Mar 12 05:27:01 UTC 2006


Author: sofar
Date: 2006-03-12 05:26:58 +0000 (Sun, 12 Mar 2006)
New Revision: 19212

Modified:
   moonbase/trunk/compilers/gcc/plugin.d/optimize-gcc_3_4.plugin
Log:
Eeek... I thought I had removed $PLATFORM choosabilty already - it should no longer be in here anymore. PLATFORM is based on `arch` as it should be now.


Modified: moonbase/trunk/compilers/gcc/plugin.d/optimize-gcc_3_4.plugin
===================================================================
--- moonbase/trunk/compilers/gcc/plugin.d/optimize-gcc_3_4.plugin	2006-03-12 05:24:53 UTC (rev 19211)
+++ moonbase/trunk/compilers/gcc/plugin.d/optimize-gcc_3_4.plugin	2006-03-12 05:26:58 UTC (rev 19212)
@@ -170,7 +170,6 @@
 	{
 		debug_msg "save_optimizations($@)"
 		cat >/etc/lunar/local/optimizations.GCC_3_4  <<EOF
-PLATFORM=$PLATFORM
 CPU=$CPU
 BOPT=$BOPT
 SPD=( $(echo ${SPD[@]} ) )
@@ -207,9 +206,6 @@
 			  echo "Turn off optimization safety  [$SAFE_OPTIMIZATIONS]"
 			  echo "Allow potentially unsafe optimizations (DANGEROUS!)"
 			fi
-			echo "platform"
-			echo "Platform choice               [$PLATFORM]"
-			echo "Select the specific architecture like x87, ppc"
 			echo "bopt"
 			echo "Base speed optimization       [$BOPT]"
 			echo "Select the base optimization from -Os, -O0, -O1 etc"
@@ -260,17 +256,6 @@
 					fi
 				fi
 			;;
-			platform)
-				OPTIONS=(
-					"x86" "Intel, AMD, and clones" $( [ "$PLATFORM" == "x86" ] && echo "on" || echo "off" ) "Intel and AMD hardware"
-					"x86_64" "AMD64/EM64T" $( [ "$PLATFORM" == "x86_64" ] && echo "on" || echo "off" ) "Both AMD64 and Intel EM64T machines"
-					"Alpha" "Compaq Alpha" $( [ "$PLATFORM" == "Alpha" ] && echo "on" || echo "off" ) "Compaq Alpha hardware"
-					"PowerPC" "PowerPC" $( [ "$PLATFORM" == "PowerPC" ] && echo "on" || echo "off" ) "IBM and Apple hardware (Power and PowerPC)"
-					"SPARC" "Sun SPARC" $( [ "$PLATFORM" == "SPARC" ] && echo "on" || echo "off" ) "SUN Hardware"
-					)
-				menu radiolist "The so-called platform is the name of the hardware architecture. Most people will use x86" &&
-				PLATFORM=$RESULT
-			;;
 			bopt)
 				OPTIONS=(
 					"None" "-O0" $( [ "$BOPT" == "None" ] && echo "on" || echo "off" ) "Only default optimizations"



More information about the Lunar-commits mailing list