Mail Archives: djgpp/2012/05/03/00:23:31
On 05/03/2012 06:08 AM, Bob Tanner wrote:
> Several missing BuildRequirements, here's a patch to fix it.
>
> --- djcross-gcc-4.7.spec.old 2012-05-01 10:09:25.987679166 -0500
> +++ djcross-gcc-4.7.spec 2012-05-02 21:48:40.229797722 -0500
> @@ -44,7 +44,7 @@
> BuildArch: i686 x86_64
> Requires: djcrx djcross-binutils >= 2.17
> BuildRequires: gcc gcc-gnat djcrx djcross-binutils >= 2.17
> -BuildRequires: zlib-devel
> +BuildRequires: zlib-devel autoconf zip texinfo-tex
>
> %define shortver %(echo %{gcc_version} | sed -e 's:\\.::2g')
> %define shortver2 %(echo %{gcc_version} | sed -e 's:\\.::g')
True about zlib-devel and texinfo-tex.
autoconf is included to avoid unnecessary dependence on build system. For example RHEL5 (or it
clones, I built RPMs on CentOS 5) have outdated autoconf. The same about automake. For some time
GCC required exact versions of both.
Building on RHEL5 clone and linking statically with GMP, MPFR and MPC is to make binary RPM
packages as compatible with different distributions as possible. Built in CentOS 5 chroot, verified
to work in Fedora 16.
>
> Ok, got binutils and gcc built.
>
> Gonna try to build djcrx-2.04pre_20111027-14ap.src.rpm (but I'll put that into a new post)
>
You can check out current CVS version and replace the source archive in RPM. There are changes
after 27/11/2011. I may have newer build myself, but seems that I have not uploaded it anywhere.
Andris
- Raw text -