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

Auke Kok sofar at lunar-linux.org
Wed Mar 1 08:09:29 UTC 2006


Author: sofar
Date: 2006-03-01 08:09:26 +0000 (Wed, 01 Mar 2006)
New Revision: 18959

Modified:
   moonbase/trunk/compilers/gcc/plugin.d/optimize-gcc_3_4.plugin
Log:
PLATFORM must not be changeable to the user. You cannot crosscompile with lunar so this is a read-only value. Providing it in a menu to change is silly ;^)


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-01 07:13:50 UTC (rev 18958)
+++ moonbase/trunk/compilers/gcc/plugin.d/optimize-gcc_3_4.plugin	2006-03-01 08:09:26 UTC (rev 18959)
@@ -205,7 +205,6 @@
 	{
 		debug_msg "save_optimizations($@)"
 		cat >/etc/lunar/local/optimizations.GCC_3_4  <<EOF
-PLATFORM=$PLATFORM
 BUILD=$BUILD
 CPU=$CPU
 BOPT=$BOPT
@@ -243,9 +242,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"
@@ -296,17 +292,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