Changeset 61f41e2 in rtems for scripts/gcc3newlib/gccnewlib.add


Ignore:
Timestamp:
11/17/03 12:52:01 (19 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
3da33bf8
Parents:
0a2ee12
Message:

2003-11-17 Ralf Corsepius <corsepiu@…>

  • gcc3newlib/gccnewlib.add: Add hacks to make gnatlib buildable.
  • gcc3newlib/base-gnat.add: Add info files.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • scripts/gcc3newlib/gccnewlib.add

    r0a2ee12 r61f41e2  
    218218#  make -C gcc gnatlib
    219219
     220%if "%{gcc_version}" >= "3.3"
     221# gcc >= 3.3
     222  rm -rf gnatlib
     223  mkdir gnatlib
     224  pushd gnatlib
     225  ACC="../gcc/xgcc -B../gcc/ -B../%{gcc_target}/newlib/"
     226  ACC="$ACC -isystem ../%{gcc_target}/newlib/targ-include"
     227  ACC="$ACC -isystem ../../newlib-%{newlib_version}/newlib/libc/include"
     228  CC="$ACC" ../../gcc-%{gcc_version}/gcc/configure --disable-nls \
     229     --host=%{gcc_target} --target=%{gcc_target} --enable-languages=ada
     230  popd
     231  make -C gcc/ada ../stamp-gnatlib1 LN_S="ln -s"
     232  rm -f gcc/ada/rts/auto-target.h gcc/ada/rts/config.h
     233  cp gnatlib/auto-host.h gcc/ada/rts/auto-target.h
     234  sed -e 's,auto-host,auto-target,' < gcc/config.h > gcc/ada/rts/config.h
     235%endif
    220236# This is what gcc/ada/Makefile.in contains by default,
    221237# but what we override below
     
    224240  GNATLIBCFLAGS="$GNATLIBCFLAGS -isystem `pwd`/%{gcc_target}/newlib/targ-include"
    225241  GNATLIBCFLAGS="$GNATLIBCFLAGS -isystem `pwd`/../newlib-%{newlib_version}/newlib/libc/include"
     242  GNATLIBCFLAGS="$GNATLIBCFLAGS -isystem `pwd`/../gcc-%{gcc_version}/include"
    226243# Without this xgcc doesn't find the target's binutils.
    227244  GNATLIBCFLAGS="$GNATLIBCFLAGS -B%{_prefix}/%{gcc_target}/bin/"
Note: See TracChangeset for help on using the changeset viewer.