mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-05 23:23:13 +00:00
* 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
56 lines
1.5 KiB
Plaintext
56 lines
1.5 KiB
Plaintext
# ==============================================================
|
|
# rtems-base-gcc
|
|
# ==============================================================
|
|
%package -n rtems-base-gcc
|
|
Provides: rtems-base-gcc
|
|
Summary: base package for rtems gcc and newlib C Library
|
|
Group: rtems
|
|
|
|
%description -n rtems-base-gcc
|
|
|
|
RTEMS is an open source operating system for embedded systems.
|
|
|
|
This is the files for gcc and newlib that are shared by all targets.
|
|
|
|
%files -n rtems-base-gcc
|
|
%dir /opt/rtems/info
|
|
%doc /opt/rtems/info/cpp.info*.gz
|
|
%doc /opt/rtems/info/gcc.info*.gz
|
|
%doc /opt/rtems/info/libc.info*.gz
|
|
%doc /opt/rtems/info/libm.info*.gz
|
|
|
|
%dir /opt/rtems/bin
|
|
/opt/rtems/bin/gcov@exe_ext@
|
|
|
|
%dir /opt/rtems/man
|
|
%dir /opt/rtems/man/man1
|
|
# not in gcc 3.x -- only in gcc 2.x
|
|
# %doc /opt/rtems/man/man1/cccp.1
|
|
|
|
%dir /opt/rtems/include
|
|
# gcc 3.0.1 specific
|
|
/opt/rtems/include/g++-v3
|
|
# gcc 2.x specific
|
|
# /opt/rtems/include/g++-3
|
|
|
|
%post -n rtems-base-gcc
|
|
if test -d $RPM_INSTALL_PREFIX/rtems/info;
|
|
then
|
|
rm -f $RPM_INSTALL_PREFIX/rtems/info/dir
|
|
f=`find $RPM_INSTALL_PREFIX/rtems/info -name '*.info.gz'`
|
|
test -n "$f" && for i in $f; do
|
|
install-info $i $RPM_INSTALL_PREFIX/rtems/info/dir
|
|
done
|
|
fi
|
|
|
|
%postun -n rtems-base-gcc
|
|
if test -d $RPM_INSTALL_PREFIX/rtems/info;
|
|
then
|
|
rm -f $RPM_INSTALL_PREFIX/rtems/info/dir
|
|
f=`find $RPM_INSTALL_PREFIX/rtems/info -name '*.info.gz'`
|
|
test -n "$f" && for i in $f; do
|
|
install-info $i $RPM_INSTALL_PREFIX/rtems/info/dir
|
|
done
|
|
fi
|
|
|