Changeset 71506054 in rtems


Ignore:
Timestamp:
Jan 27, 2000, 11:48:28 PM (20 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
f82fee9
Parents:
1b2b923
Message:

GNAT/RTEMS RPMs have built for the binutils/gnat/gcc combination
and appear to be close for gdb.

Location:
scripts-ada
Files:
9 edited

Legend:

Unmodified
Added
Removed
  • scripts-ada/binutils/binutils.spec.in

    r1b2b923 r71506054  
    9999  if test -f $RPM_BUILD_ROOT/opt/gnatrtems/info/configure.info.gz;
    100100  then
    101 # These are only present in binutils >= 2.9.5
     101# These common files are only present in binutils >= 2.9.5
    102102    find $RPM_BUILD_ROOT/opt/gnatrtems/info -name 'configure.*' | \
    103103      sed -e "s,^$RPM_BUILD_ROOT,,g" > ../files
     
    105105    touch ../files
    106106  fi
     107# These target specific files are only present in binutils >= 2.9.5
     108  if test -f /opt/gnatrtems/bin/@target_alias@-readelf@exe_ext@;
     109  then
     110    echo /opt/gnatrtems/bin/@target_alias@-readelf@exe_ext@ > ../files.target
     111  else
     112    touch ../files.target
     113  fi
     114
     115
    107116
    108117%post
     
    156165%dir /opt/gnatrtems/share/locale
    157166
    158 %files -n @target_alias@-gnat-binutils
     167%files -n @target_alias@-gnat-binutils -f files.target
    159168%doc /opt/gnatrtems/man/man1/@target_alias@-*.1
    160169
     
    170179/opt/gnatrtems/bin/@target_alias@-objdump@exe_ext@
    171180/opt/gnatrtems/bin/@target_alias@-ranlib@exe_ext@
    172 /opt/gnatrtems/bin/@target_alias@-readelf@exe_ext@
     181# readelf is not in older binutils so get it from file list
     182# /opt/gnatrtems/bin/@target_alias@-readelf@exe_ext@
    173183/opt/gnatrtems/bin/@target_alias@-size@exe_ext@
    174184/opt/gnatrtems/bin/@target_alias@-strings@exe_ext@
  • scripts-ada/buildall.in

    r1b2b923 r71506054  
    6363
    6464testing=no
    65 do_binutils=yes
     65do_binutils=no    # binutils included in gnatnewlib
    6666do_gnatnewlib=yes
    6767do_gdb=yes
     
    136136    #    NOTE: This requires having binutils installed and we immediately
    137137    #          remove it once finished.
    138     base_binutils_rpm=${dst}/../RPMS/i386/rtems-base-binutils-${binutils}-${binutils_rpm_release}.i386.rpm
    139     binutils_rpm=${dst}/../RPMS/i386/${target}-binutils-${binutils}-${binutils_rpm_release}.i386.rpm
    140     if [ ! -f ${binutils_rpm} ] ; then
    141       echo There is no RPM for binutils for ${target}.
    142       echo Looked for ${binutils_rpm}.
    143     fi
    144     ${ECHO} rpm -i ${base_binutils_rpm}
    145     ${ECHO} rpm -i ${binutils_rpm}
     138    # base_binutils_rpm=${dst}/../RPMS/i386/rtems-base-binutils-${binutils}-${binutils_rpm_release}.i386.rpm
     139    # binutils_rpm=${dst}/../RPMS/i386/${target}-binutils-${binutils}-${binutils_rpm_release}.i386.rpm
     140    # if [ ! -f ${binutils_rpm} ] ; then
     141    #   echo There is no RPM for binutils for ${target}.
     142    #   echo Looked for ${binutils_rpm}.
     143    # fi
     144    # ${ECHO} rpm -i ${base_binutils_rpm}
     145    # ${ECHO} rpm -i ${binutils_rpm}
    146146
    147147    logfile=log/${target}-gnatnewlib
     
    154154    ${ECHO} rm -rf ${buildroot}/opt/gnatrtems
    155155
    156     echo uninstalling binutils for ${target}
    157     if [ ${testing} = no ] ; then
    158       rpm -e `rpm -qa | grep rtems`
    159       rm -rf /opt/gnatrtems/*
    160     fi
     156    # echo uninstalling binutils for ${target}
     157    # if [ ${testing} = no ] ; then
     158    #   rpm -e `rpm -qa | grep rtems`
     159    #   rm -rf /opt/gnatrtems/*
     160    # fi
    161161  else
    162162    echo Skipping gcc/newlib for ${target}
  • scripts-ada/configure.in

    r1b2b923 r71506054  
    2929AC_SUBST(RPM_SPECSdir)
    3030
    31 GCCNEWLIBVERS="gcc-${gcc_version}-newlib-${newlib_version}"
    32 AC_SUBST(GCCNEWLIBVERS)
    33 BINUTILSVERS="binutils-${binutils_version}"
     31GNATNEWLIBVERS="gnat-${gnat_version}-newlib-${newlib_version}"
     32AC_SUBST(GNATNEWLIBVERS)
     33BINUTILSVERS="gnat-binutils-${binutils_version}"
    3434AC_SUBST(BINUTILSVERS)
    35 GDBVERS="gdb-${gdb_version}"
     35GDBVERS="gnat-gdb-${gdb_version}"
    3636AC_SUBST(GDBVERS)
    3737BSPVERS="${rtems_version}"
  • scripts-ada/gdb/gdb.spec.in

    r1b2b923 r71506054  
    2323Summary:      gdb for target @target_alias@
    2424Source0:      ftp://ftp.gnu.org/pub/gnu/gdb-@gdb_version@.tar.gz
     25Source1:        ftp://cs.nyu.edu/pub/gnat/gnat-@gnat_version@-src.tar.gz
    2526Patch0:       gdb-@gdb_version@-rtems-@gdb_patch_version@.diff
     27Buildroot:      /tmp
     28
    2629#
    2730# The original sources are not included in the source RPM.
     
    3639#
    3740NoSource:      0
    38 
    3941
    4042%description
     
    7375echo RPM_BUILD_ROOT=${RPM_BUILD_ROOT}
    7476# untar the sources inside @target_alias@-gnat-gdb
    75 %setup -c -n @target_alias@-gnat-gdb -a 0
     77%setup -c -n @target_alias@-gnat-gdb -a 0 -a 1
    7678
    77 %patch0 -p0
     79  cd gdb-@gdb_version@
     80  patch -p0 <../gnat-@gnat_version@-src/src/gdb-@gdb_version@.gnat.diff
     81
     82%patch0 -p1
    7883
    7984%build
     
    8388    --verbose --prefix=/opt/gnatrtems @extra_configure_arguments@
    8489
    85   make all
     90  make CC=gcc CFLAGS="-O2 -g -DRTEMS_TARGET" all
    8691  make info
    8792
     
    9297
    9398  # gzip info files
    94   gzip -f $RPM_BUILD_ROOT/opt/gnatrtems/info/*.info 2>/dev/null
    95   gzip -f $RPM_BUILD_ROOT/opt/gnatrtems/info/*.info-? 2>/dev/null
    96   gzip -f $RPM_BUILD_ROOT/opt/gnatrtems/info/*.info-?? 2>/dev/null
     99  find $RPM_BUILD_ROOT/opt/gnatrtems/info -name "*.info*" | \
     100    grep -v "\.gz$" | xargs -e gzip -f 2>/dev/null
     101  # gzip -f $RPM_BUILD_ROOT/opt/gnatrtems/info/*.info 2>/dev/null
     102  # gzip -f $RPM_BUILD_ROOT/opt/gnatrtems/info/*.info-? 2>/dev/null
     103  # gzip -f $RPM_BUILD_ROOT/opt/gnatrtems/info/*.info-?? 2>/dev/null
    97104
    98105%post
     
    138145
    139146%files -n @target_alias@-gnat-gdb
    140 %doc /opt/gnatrtems/man/man1/@target_alias@-gnat-gdb.1
     147%doc /opt/gnatrtems/man/man1/@target_alias@-gdb.1
    141148
    142149%dir /opt/gnatrtems/bin
  • scripts-ada/gnatnewlib/gnatnewlib.spec.in

    r1b2b923 r71506054  
    1111Name:         @target_alias@-gnat-newlib
    1212Summary:      gnat, gcc, and newlib C Library for @target_alias@.
    13 Group:        rtems
     13Group:        gnatrtems
    1414Release:      @Release@
    1515Copyright:    1999 OARCorp
    1616
    1717Provides:       rtems-base-gnat @target_alias@-gnat
    18 Requires:       @target_alias@-binutils
     18Provides:       rtems-base-gnat-binutils @target_alias@-gnat-binutils
     19# Requires:             @target_alias@-binutils
    1920
    2021Autoreqprov:    on
    2122Packager:       corsepiu@faw.uni-ulm.de and joel@OARcorp.com
    2223
    23 Version:        gnat@gnat_version@newlib@newlib_version@
     24Version:        gnat@gnat_version@
    2425Source0:        ftp://ftp.gnu.org/pub/gnu/gcc/gcc-@gcc_version@.tar.gz
    2526Source1:        ftp://sourceware.cygnus/com/pub/newlib/newlib-@newlib_version@.tar.gz
    26 Source2:        ftp://cs.nyu.edu/pub/gnat/gnat-@gnat_version@.tar.gz
    27 Patch0:         gcc-@gcc_version@-gnatrtems-@gcc_patch_version@.diff
     27Source2:        ftp://cs.nyu.edu/pub/gnat/gnat-@gnat_version@-src.tar.gz
     28Source3:        ftp://ftp.gnu.org/pub/gnu/binutils/binutils-@binutils_version@.tar.gz
     29Patch0:         gcc-@gcc_version@-rtems-@gcc_patch_version@.diff
    2830Patch1:         newlib-@newlib_version@-rtems-@newlib_patch_version@.diff
     31Patch2:         gnat-@gnat_version@-src-rtems-@gnat_patch_version@.diff
     32Patch3:         binutils-@binutils_version@-rtems-@binutils_patch_version@.diff
     33#
    2934Buildroot:      /tmp
    3035
     
    4045# Or you can try the ftp options of rpm :-)
    4146#
    42 NoSource:      0, 1, 2
     47NoSource:      0, 1, 2, 3
    4348
    4449%description
     
    5762 Or you can try the ftp options of rpm :-)
    5863
     64This version of GNAT/RTEMS RPMs is based on the following:
     65
     66  + gnat-@gnat_version@-src
     67  + gcc-@gcc_version@
     68  + newlib-@newlib_version@
     69  + binutils-@binutils_version@
     70
     71with appropriate patches.
     72
    5973%package -n rtems-base-gnat
    6074Summary:      base package for rtems gnat, gcc, and newlib C Library
     
    6781This is the files for gnat, gcc, and newlib that are shared by all targets.
    6882
     83%package -n rtems-base-gnat-binutils
     84Summary:      base package for rtems binutils
     85Group: rtems
     86
     87%description -n rtems-base-gnat-binutils
     88
     89RTEMS is an open source operating system for embedded systems.
     90
     91This is the base for binutils regardless of target CPU.
     92
     93%package -n @target_alias@-gnat-binutils
     94Summary:      rtems binutils for @target_alias@
     95Group: rtems
     96Requires: rtems-base-gnat-binutils
     97
     98%description -n @target_alias@-gnat-binutils
     99
     100RTEMS is an open source operating system for embedded systems.
     101
     102This is the GNU binutils for RTEMS targetting @target_alias@.
     103
    69104%package -n @target_alias@-gnat
    70105Summary:      rtems gnat, gcc, and newlib C Library for @target_alias@
    71106Group: rtems
    72 Requires: @target_alias@-binutils rtems-base-gcc
     107Requires: @target_alias@-gnat-binutils rtems-base-gnat
    73108
    74109%description -n @target_alias@-gnat
     
    77112This is gnat, gcc, and newlib C Library for @target_alias@.
    78113
    79 
    80114%prep
    81 # untar the sources inside @target_alias@-gcc-newlib
    82 %setup -c -n @target_alias@-gcc-newlib -a 0 -a 1 -a 2
     115# untar the sources inside @target_alias@-gnat-newlib
     116%setup -c -n @target_alias@-gnat-newlib -a 0 -a 1 -a 2 -a 3
    83117
    84118%patch0 -p0
    85119%patch1 -p0
    86 
    87   # Copy the C library into gcc's source tree
    88   ln -s ../newlib-@newlib_version@/newlib gcc-@gcc_version@
     120%patch2 -p0
     121%patch3 -p0
     122
     123  # this 281 needs to be a variable. :(
     124  cd gcc-@gcc_version@
     125  patch -p0 <../gnat-@gnat_version@-src/src/gcc-281.dif
     126 
     127  mv ../gnat-@gnat_version@-src/src/ada .
     128
     129  cd ada
     130  touch treeprs.ads a-[es]info.h nmake.ad[bs]
     131  cd ../..    # now back at top
     132
     133  # Now we should be done patching everything.. build up a source tree
     134
     135  # this sequence is VERY dependent on the versions involved
     136  #  When the gcc gets updated to 2.95.x or newer, this HAS to change.
     137
     138  mkdir src
     139  cd src
     140  # configure scripts
     141  for f in config config.guess config.sub configure configure.in \
     142        config-ml.in include install-sh ltconfig ltmain.sh Makefile.in \
     143        move-if-change mkinstalldirs libiberty
     144  do
     145        # some packages have more configure scripts than others
     146        # our list is inclusive
     147        test -r ../binutils-@binutils_version@/$f && \
     148          mv ../binutils-@binutils_version@/$f .
     149  done
     150
     151  # link in gcc
     152  mv ../gcc-@gcc_version@ gcc
     153 
     154  # link in binutils
     155  for f in bfd binutils gas gprof ld opcodes etc
     156  do
     157    mv ../binutils-@binutils_version@/$f .
     158  done
     159
     160  # link in newlib
     161  mv ../newlib-@newlib_version@/newlib .
     162  cd ..
     163
     164  # now we have a linked together source tree
    89165  test -d build || mkdir build
    90166
    91   cp -r ../gnat-@gnat_version@-src/src/ada gcc-@gcc_version@
    92 
    93 %patch2 -p0
    94 
    95   touch gcc-@gcc_version@/ada/treeprs.ads
    96   touch gcc-@gcc_version@/ada/a-[es]info.h
    97   touch gcc-@gcc_version@/ada/nmake.ad[bs]
    98167
    99168%build
    100169  cd build
    101   ../gcc-@gcc_version@/configure --target=@target_alias@ \
     170  # after we switch off gcc 2.8.1, configure using gcc not a src directory
     171  # and build binutils separately.
     172  ../src/configure --target=@target_alias@ \
    102173    --with-gnu-as --with-gnu-ld --with-newlib --verbose \
    103174    --prefix=/opt/gnatrtems
     
    106177  #  '--enable-languages=c,c++'
    107178
    108   make all
    109   make info
    110 
    111 #  Since gcc now finds the RTEMS limits.h, this should not be needed
    112 #  cd gcc
    113 #    rm -f stmp-multilib
    114 #    find . -name "*.a" -print | xargs -e rm -f
    115 #
    116 #    make all
    117 #  cd ..
     179#  #  This is a hack that is only because gnat still uses gcc 2.8.1
     180#  test -d ${RPM_BUILD_ROOT}/opt/gnatrtems/@target_alias@ ||
     181#    mkdir -p ${RPM_BUILD_ROOT}/opt/gnatrtems/@target_alias@
     182#  for dir in ${RPM_BUILD_ROOT}/opt/gnatrtems/@target_alias@/include \
     183#             ${RPM_BUILD_ROOT}/opt/gnatrtems/@target_alias@/sys-include
     184#  do
     185#    test -d ${dir} || mkdir -p ${dir}
     186#    cp ../newlib-@newlib_version@/newlib/libc/sys/rtems/include/limits.h ${dir}
     187#  done
     188
     189  make CC=gcc CFLAGS="-O2" LANGUAGES="c" all
     190  make CC=gcc CFLAGS="-O2" LANGUAGES="c" info
     191  # must be installed in the real place to allow gnat to continue to build
     192  make CC=gcc CFLAGS="-O2" LANGUAGES="c" install
     193
     194#  When GNAT uses a gcc that finds the RTEMS limits.h, this will not
     195#  be needed.  This should not be needed if the limits.h trick above works.
     196#   cd gcc
     197#   rm -f stmp-multilib
     198#   find . -name "*.a" -print | xargs -e rm -f
     199#
     200#   make all
     201#   cd ..
     202
     203####################     Ada from here down      ###################
     204
     205    # Just so the log shows what directory we are in.
     206    pwd
     207    cd gcc
     208    echo "Starting build of GNAT proper."
     209    make prefix=$RPM_BUILD_ROOT/opt/gnatrtems \
     210     CC=gcc CFLAGS="-O2" LANGUAGES="c ada"
     211
     212    echo "Starting build of cross GNAT tools"
     213    make prefix=$RPM_BUILD_ROOT/opt/gnatrtems \
     214     CC=gcc CFLAGS="-O2 -g" LANGUAGES="c ada" cross-gnattools
     215
     216    echo "Starting build of ada.all.cross"
     217    make prefix=$RPM_BUILD_ROOT/opt/gnatrtems \
     218     CC=gcc CFLAGS="-O2" LANGUAGES="c ada" ada.all.cross
     219
     220    # must have -gnato to pass validation
     221    # may want CC=gcc GNATLIBCFLAGS="-O3" GNATLIBFLAGS="-gnatpgn" gnatliy
     222    # NOTE:  gnatlib is not multilib'ed -- serious embedded flaw
     223    echo "Starting build of gnatlib"
     224    make prefix=$RPM_BUILD_ROOT/opt/gnatrtems \
     225     CC=gcc GNATLIBCFLAGS="-O2 -g" gnatlib
    118226
    119227%install
     
    121229  # Bug in gcc-2.95.1: It doesn't build this installation directory
    122230  # If it doesn't find it, gcc doesn't install @target_alias@/bin/gcc
    123   ../gcc-@gcc_version@/mkinstalldirs \
    124     $RPM_BUILD_ROOT/opt/gnatrtems/@target_alias@/bin
    125 
    126   make prefix=$RPM_BUILD_ROOT/opt/gnatrtems install
    127   cd @target_alias@/newlib
     231  # ../gcc-@gcc_version@/mkinstalldirs \
     232  #   $RPM_BUILD_ROOT/opt/gnatrtems/@target_alias@/bin
     233
     234  cd gcc
     235  echo "Starting install of gnat"
     236  make prefix=$RPM_BUILD_ROOT/opt/gnatrtems \
     237     CC=gcc CFLAGS="-O2 -g -gnata -gnatp" LANGUAGES="c ada" install
     238  # GNAT has to be mostly installed to even build itself
     239
    128240  make prefix=$RPM_BUILD_ROOT/opt/gnatrtems install-info
    129241
    130   # cd back to build/
    131   cd ../..
     242  # cd go back to build/
     243  pwd
     244  cd ..
    132245
    133246  # gzip info files
     
    140253  echo "%dir /opt/gnatrtems/lib/gcc-lib" >> dirs ;
    141254  echo "%dir /opt/gnatrtems/lib/gcc-lib/@target_alias@" >> dirs ;
     255
     256  if test -f $RPM_BUILD_ROOT/opt/gnatrtems/info/configure.info.gz;
     257  then
     258# These common files are only present in binutils >= 2.9.5
     259    find $RPM_BUILD_ROOT/opt/gnatrtems/info -name 'configure.*' | \
     260      sed -e "s,^$RPM_BUILD_ROOT,,g" > ../files
     261  else
     262    touch ../files
     263  fi
     264# These target specific files are only present in binutils >= 2.9.5
     265  if test -f /opt/gnatrtems/bin/@target_alias@-readelf@exe_ext@;
     266  then
     267    echo /opt/gnatrtems/bin/@target_alias@-readelf@exe_ext@ > ../files.target
     268  else
     269    touch ../files.target
     270  fi
    142271
    143272  # Collect multilib subdirectories
     
    148277
    149278  # Collect files to go into different packages
    150   cp dirs files.chill
    151   cp dirs files.gcc
    152   cp dirs files.g77
    153   cp dirs files.objc
    154   cp dirs files.gcj
     279  # NOTE: This is left in as a place holder to move the 2.95.x code into.
     280  cp dirs ../files.gcc
    155281
    156282  f=`find $TGTDIR ! -type d -print | sed -e "s,^$RPM_BUILD_ROOT,,g"`;
    157283  for i in $f; do
    158284    case $i in
    159     *chill*) echo "$i" >> files.chill ;;
    160     *f771) ;;
    161     *cc1obj) ;;
    162     *libobjc*) echo "$i" >> files.objc ;;
    163     *include/objc*) ;;
    164     *jc1) ;;
    165     *jvgenmain) ;;
    166     *) echo "$i" >> files.gcc ;;
     285    *) echo "$i" >> ../files.gcc ;;
    167286    esac
    168287  done
    169288
    170 %files -n @target_alias@-gcc -f build/files.gcc
     289%files -n rtems-base-gnat-binutils -f files
    171290%dir /opt/gnatrtems/info
    172291%doc /opt/gnatrtems/info/dir
     292%doc /opt/gnatrtems/info/as.info.gz
     293%doc /opt/gnatrtems/info/as.info-?.gz
     294%doc /opt/gnatrtems/info/bfd.info.gz
     295%doc /opt/gnatrtems/info/bfd.info-?.gz
     296%doc /opt/gnatrtems/info/binutils.info.gz
     297%doc /opt/gnatrtems/info/binutils.info-?.gz
     298%doc /opt/gnatrtems/info/ld.info.gz
     299%doc /opt/gnatrtems/info/ld.info-?.gz
     300%doc /opt/gnatrtems/info/gasp.info.gz
     301%doc /opt/gnatrtems/info/standards.info.gz
     302
     303%dir /opt/gnatrtems/man
     304%dir /opt/gnatrtems/man/man1
     305
     306%dir /opt/gnatrtems/include
     307/opt/gnatrtems/include/bfd.h
     308/opt/gnatrtems/include/ansidecl.h
     309/opt/gnatrtems/include/bfdlink.h
     310
     311%dir /opt/gnatrtems/lib
     312/opt/gnatrtems/lib/libbfd*
     313/opt/gnatrtems/lib/libiberty*
     314/opt/gnatrtems/lib/libopcodes*
     315
     316# %dir /opt/gnatrtems/share
     317# %dir /opt/gnatrtems/share/locale
     318
     319%files -n @target_alias@-gnat-binutils -f files.target
     320%doc /opt/gnatrtems/man/man1/@target_alias@-*.1
     321
     322%dir /opt/gnatrtems/bin
     323/opt/gnatrtems/bin/@target_alias@-addr2line@exe_ext@
     324/opt/gnatrtems/bin/@target_alias@-ar@exe_ext@
     325/opt/gnatrtems/bin/@target_alias@-as@exe_ext@
     326/opt/gnatrtems/bin/@target_alias@-c++filt@exe_ext@
     327/opt/gnatrtems/bin/@target_alias@-gasp@exe_ext@
     328/opt/gnatrtems/bin/@target_alias@-ld@exe_ext@
     329/opt/gnatrtems/bin/@target_alias@-nm@exe_ext@
     330/opt/gnatrtems/bin/@target_alias@-objcopy@exe_ext@
     331/opt/gnatrtems/bin/@target_alias@-objdump@exe_ext@
     332/opt/gnatrtems/bin/@target_alias@-ranlib@exe_ext@
     333# readelf is not in older binutils so get it from file list
     334# /opt/gnatrtems/bin/@target_alias@-readelf@exe_ext@
     335/opt/gnatrtems/bin/@target_alias@-size@exe_ext@
     336/opt/gnatrtems/bin/@target_alias@-strings@exe_ext@
     337/opt/gnatrtems/bin/@target_alias@-strip@exe_ext@
     338
     339%dir /opt/gnatrtems/@target_alias@
     340%dir /opt/gnatrtems/@target_alias@/bin
     341/opt/gnatrtems/@target_alias@/bin/ar@exe_ext@
     342/opt/gnatrtems/@target_alias@/bin/as@exe_ext@
     343/opt/gnatrtems/@target_alias@/bin/ld@exe_ext@
     344/opt/gnatrtems/@target_alias@/bin/nm@exe_ext@
     345/opt/gnatrtems/@target_alias@/bin/ranlib@exe_ext@
     346/opt/gnatrtems/@target_alias@/bin/strip@exe_ext@
     347
     348%dir /opt/gnatrtems/@target_alias@/lib
     349/opt/gnatrtems/@target_alias@/lib/ldscripts
     350%files -n rtems-base-gnat
     351%dir /opt/gnatrtems/info
     352# %doc /opt/gnatrtems/info/dir
    173353%doc /opt/gnatrtems/info/cpp.info*
    174354%doc /opt/gnatrtems/info/gcc.info*
     
    176356%doc /opt/gnatrtems/info/libm.info*
    177357
    178 %dir /opt/gnatrtems/man
    179 %dir /opt/gnatrtems/man/man1
     358# %dir /opt/gnatrtems/man
     359# %dir /opt/gnatrtems/man/man1
    180360%doc /opt/gnatrtems/man/man1/cccp.1
    181361%doc /opt/gnatrtems/man/man1/@target_alias@-gcc.1
    182 %doc /opt/gnatrtems/man/man1/@target_alias@-g++.1
    183362
    184363%dir /opt/gnatrtems/bin
    185 /opt/gnatrtems/bin/cpp@exe_ext@
     364# /opt/gnatrtems/bin/cpp@exe_ext@
    186365/opt/gnatrtems/bin/gcov@exe_ext@
    187 /opt/gnatrtems/bin/@target_alias@-c++@exe_ext@
    188 /opt/gnatrtems/bin/@target_alias@-g++@exe_ext@
     366%dir /opt/gnatrtems/include
     367# /opt/gnatrtems/include/g++-3
     368
     369%files -n @target_alias@-gnat -f files.gcc
    189370/opt/gnatrtems/bin/@target_alias@-gcc@exe_ext@
    190 /opt/gnatrtems/bin/@target_alias@-protoize@exe_ext@
    191 /opt/gnatrtems/bin/@target_alias@-unprotoize@exe_ext@
    192371
    193372%dir /opt/gnatrtems/lib/gcc-lib/@target_alias@/@gcc_version@/include
    194373
    195 %dir /opt/gnatrtems/include
    196 /opt/gnatrtems/include/g++-3
    197374/opt/gnatrtems/@target_alias@
    198375
    199 %post -n @target_alias@-gcc
     376%post -n @target_alias@-gnat
    200377  if test -d $RPM_INSTALL_PREFIX/rtems/info;
    201378  then
     
    207384  fi
    208385
    209 %postun -n @target_alias@-gcc
     386%postun -n @target_alias@-gnat
    210387  if test -d $RPM_INSTALL_PREFIX/rtems/info;
    211388  then
     
    217394  fi
    218395
    219 
    220 %files -n @target_alias@-chill -f build/files.chill
    221 %dir /opt/gnatrtems/bin
    222 /opt/gnatrtems/bin/@target_alias@-chill@exe_ext@
    223 
    224 %dir /opt/gnatrtems/info
    225 %doc /opt/gnatrtems/info/dir
    226 %doc /opt/gnatrtems/info/chill.info*
    227 
    228 %post -n @target_alias@-chill
    229   if test -d $RPM_INSTALL_PREFIX/rtems/info;
    230   then
    231     rm -f $RPM_INSTALL_PREFIX/rtems/info/dir
    232     f=`find $RPM_INSTALL_PREFIX/rtems/info -name '*.info.gz'`
    233     test -n "$f" && for i in $f; do
    234       install-info $i $RPM_INSTALL_PREFIX/rtems/info/dir
    235     done
    236   fi
    237 
    238 %postun -n @target_alias@-chill
    239   if test -d $RPM_INSTALL_PREFIX/rtems/info;
    240   then
    241     rm -f $RPM_INSTALL_PREFIX/rtems/info/dir
    242     f=`find $RPM_INSTALL_PREFIX/rtems/info -name '*.info.gz'`
    243     test -n "$f" && for i in $f; do
    244       install-info $i $RPM_INSTALL_PREFIX/rtems/info/dir
    245     done
    246   fi
    247 
    248 
    249 %files -n @target_alias@-gcj -f build/files.gcj
    250 %dir /opt/gnatrtems/bin
    251 /opt/gnatrtems/bin/jcf-dump@exe_ext@
    252 /opt/gnatrtems/bin/jv-scan@exe_ext@
    253 /opt/gnatrtems/bin/gcjh@exe_ext@
    254 /opt/gnatrtems/bin/@target_alias@-gcj@exe_ext@
    255 
    256 /opt/gnatrtems/lib/gcc-lib/@target_alias@/@gcc_version@/jc1@exe_ext@
    257 /opt/gnatrtems/lib/gcc-lib/@target_alias@/@gcc_version@/jvgenmain@exe_ext@
    258 
    259 
    260 %files -n @target_alias@-g77 -f build/files.g77
    261 %dir /opt/gnatrtems/bin
    262 /opt/gnatrtems/bin/@target_alias@-g77@exe_ext@
    263 
    264 %dir /opt/gnatrtems/info
    265 %doc /opt/gnatrtems/info/g77.info*
    266 
    267 %dir /opt/gnatrtems/man
    268 %dir /opt/gnatrtems/man/man1
    269 %doc /opt/gnatrtems/man/man1/@target_alias@-g77.1
    270 
    271 /opt/gnatrtems/lib/gcc-lib/@target_alias@/@gcc_version@/f771@exe_ext@
    272 
    273 %post -n @target_alias@-g77
    274   if test -d $RPM_INSTALL_PREFIX/rtems/info;
    275   then
    276     rm -f $RPM_INSTALL_PREFIX/rtems/info/dir
    277     f=`find $RPM_INSTALL_PREFIX/rtems/info -name '*.info.gz'`
    278     test -n "$f" && for i in $f; do
    279       install-info $i $RPM_INSTALL_PREFIX/rtems/info/dir
    280     done
    281   fi
    282 
    283 %postun -n @target_alias@-g77
    284   if test -d $RPM_INSTALL_PREFIX/rtems/info;
    285   then
    286     rm -f $RPM_INSTALL_PREFIX/rtems/info/dir
    287     f=`find $RPM_INSTALL_PREFIX/rtems/info -name '*.info.gz'`
    288     test -n "$f" && for i in $f; do
    289       install-info $i $RPM_INSTALL_PREFIX/rtems/info/dir
    290     done
    291   fi
    292 
    293 
    294 %files -n @target_alias@-objc -f build/files.objc
    295 /opt/gnatrtems/lib/gcc-lib/@target_alias@/@gcc_version@/cc1obj@exe_ext@
    296 /opt/gnatrtems/lib/gcc-lib/@target_alias@/@gcc_version@/include/objc
  • scripts-ada/mkgdbspec.in

    r1b2b923 r71506054  
    7070    -e "s%@gdb_version@%${gdb_version}%g" \
    7171    -e "s%@gdb_patch_version@%gnat-${gdb_patch_version}%g" \
     72    -e "s%@gnat_version@%${gnat_version}%g" \
     73    -e "s%@gnat_patch_version@%${gnat_patch_version}%g" \
    7274    -e "s%@extra_configure_arguments@%${extra_configure_arguments}%g" \
    7375    -e "s%@exe_ext@%${exe_ext}%g" \
  • scripts-ada/mkgnatnewlibspec.in

    r1b2b923 r71506054  
    6161    -e "s%@target_alias@%${target_alias}%g" \
    6262    -e "s%@rpm_build_root@%${rpm_build_root}%g" \
     63    -e "s%@binutils_version@%${binutils_version}%g" \
     64    -e "s%@binutils_patch_version@%gnat-${binutils_patch_version}%g" \
    6365    -e "s%@gcc_version@%${gcc_version}%g" \
    64     -e "s%@gcc_patch_version@%$gnat-{gcc_patch_version}%g" \
     66    -e "s%@gcc_patch_version@%gnat-${gcc_patch_version}%g" \
    6567    -e "s%@gnat_version@%${gnat_version}%g" \
    6668    -e "s%@gnat_patch_version@%${gnat_patch_version}%g" \
  • scripts-ada/setup

    r1b2b923 r71506054  
    3333  echo "7 newlib version           : $newlib_version"
    3434  echo "8 newlib patch version     : $newlib_patch_version"
    35   echo "9 gnat/newlib rpm release  : $gccnewlib_rpm_release"
     35  echo "9 gnat/newlib rpm release  : $gnatnewlib_rpm_release"
    3636  echo "a gdb version              : $gdb_version"
    3737  echo "b gdb patch version        : $gdb_patch_version"
     
    8080echo "gcc_version=$gcc_version" >> $CFG
    8181echo "gcc_patch_version=$gcc_patch_version" >> $CFG
    82 echo "gnat_version=$gcc_version" >> $CFG
    83 echo "gnat_patch_version=$gcc_patch_version" >> $CFG
    84 echo "gnatnewlib_rpm_release=$gccnewlib_rpm_release" >> $CFG
     82echo "gnat_version=$gnat_version" >> $CFG
     83echo "gnat_patch_version=$gnat_patch_version" >> $CFG
     84echo "gnatnewlib_rpm_release=$gnatnewlib_rpm_release" >> $CFG
    8585echo "gdb_version=$gdb_version" >> $CFG
    8686echo "gdb_patch_version=$gdb_patch_version" >> $CFG
  • scripts-ada/setup.def

    r1b2b923 r71506054  
    11# RTEMS tools setup
    2 binutils_version=2.9.5.0.22
    3 binutils_patch_version=20000114
     2binutils_version=2.9.1
     3binutils_patch_version=20000126
    44binutils_rpm_release=1
    55newlib_version=1.8.2
    66newlib_patch_version=20000104
    77gcc_version=2.8.1
    8 gcc_patch_version=20000106
     8gcc_patch_version=20000126
    99gnat_version=3.12p
    1010gnat_patch_version=20000126
    11 gnatnewlib_rpm_release=2
     11gnatnewlib_rpm_release=1
    1212gdb_version=4.17
    1313gdb_patch_version=20000126
Note: See TracChangeset for help on using the changeset viewer.