Browse Source

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

master
parent
commit
38114f49af
  1. 10
      gcc/gcc.patch
  2. 2
      gcc/gcc.spec

10
gcc/gcc.patch

@ -76,7 +76,7 @@ Index: libcpp/internal.h
#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 @@ Index: gcc/config.gcc
*)
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

2
gcc/gcc.spec

@ -37,7 +37,7 @@ Class: CORE
Group: Compiler
License: GPL
Version: %{V_full}
Release: 20050921
Release: 20050922
# package options
%option with_cxx yes

Loading…
Cancel
Save