source: rtems/scripts/gccnewlib/base-gcc.add @ a8bd1de

4.104.114.84.95
Last change on this file since a8bd1de was a8bd1de, checked in by Joel Sherrill <joel.sherrill@…>, on 09/13/01 at 13:35:35

2001-09-13 Joel Sherrill <joel@…>

  • mkgccnewlibspec.in, Use Target_alias not target_alias to avoid conflicts with new autoconf.
  • setup.def: Changed version numbers in attempt at building gcc 3.0.1. Only sparc and arm built for C/C++ OK. :(
  • gccnewlib/base-gcc.add: Modifications to reflect files not in gcc 3.x.
  • gccnewlib/gccnewlib.add: gcc 3.x does not have "everything in the name"
  • target-gcc.add: Modifications to reflect files not in gcc 3.1
  • Property mode set to 100644
File size: 1.5 KB
Line 
1# ==============================================================
2# rtems-base-gcc
3# ==============================================================
4%package -n rtems-base-gcc
5Provides:       rtems-base-gcc
6Summary:        base package for rtems gcc and newlib C Library
7Group: rtems
8
9%description -n rtems-base-gcc
10
11RTEMS is an open source operating system for embedded systems.
12
13This is the files for gcc and newlib that are shared by all targets.
14
15%files -n rtems-base-gcc
16%dir /opt/rtems/info
17%doc /opt/rtems/info/cpp.info*.gz
18%doc /opt/rtems/info/gcc.info*.gz
19%doc /opt/rtems/info/libc.info*.gz
20%doc /opt/rtems/info/libm.info*.gz
21
22%dir /opt/rtems/bin
23/opt/rtems/bin/gcov@exe_ext@
24
25%dir /opt/rtems/man
26%dir /opt/rtems/man/man1
27# not in gcc 3.x -- only in gcc 2.x
28# %doc /opt/rtems/man/man1/cccp.1
29
30%dir /opt/rtems/include
31# gcc 3.0.1 specific
32/opt/rtems/include/g++-v3
33# gcc 2.x specific
34# /opt/rtems/include/g++-3
35
36%post -n rtems-base-gcc
37  if test -d $RPM_INSTALL_PREFIX/rtems/info;
38  then
39    rm -f $RPM_INSTALL_PREFIX/rtems/info/dir
40    f=`find $RPM_INSTALL_PREFIX/rtems/info -name '*.info.gz'`
41    test -n "$f" && for i in $f; do
42      install-info $i $RPM_INSTALL_PREFIX/rtems/info/dir
43    done
44  fi
45
46%postun -n rtems-base-gcc
47  if test -d $RPM_INSTALL_PREFIX/rtems/info;
48  then
49    rm -f $RPM_INSTALL_PREFIX/rtems/info/dir
50    f=`find $RPM_INSTALL_PREFIX/rtems/info -name '*.info.gz'`
51    test -n "$f" && for i in $f; do
52      install-info $i $RPM_INSTALL_PREFIX/rtems/info/dir
53    done
54  fi
55
Note: See TracBrowser for help on using the repository browser.