Changeset 553e297 in rtems


Ignore:
Timestamp:
Feb 7, 2003, 5:16:41 AM (18 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
1dc7164
Parents:
f18deb2f
Message:

2003-02-07 Ralf Corsepius <corsepiu@…>

  • gcc3newlib/target-gcc.add: Remove %{_exeext} from gccbug.
  • gcc3newlib/gccnewlib.add: Add %gcj to support to disabling building gcj from rpmbuild command line. Copy gsyslimits.h for CDN-X compilation.
Location:
scripts
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • scripts/ChangeLog

    rf18deb2f r553e297  
     12003-02-07      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
     2
     3        * gcc3newlib/target-gcc.add: Remove %{_exeext} from gccbug.
     4        * gcc3newlib/gccnewlib.add: Add %gcj to support to disabling building
     5        gcj from rpmbuild command line.
     6        Copy gsyslimits.h for CDN-X compilation.
     7
    182003-01-31      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
    29
  • scripts/gcc3newlib/gccnewlib.add

    rf18deb2f r553e297  
    4444%endif
    4545
     46# Use rpm -ba --define 'gcj [0|1]' xxx.spec to override building gcj for
     47# those targets wanting to support gcj.
     48
     49%if "@gcc_version@" >= "3.2"
     50# default to building gcj
     51%define _gcj    %{?gcj:%gcj}%{!?gcj:1}
     52%else
     53# default to not building gcj
     54%define _gcj    %{?gnat:%gcj}%{!?gcj:0}
     55%endif
     56
     57
    4658%define build_cxx       1
    4759%define build_g77       0
     
    5163
    5264%if "@target_alias@" == "arm-rtems"
    53 %define build_gcj       1
     65%define build_gcj       %_gcj
    5466%endif
    5567
     
    6072%if "@target_alias@" == "i386-rtems"
    6173%define build_gnat      %_gnat
    62 %define build_gcj       1
     74%define build_gcj       %_gcj
    6375%endif
    6476
     
    6880
    6981%if "@target_alias@" == "m68k-rtems"
    70 %define build_gcj       1
     82%define build_gcj       %_gcj
    7183%endif
    7284
    7385%if "@target_alias@" == "mips-rtems"
    7486%define build_gnat      %_gnat
    75 %define build_gcj       1
     87%define build_gcj       %_gcj
    7688%endif
    7789
    7890%if "@target_alias@" == "powerpc-rtems"
    7991%define build_gnat      %_gnat
    80 %define build_gcj       1
     92%define build_gcj       %_gcj
    8193%endif
    8294
    8395%if "@target_alias@" == "sparc-rtems"
    8496%define build_gnat      %_gnat
    85 %define build_gcj       1
     97%define build_gcj       %_gcj
    8698%endif
    8799
     
    167179    --enable-threads=rtems --prefix=%{_prefix} \
    168180    --enable-languages=$languages ${libgcj_flag}
     181
     182%if "%_host" != "%_build"
     183  # Bug in gcc-3.2.1:
     184  # Somehow, gcc doesn't get syslimits.h right for Cdn-Xs
     185  test -d gcc/include || mkdir -p gcc/include
     186  cp ../gcc-@gcc_version@/gcc/gsyslimits.h gcc/include/syslimits.h
     187%endif
     188
    169189%if %build_gnat
    170190  cd ../gcc-@gcc_version@/gcc/ada
  • scripts/gcc3newlib/target-gcc.add

    rf18deb2f r553e297  
    2020%{_prefix}/bin/@target_alias@-gcc%{_exeext}
    2121%{_prefix}/bin/@target_alias@-gcov%{_exeext}
    22 %{_prefix}/bin/@target_alias@-gccbug%{_exeext}
     22%{_prefix}/bin/@target_alias@-gccbug
    2323%{_prefix}/@target_alias@/include
    2424
Note: See TracChangeset for help on using the changeset viewer.