[Lunar-commits] r20214 - in moonbase/trunk/compilers/gcc4: . plugin.d
Auke Kok
sofar at lunar-linux.org
Thu May 25 16:48:35 UTC 2006
Author: sofar
Date: 2006-05-25 16:48:31 +0000 (Thu, 25 May 2006)
New Revision: 20214
Modified:
moonbase/trunk/compilers/gcc4/DETAILS
moonbase/trunk/compilers/gcc4/plugin.d/optimize-gcc_4_0.plugin
Log:
fwiw - update to 4.1.1.
Modified: moonbase/trunk/compilers/gcc4/DETAILS
===================================================================
--- moonbase/trunk/compilers/gcc4/DETAILS 2006-05-25 14:18:15 UTC (rev 20213)
+++ moonbase/trunk/compilers/gcc4/DETAILS 2006-05-25 16:48:31 UTC (rev 20214)
@@ -1,16 +1,16 @@
MODULE=gcc4
PKG=gcc
- VERSION=4.0.3
- MODULE_PREFIX=/opt/lunar/gcc/4.0
+ VERSION=4.1.1
+ MODULE_PREFIX=/opt/lunar/gcc/4.1
SOURCE=$PKG-$VERSION.tar.bz2
SOURCE_DIRECTORY=$BUILD_DIRECTORY/$PKG-$VERSION/
SOURCE_URL[0]=$GNU_URL/gcc/$PKG-$VERSION/
SOURCE_URL[1]=ftp://ftp.gnu.org/pub/gnu/gcc/$PKG-$VERSION/
SOURCE_URL[2]=http://www.online-mirror.org/gcc/$PKG-$VERSION/
- SOURCE_VFY=sha1:5a94943d9ab823cf8d080cc7f9e8a4a91797afea
+ SOURCE_VFY=sha1:a398b95d38b6e35f4c4e02c34c0a3bff79811f8f
WEB_SITE=http://gcc.gnu.org
ENTERED=20060228
- UPDATED=20060325
+ UPDATED=20060525
PSAFE=no
SHORT="gcc is the GNU compiler collection."
Modified: moonbase/trunk/compilers/gcc4/plugin.d/optimize-gcc_4_0.plugin
===================================================================
--- moonbase/trunk/compilers/gcc4/plugin.d/optimize-gcc_4_0.plugin 2006-05-25 14:18:15 UTC (rev 20213)
+++ moonbase/trunk/compilers/gcc4/plugin.d/optimize-gcc_4_0.plugin 2006-05-25 16:48:31 UTC (rev 20214)
@@ -1,16 +1,16 @@
#
-# gcc-4.0.x compiler optimizations plugin
+# gcc-4.1.x compiler optimizations plugin
#
-plugin_compiler_gcc_4_0_optimize()
+plugin_compiler_gcc_4_1_optimize()
{
- if [ "$LUNAR_COMPILER" != "GCC_4_0" ]; then
+ if [ "$LUNAR_COMPILER" != "GCC_4_1" ]; then
return 2
fi
- debug_msg "plugin_compiler_gcc_4_0_optimize($@)"
- if [ -f /etc/lunar/local/optimizations.GCC_4_0 ]; then
- . /etc/lunar/local/optimizations.GCC_4_0
+ debug_msg "plugin_compiler_gcc_4_1_optimize($@)"
+ if [ -f /etc/lunar/local/optimizations.GCC_4_1 ]; then
+ . /etc/lunar/local/optimizations.GCC_4_1
fi
# some local macro's
@@ -128,17 +128,17 @@
}
-plugin_compiler_gcc_4_0_menu()
+plugin_compiler_gcc_4_1_menu()
{
# The main code calls this function WITHOUT $1 to find out which
# compiler optimization plugins exist. It then returns the plugin
# identifier which can be saved in $LUNAR_COMPILER as the user's
# choice for COMPILERS
if [ -z "$1" ]; then
- echo "GCC_4_0"
- echo "GNU C Compiler suite version 4.0.x"
+ echo "GCC_4_1"
+ echo "GNU C Compiler suite version 4.1.x"
return 2
- elif [ "$1" != "GCC_4_0" ]; then
+ elif [ "$1" != "GCC_4_1" ]; then
# we don't display anything when the user selected a
# different menu
return 2
@@ -167,7 +167,7 @@
save_optimizations()
{
debug_msg "save_optimizations($@)"
- cat >/etc/lunar/local/optimizations.GCC_4_0 <<EOF
+ cat >/etc/lunar/local/optimizations.GCC_4_1 <<EOF
CPU=$CPU
BOPT=$BOPT
SPD=( $(echo ${SPD[@]} ) )
@@ -178,8 +178,8 @@
EOF
}
- if [ -f /etc/lunar/local/optimizations.GCC_4_0 ]; then
- . /etc/lunar/local/optimizations.GCC_4_0
+ if [ -f /etc/lunar/local/optimizations.GCC_4_1 ]; then
+ . /etc/lunar/local/optimizations.GCC_4_1
fi
export IFS=$'\t\n'
@@ -189,7 +189,7 @@
while true; do
unset OPTIONS
- IS_DEFAULT=$([ `get_local_config LUNAR_COMPILER` == "GCC_4_0" ] && echo DEFAULT || get_local_config LUNAR_COMPILER)
+ IS_DEFAULT=$([ `get_local_config LUNAR_COMPILER` == "GCC_4_1" ] && echo DEFAULT || get_local_config LUNAR_COMPILER)
DEFAULT=${CHOICE:-safe}
CHOICE=`$DIALOG --title "$TITLE" --ok-label "Select" --cancel-label "Close" --default-item "$DEFAULT" --item-help --menu "" 0 0 0 $(
echo "default"
@@ -238,8 +238,8 @@
case $CHOICE in
default)
if [ "$IS_DEFAULT" != "DEFAULT" ]; then
- set_local_config LUNAR_COMPILER GCC_4_0
- $DIALOG --msgbox "Gcc 4.0 is now the default compiler!" 6 60
+ set_local_config LUNAR_COMPILER GCC_4_1
+ $DIALOG --msgbox "Gcc 4.1 is now the default compiler!" 6 60
fi
;;
safe)
@@ -510,5 +510,5 @@
}
-plugin_register BUILD_BUILD plugin_compiler_gcc_4_0_optimize
-plugin_register OPTIMIZE_MENU plugin_compiler_gcc_4_0_menu
+plugin_register BUILD_BUILD plugin_compiler_gcc_4_1_optimize
+plugin_register OPTIMIZE_MENU plugin_compiler_gcc_4_1_menu
More information about the Lunar-commits
mailing list