Changeset d2bc265 in rtems


Ignore:
Timestamp:
Jan 31, 2000, 2:47:03 PM (20 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
4c46630
Parents:
8030d8a
Message:

Successfully built some RPMs. There is still a lot of work to do.

Location:
scripts-ada
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • scripts-ada/README

    r8030d8a rd2bc265  
    44
    55This directory contains the scripts used to build RPMS for GNAT/RTEMS.
     6
     7The scripts are close but do not work completely right yet.  I have
     8commented out the info related items in gnatnewlib.in to get the
     9RPMS to build.
     10
     11The binutils directory should be ignored for now.  In order to
     12build the toolset at all, I had to merge building binutils
     13into the build of gcc, gnat, and newlib.  gdb is still built separately.
     14When gnat is based off a more recent gcc version, we can go
     15to the more proper method of building binutils first and
     16separately.
     17
     18There is the more general issue that the gcc 2.8.1 RTEMS targets
     19were not always the same object format that the gcc 2.95.x ones
     20are.  Thus some BSPs (m68k and i386 in particular) are now ELF
     21based and assume crti.o/crtn.o is installed.  The gcc 2.8.1
     22configurations were not ELF and thus it is likely that programs
     23will not link on certain configurations.
     24
     25Another more general issue is that GNAT gdb support is at
     264.17 while remote debugging of RTEMS applications via
     27TCP/IP is in 4.18.
     28
  • scripts-ada/gdb/Makefile.am

    r8030d8a rd2bc265  
    55MKGDBSPEC_DEPS = \
    66$(top_builddir)/mkgdbspec gdb.spec.in $(top_builddir)/setup.cache
     7
     8powerpc-rtems-$(GDBVERS).spec: $(MKGDBSPEC_DEPS)
     9        $(MKGDBSPEC) -cfg $(top_builddir)/setup.cache -o . powerpc-rtems
    710
    811sparc-rtems-$(GDBVERS).spec: $(MKGDBSPEC_DEPS)
     
    1316
    1417RPM_SPECS_DATA = \
     18powerpc-rtems-$(GDBVERS).spec \
    1519sparc-rtems-$(GDBVERS).spec
    1620
  • scripts-ada/gnatnewlib/Makefile.am

    r8030d8a rd2bc265  
    88  $(top_builddir)/mkgnatnewlibspec gnatnewlib.spec.in $(top_builddir)/setup.cache
    99
     10powerpc-rtems-$(GNATNEWLIBVERS).spec: $(MKGNATNEWLIBSPEC_DEPS)
     11        $(MKGNATNEWLIBSPEC) -cfg $(top_builddir)/setup.cache -o . powerpc-rtems
     12
    1013sparc-rtems-$(GNATNEWLIBVERS).spec: $(MKGNATNEWLIBSPEC_DEPS)
    1114        $(MKGNATNEWLIBSPEC) -cfg $(top_builddir)/setup.cache -o . sparc-rtems
     
    1518
    1619RPM_SPECS_DATA = \
     20powerpc-rtems-$(GNATNEWLIBVERS).spec \
    1721sparc-rtems-$(GNATNEWLIBVERS).spec
    1822
  • scripts-ada/gnatnewlib/gnatnewlib.spec.in

    r8030d8a rd2bc265  
    189189  make CC=gcc CFLAGS="-O2" LANGUAGES="c" all
    190190  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
     191  # must be installed to allow gnat to continue to build
     192  make CC=gcc CFLAGS="-O2" LANGUAGES="c" install install-info
     193  make prefix=$RPM_BUILD_ROOT/opt/gnatrtems \
     194    CC=gcc CFLAGS="-O2" LANGUAGES="c" install install-info
    193195
    194196#  When GNAT uses a gcc that finds the RTEMS limits.h, this will not
     
    254256  echo "%dir /opt/gnatrtems/lib/gcc-lib/@target_alias@" >> dirs ;
    255257
    256   if test -f $RPM_BUILD_ROOT/opt/gnatrtems/info/configure.info.gz;
    257   then
     258  touch ../files
     259  # if test -f $RPM_BUILD_ROOT/opt/gnatrtems/info/configure.info.gz;
     260  # then
    258261# 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
     262  #   find $RPM_BUILD_ROOT/opt/gnatrtems/info -name 'configure.*' | \
     263  #     sed -e "s,^$RPM_BUILD_ROOT,,g" > ../files
     264  # else
     265  #   touch ../files
     266  # fi
    264267# These target specific files are only present in binutils >= 2.9.5
    265268  if test -f /opt/gnatrtems/bin/@target_alias@-readelf@exe_ext@;
     
    289292%files -n rtems-base-gnat-binutils -f files
    290293%dir /opt/gnatrtems/info
    291 %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
     294# %doc /opt/gnatrtems/info/dir
     295# %doc /opt/gnatrtems/info/as.info.gz
     296# %doc /opt/gnatrtems/info/as.info-?.gz
     297# %doc /opt/gnatrtems/info/bfd.info.gz
     298# %doc /opt/gnatrtems/info/bfd.info-?.gz
     299# %doc /opt/gnatrtems/info/binutils.info.gz
     300# %doc /opt/gnatrtems/info/binutils.info-?.gz
     301# %doc /opt/gnatrtems/info/ld.info.gz
     302# %doc /opt/gnatrtems/info/ld.info-?.gz
     303# %doc /opt/gnatrtems/info/gasp.info.gz
     304# %doc /opt/gnatrtems/info/standards.info.gz
    302305
    303306%dir /opt/gnatrtems/man
     
    363366%dir /opt/gnatrtems/bin
    364367# /opt/gnatrtems/bin/cpp@exe_ext@
    365 /opt/gnatrtems/bin/gcov@exe_ext@
     368# /opt/gnatrtems/bin/gcov@exe_ext@
    366369%dir /opt/gnatrtems/include
    367370# /opt/gnatrtems/include/g++-3
  • scripts-ada/setup.def

    r8030d8a rd2bc265  
    44binutils_rpm_release=1
    55newlib_version=1.8.2
    6 newlib_patch_version=20000104
     6newlib_patch_version=20000130
    77gcc_version=2.8.1
    88gcc_patch_version=20000126
    99gnat_version=3.12p
    1010gnat_patch_version=20000126
    11 gnatnewlib_rpm_release=1
     11gnatnewlib_rpm_release=2
    1212gdb_version=4.17
    1313gdb_patch_version=20000126
Note: See TracChangeset for help on using the changeset viewer.