Ignore:
Timestamp:
Sep 14, 2002, 8:10:21 PM (18 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
6312db3
Parents:
c98110a
Message:

2002-09-14 Joel Sherrill <joel@…>

  • gcc3newlib/base-gcj.add, gcc3newlib/gccnewlib.add, gcc3newlib/target-gcj.add: First attempt at enabling Java support.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • scripts/gcc3newlib/gccnewlib.add

    rc98110a r99e797a5  
    6262%define build_gnat      0
    6363
    64 %if "@target_alias@"     == "c4x-rtems"
     64%if "@target_alias@" == "arm-rtems"
     65%define build_gcj       1
     66%endif
     67
     68%if "@target_alias@" == "c4x-rtems"
    6569%define build_cxx       0
    6670%endif
     
    6872%if "@target_alias@" == "i386-rtems"
    6973%define build_gnat      %_gnat
     74%define build_gcj       1
    7075%endif
    7176
     
    7479%endif
    7580
     81%if "@target_alias@" == "m68k-rtems"
     82%define build_gcj       1
     83%endif
     84
     85%if "@target_alias@" == "mips-rtems"
     86%define build_gnat      %_gnat
     87%define build_gcj       1
     88%endif
     89
    7690%if "@target_alias@" == "powerpc-rtems"
    7791%define build_gnat      %_gnat
     92%define build_gcj       1
    7893%endif
    7994
    8095%if "@target_alias@" == "sparc-rtems"
    8196%define build_gnat      %_gnat
     97%define build_gcj       1
    8298%endif
    8399
     
    120136#    CONFIGURE_ARGS="--build=%{_build} --host=%{_target}"
    121137# %endif
     138#  ALERT: GCJ would be better if we could add this flag and build
     139#  it's libraries but this code isn't ready to be embedded.
     140#  libgcj_flag="--enable-libgcj"
    122141
    123142  languages="c"
     
    129148%endif
    130149%if %build_gcj
    131   languages="$languages,gcj"
     150  languages="$languages,java"
    132151%endif
    133152%if %build_objc
     
    142161    --enable-version-specific-runtime-libs \
    143162    --enable-threads=rtems --prefix=%{_prefix} \
    144     --enable-languages=$languages
     163    --enable-languages=$languages ${libgcj_flag}
    145164%if %build_gnat
    146165  cd ../gcc-@gcc_version@/gcc/ada
Note: See TracChangeset for help on using the changeset viewer.