1 Summary: Cross AVR GNU binary utility development utilities - gcc
2 Summary(es): Utilitarios para desarrollo de binarios de la GNU - AVR gcc
3 Summary(fr): Utilitaires de développement binaire de GNU - AVR gcc
4 Summary(pl): Skro¶ne narzêdzia programistyczne GNU dla AVR - gcc
5 Summary(pt_BR): Utilitários para desenvolvimento de binários da GNU - AVR gcc
6 Summary(tr): GNU geliþtirme araçlarý - AVR gcc
12 Group: Development/Languages
13 Source0: ftp://gcc.gnu.org/pub/gcc/releases/gcc-%{version}/gcc-%{version}.tar.bz2
14 # Source0-md5: 31b459062499f9f68d451db9cbf3205c
15 BuildRequires: autoconf
16 BuildRequires: /bin/bash
18 BuildRequires: crossavr-binutils
20 Requires: crossavr-binutils
21 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24 %define arch %{_prefix}/%{target}
25 %define gccarch %{_libdir}/gcc/%{target}
26 %define gcclib %{_libdir}/gcc/%{target}/%{version}
27 %define _noautostrip .*%{gcclib}.*/libgc.*\\.a
30 This package contains a cross-gcc which allows the creation of
31 binaries to be run on Atmel AVR on i386-machines.
34 Dieses Paket enthält einen Cross-gcc, der es erlaubt, auf einem
35 i386-Rechner Code für Atmel AVR zu generieren.
38 Ten pakiet zawiera skro¶ny gcc pozwalaj±cy na robienie na maszynach
39 i386 binariów do uruchamiania na Atmel AVR.
42 Summary: C++ support for avr-gcc
43 Summary(pl): Obs³uga C++ dla avr-gcc
44 Group: Development/Languages
45 Requires: crossavr-gcc = %{epoch}:%{version}-%{release}
48 This package adds C++ support to the GNU Compiler Collection for AVR.
50 %description c++ -l pl
51 Ten pakiet dodaje obs³ugê C++ do kompilatora gcc dla AVR.
54 %setup -q -n gcc-%{version}
58 install -d obj-%{target}
61 CFLAGS="%{rpmcflags}" \
62 CXXFLAGS="%{rpmcflags}" \
66 --infodir=%{_infodir} \
70 --libexecdir=%{_libdir} \
72 --enable-languages="c,c++" \
78 --build=%{_target_platform} \
79 --host=%{_target_platform} \
85 rm -rf $RPM_BUILD_ROOT
87 %{__make} -C obj-%{target} install \
88 DESTDIR=$RPM_BUILD_ROOT
91 rm -f $RPM_BUILD_ROOT%{_libdir}/libiberty.a
94 # strip target libraries
95 %{target}-strip -g $RPM_BUILD_ROOT%{gcclib}{,/avr*}/libg*.a
99 rm -rf $RPM_BUILD_ROOT
102 %defattr(644,root,root,755)
103 %attr(755,root,root) %{_bindir}/%{target}-gcc*
104 %attr(755,root,root) %{_bindir}/%{target}-cpp
105 %attr(755,root,root) %{_bindir}/%{target}-gcov
108 %attr(755,root,root) %{gcclib}/cc1
109 %attr(755,root,root) %{gcclib}/collect2
113 %dir %{gcclib}/include
114 %{gcclib}/include/*.h
115 %{_mandir}/man1/%{target}-cpp.1*
116 %{_mandir}/man1/%{target}-gcc.1*
117 %{_mandir}/man1/%{target}-gcov.1*
120 %defattr(644,root,root,755)
121 %attr(755,root,root) %{_bindir}/%{target}-g++
122 %attr(755,root,root) %{_bindir}/%{target}-c++
123 %attr(755,root,root) %{gcclib}/cc1plus
124 %{_mandir}/man1/%{target}-g++.1*