📄 readme-mips
字号:
See also http://www.spinics.net/lists/mips/msg12236.htmlftp://ftp.linux-mips.org/pub/linux/mips/redhat/7.3/test/SRPMS/gcc-3.2-7.1.src.rpmcontains the following patches and spec file.You may wish to investigate some of these patches; I haven't.I think this is mostly the Red Hat 8.0 srpm for a prerelease gcc-3.2, plus a couplemips specific fixes, but you'd have to ask H.J.Lu or compare with the regularRed Hat 8.0 srpm to find out.In any case, the spec file is interesting reading.- Dan K. total 1164 4 boehm-gc-LINUX.patch 4 boehm-gc-mips.patch 4 contrib-touch.patch 8 gcc-arch.patch 4 gcc-c++-template.patch 4 gcc-copy.patch 4 gcc-cross-bfd.patch 4 gcc-cross.patch 4 gcc-gcj-cross.patch 4 gcc-libffi-mips.patch 4 gcc-libgcc.patch 480 gcc-libstdc++-glibc-2.2.patch 4 gcc-libstdc++-mips.patch 4 gcc-linux-atexit.patch 8 gcc-linux-crt.patch 4 gcc-mips-coff.patch 4 gcc-mips-file.patch 4 gcc-mips-ieee.patch 4 gcc-mips-return.patch 4 gcc-ppc-linux.patch 8 gcc-sizeof.patch 4 gcc-test-atexit.patch 4 gcc-testsuite-c++.patch 4 gcc-var.patch 8 gcc32-2.96-RH-compat.patch 4 gcc32-ada-addr2line.patch 8 gcc32-ada-link.patch 12 gcc32-attr-visibility.patch 4 gcc32-attr-visibility2.patch 4 gcc32-attr-visibility3.patch 4 gcc32-attr-visibility4.patch 4 gcc32-attr-visibility5.patch 8 gcc32-boehm-gc-libs.patch 4 gcc32-bogus-inline.patch 4 gcc32-c++-nrv-test.patch 4 gcc32-c++-pretty_function.patch 16 gcc32-c++-tail-pad-backout.patch 4 gcc32-c++-tsubst-asm.patch 4 gcc32-cfg-eh.patch 4 gcc32-debug-pr7241.patch 4 gcc32-doc-gcov.patch 4 gcc32-duplicate-decl.patch 4 gcc32-dwarf2-pr6381.patch 4 gcc32-dwarf2-pr6436-test.patch 4 gcc32-fde-merge-compat.patch 4 gcc32-fold-const-associate.patch 4 gcc32-fold-const2.patch 24 gcc32-hard-reg-sharing.patch 4 gcc32-hard-reg-sharing2.patch 4 gcc32-i386-default-momit-leaf-frame-pointer.patch 4 gcc32-i386-memtest-test.patch 4 gcc32-i386-no-default-momit-leaf-frame-pointer.patch 4 gcc32-i386-pic-label-thunk.patch 4 gcc32-i386-pr7242.patch 4 gcc32-i386-profile-olfp.patch 4 gcc32-inline-label.patch 4 gcc32-interface_only.patch 4 gcc32-java-no-rpath.patch 20 gcc32-libstdc++-glibc23-1.patch 4 gcc32-libstdc++-glibc23-2.patch 4 gcc32-libstdc++-glibc23-3.patch 4 gcc32-libstdc++-glibc23-4.patch 4 gcc32-loop-prefetch.patch 4 gcc32-pr6842.patch 8 gcc32-rh69989.patch 40 gcc32-s390-java.patch 4 gcc32-sparc-sll1.patch 4 gcc32-test-rh65771.patch 8 gcc32-test-rotate.patch 12 gcc32-tls-dwarf2.patch 140 gcc32-tls.patch 4 gcc32-tls2.patch 4 gcc32-tls3.patch 4 gcc32-tls4.patch 4 gcc32-tls5.patch 24 gcc32-tree-code.patch 4 gcc32-trunc_int_for_mode.patch 4 gcc32-typeof-asm.patch 4 gcc32-x86_64-libiberty-pic.patch 4 gcc32-x86_64-pr7559.patch 4 gcc32-x86_64-q_regs_operand.patch 4 gcc32-x86_64-rip-lowercase.patch 4 libjava-cross.patch 4 libtool-libs.patch 4 libtool-mips.patch---------- gcc32.spec ---------%if %{_arch} != %{_build_arch}%define cross_compile 1%else%define cross_compile 0%endif%{?_with_crosscompile: %{expand: %%define cross_compile 1}}%if %{cross_compile}%define make_check 0%else%define make_check 1%endif%{?_without_check: %{expand: %%define make_check 0}}%{?_with_check: %{expand: %%define make_check 1}}%define default 0%{?_with_default: %{expand: %%define default 1}}%define gcconly 0%{?_with_gcconly: %{expand: %%define gcconly 1}}%define DATE 20020903%define gcc_version 3.2%define gcc_release 7.1%ifarch %{ix86} alpha ia64 ppc%define build_ada 1%else%define build_ada 0%endif%{?_without_ada: %{expand: %%define build_ada 0}}%if %{cross_compile}%define build_ada 0%endifSummary: Various compilers (C, C++, Objective-C, Java, ...)%if !%{gcconly}Name: gccVersion: 3.2Release: %{gcc_release}%elseName: gcc-%{gcc_version}Version: %{gcc_release}Release: 1%endifCopyright: GPLGroup: Development/LanguagesSource0: gcc-%{version}-%{DATE}.tar.bz2URL: http://gcc.gnu.orgBuildRoot: %{_tmppath}/%{name}-%{version}-rootBuildRequires: binutils >= 2.12.90.0.9-1BuildRequires: zlib-devel, gettext, dejagnu# Make sure pthread.h doesn't contain __thread tokensBuildRequires: glibc-devel >= 2.2.5-36.2%if %{build_ada}# Ada requires Ada to buildBuildRequires: gcc-gnat >= 3.1, libgnat >= 3.1%endifRequires: cpp = %{version}-%{release}# Need .eh_frame ld optimizations# Need proper visibility supportRequires: binutils >= 2.12.90.0.7-1# Make sure gdb will understand DW_FORM_strpConflicts: gdb < 5.1-2Requires: glibc-devel >= 2.2.5-36.2Requires: libgcc >= %{version}-%{release}%if !%{gcconly}Obsoletes: gcc3%endifPrereq: /sbin/install-infoPatch1: gcc32-2.96-RH-compat.patchPatch2: gcc32-boehm-gc-libs.patchPatch3: gcc32-bogus-inline.patchPatch6: gcc32-fde-merge-compat.patchPatch7: gcc32-attr-visibility.patchPatch8: gcc32-attr-visibility2.patchPatch9: gcc32-duplicate-decl.patchPatch10: gcc32-trunc_int_for_mode.patchPatch11: gcc32-sparc-sll1.patchPatch12: gcc32-x86_64-q_regs_operand.patchPatch13: gcc32-dwarf2-pr6381.patchPatch14: gcc32-dwarf2-pr6436-test.patchPatch15: gcc32-c++-pretty_function.patchPatch16: gcc32-c++-tsubst-asm.patchPatch18: gcc32-i386-memtest-test.patchPatch19: gcc32-fold-const2.patchPatch21: gcc32-ada-addr2line.patchPatch22: gcc32-ada-link.patchPatch23: gcc32-java-no-rpath.patchPatch25: gcc32-s390-java.patchPatch26: gcc32-test-rotate.patchPatch27: gcc32-x86_64-libiberty-pic.patchPatch29: gcc32-test-rh65771.patchPatch30: gcc32-i386-default-momit-leaf-frame-pointer.patchPatch31: gcc32-i386-pic-label-thunk.patchPatch34: gcc32-pr6842.patchPatch35: gcc32-tls.patchPatch36: gcc32-i386-profile-olfp.patchPatch37: gcc32-tree-code.patchPatch38: gcc32-hard-reg-sharing.patchPatch39: gcc32-hard-reg-sharing2.patchPatch40: gcc32-c++-nrv-test.patchPatch41: gcc32-debug-pr7241.patchPatch42: gcc32-i386-pr7242.patchPatch43: gcc32-cfg-eh.patchPatch44: gcc32-attr-visibility3.patchPatch45: gcc32-tls2.patchPatch46: gcc32-fold-const-associate.patchPatch47: gcc32-inline-label.patchPatch48: gcc32-typeof-asm.patchPatch50: gcc32-rh69989.patchPatch51: gcc32-tls3.patchPatch52: gcc32-tls4.patchPatch54: gcc32-tls5.patchPatch55: gcc32-tls-dwarf2.patchPatch56: gcc32-x86_64-pr7559.patchPatch57: gcc32-loop-prefetch.patchPatch58: gcc32-doc-gcov.patchPatch59: gcc32-attr-visibility4.patchPatch60: gcc32-c++-tail-pad-backout.patchPatch61: gcc32-attr-visibility5.patchPatch62: gcc32-i386-no-default-momit-leaf-frame-pointer.patchPatch64: gcc32-x86_64-rip-lowercase.patchPatch65: gcc32-libstdc++-glibc23-1.patchPatch66: gcc32-libstdc++-glibc23-2.patchPatch67: gcc32-libstdc++-glibc23-3.patchPatch68: gcc32-libstdc++-glibc23-4.patchPatch69: gcc32-interface_only.patch%define _gnu %{nil}Patch10000: boehm-gc-mips.patchPatch10001: boehm-gc-LINUX.patchPatch10002: gcc-libffi-mips.patchPatch11000: gcc-mips-coff.patchPatch11001: gcc-mips-file.patchPatch11002: gcc-mips-ieee.patchPatch11003: gcc-mips-return.patchPatch11004: gcc-libstdc++-mips.patchPatch11005: libtool-mips.patchPatch12000: gcc-libgcc.patchPatch13000: gcc-ppc-linux.patchPatch13001: gcc-linux-crt.patchPatch14000: gcc-linux-atexit.patchPatch14001: gcc-test-atexit.patchPatch15000: gcc-var.patchPatch15001: gcc-copy.patchPatch16000: gcc-c++-template.patchPatch16001: gcc-testsuite-c++.patchPatch17000: gcc-cross.patchPatch17001: gcc-cross-bfd.patchPatch17002: gcc-sizeof.patchPatch17003: gcc-arch.patchPatch18000: libjava-cross.patchPatch18001: gcc-gcj-cross.patchPatch19000: contrib-touch.patchPatch20000: libtool-libs.patchPatch21000: gcc-libstdc++-glibc-2.2.patch%descriptionThe gcc package contains the GNU Compiler Collection version 3.2.You'll need this package in order to compile C code.%package -n libgccSummary: GCC version 3.2 shared support libraryGroup: System Environment/Libraries%description -n libgccThis package contains GCC shared support library which is needede.g. for exception handling support.%package c++Summary: C++ support for GCCGroup: Development/LanguagesRequires: gcc = %{version}-%{release}Requires: libstdc++ = %{version}Requires: libstdc++-devel = %{version}Obsoletes: gcc3-c++%description c++This package adds C++ support to the GNU Compiler Collection.It includes support for most of the current C++ specification,including templates and exception handling.%package -n libstdc++Summary: GNU Standard C++ LibraryGroup: System Environment/LibrariesObsoletes: libstdc++3%description -n libstdc++The libstdc++ package contains a rewritten standard compliant GCC StandardC++ Library.%package -n libstdc++-develSummary: Header files and libraries for C++ developmentGroup: Development/LibrariesRequires: libstdc++ = %{version}-%{release}Obsoletes: libstdc++3-devel%description -n libstdc++-develThis is the GNU implementation of the standard C++ libraries. Thispackage includes the header files and libraries needed for C++development. This includes rewritten implementation of STL.%package objcSummary: Objective-C support for GCCGroup: Development/LanguagesRequires: gcc = %{version}-%{release}Requires: libobjc = %{version}-%{release}Obsoletes: gcc3-objc%description objcgcc-objc provides Objective-C support for the GCC.Mainly used on systems running NeXTSTEP, Objective-C is anobject-oriented derivative of the C language.%package -n libobjcSummary: Objective-C runtimeGroup: System Environment/Libraries%description -n libobjcThis package contains Objective-C shared library which is needed to runObjective-C dynamically linked programs.%package g77Summary: Fortran 77 supportGroup: Development/LanguagesRequires: gcc = %{version}-%{release}Requires: libf2c = %{version}-%{release}Prereq: /sbin/install-infoObsoletes: gcc3-g77%description g77The gcc-g77 package provides support for compiling Fortran 77programs with the GNU Compiler Collection.%package -n libf2cSummary: Fortran 77 runtimeGroup: System Environment/Libraries%description -n libf2cThis package contains Fortran 77 shared library which is needed to runFortran 77 dynamically linked programs.%package javaSummary: Java support for GCCGroup: Development/LanguagesRequires: gcc = %{version}-%{release}Requires: libgcj >= %{version}, libgcj-devel >= %{version}Obsoletes: gcc3-javaPrereq: /sbin/install-info%description javaThis package adds support for compiling Java(tm) programs andbytecode into native code.%package -n libgcjSummary: Java runtime library for gccGroup: System Environment/LibrariesRequires: zip >= 2.1Obsoletes: gcc-libgcjObsoletes: libgcj3# Kaffe includes jar tooConflicts: kaffe%description -n libgcjThe Java(tm) runtime library. You will need this package to run your Javaprograms compiled using the Java compiler from GNU Compiler Collection (gcj).%package -n libgcj-develSummary: Libraries for Java development using GCCGroup: Development/LanguagesRequires: zip >= 2.1, libgcj = %{version}Obsoletes: libgcj3-devel%description -n libgcj-develThe Java(tm) static libraries and C header files. You will need thispackage to compile your Java programs using the GCC Java compiler (gcj).%package -n cppSummary: The C Preprocessor.Group: Development/LanguagesPrereq: /sbin/install-info%ifarch ia64Obsoletes: gnupro%endif%description -n cppCpp is the GNU C-Compatible Compiler Preprocessor.Cpp is a macro processor which is used automaticallyby the C compiler to transform your program before actualcompilation. It is called a macro processor because it allowsyou to define macros, abbreviations for longerconstructs.The C preprocessor provides four separate functionalities: theinclusion of header files (files of declarations that can besubstituted into your program); macro expansion (you can define macros,and the C preprocessor will replace the macros with their definitionsthroughout the program); conditional compilation (using specialpreprocessing directives, you can include or exclude parts of theprogram according to various conditions); and line control (if you usea program to combine or rearrange source files into an intermediate
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -