OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Ralf S. Engelschall
Root: /v/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-src Date: 22-Sep-2005 15:36:48
Branch: HEAD Handle: 2005092214364800
Modified files:
openpkg-src/gcc gcc.patch gcc.spec
Log:
crual hack to get Solaris 10/x86 (running in 32-bit mode) working on
x86_64 platform by shamelessly disabling all extra optimizations and
cross-platform/multi-lib settings on this platform. Everyone with a
better solution is welcome
Summary:
Revision Changes Path
1.25 +9 -1 openpkg-src/gcc/gcc.patch
1.119 +1 -1 openpkg-src/gcc/gcc.spec
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/gcc/gcc.patch
============================================================================
$ cvs diff -u -r1.24 -r1.25 gcc.patch
--- openpkg-src/gcc/gcc.patch 21 Sep 2005 10:54:26 -0000 1.24
+++ openpkg-src/gcc/gcc.patch 22 Sep 2005 13:36:48 -0000 1.25
@@ -76,7 +76,7 @@
#endif
Index: gcc/config.gcc
--- gcc/config.gcc.orig 2005-05-05 22:11:50 +0200
-+++ gcc/config.gcc 2005-09-21 11:26:28 +0200
++++ gcc/config.gcc 2005-09-22 14:55:02 +0200
@@ -406,6 +406,8 @@
tm_defines="${tm_defines} FBSD_MAJOR=5" ;;
*-*-freebsd6 | *-*-freebsd[6].*)
@@ -86,6 +86,14 @@
*)
echo 'Please update *-*-freebsd* in gcc/config.gcc'
exit 1
+@@ -1092,7 +1094,6 @@
+ *-*-solaris2.1[0-9]*)
+ tm_file="${tm_file} i386/x86-64.h i386/sol2-10.h"
+ tm_defines="${tm_defines} TARGET_BI_ARCH=1"
+- tmake_file="$tmake_file i386/t-sol2-10"
+ need_64bit_hwint=yes
+ # Solaris 2.10 provides crt1.o, crti.o, crtn.o, and gcrt1.o as
+ # part of the base system.
Index: gcc/config/freebsd-spec.h
--- gcc/config/freebsd-spec.h.orig 2005-05-01 20:59:27 +0200
+++ gcc/config/freebsd-spec.h 2005-09-21 11:56:50 +0200
@@ .
patch -p0 <<'@@ .'
Index: openpkg-src/gcc/gcc.spec
============================================================================
$ cvs diff -u -r1.118 -r1.119 gcc.spec
--- openpkg-src/gcc/gcc.spec 21 Sep 2005 15:53:21 -0000 1.118
+++ openpkg-src/gcc/gcc.spec 22 Sep 2005 13:36:48 -0000 1.119
@@ -37,7 +37,7 @@
Group: Compiler
License: GPL
Version: %{V_full}
-Release: 20050921
+Release: 20050922
# package options
%option with_cxx yes
@@ .
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [email protected]