Open main menu

CDOT Wiki β



20 bytes removed, 16:48, 24 July 2015
no edit summary
* I run "rpm -i gcc-4.9.2-6.bb4.src.rpm" to install it on AArch64 builder.
* I went in the "~/rpmbuild/SPEC" directory, and run command "rpmbuild -bp gcc.spec" to get the prep stage on the rpm.
* I run "~/rpmbuild/BUILD/gcc-4.9.2-20150212/configure" file.
* I created a git repository (, copied "~/rpmbuild/BUILD/gcc-4.9.2-20150212/" directory into it, and pushed it.
* I changed "~/rpmbuildgit/BUILDGCC/gcc-4.9.2-20150212/" in the next ways:* I changed "Makefileconfigure" file in the next ways:
<pre>@@ -47,7 +47,7 @@ target=aarch64-unknown-linux-gnu
* I committed the changes and run "git format-patch master --stdout > gcc49-makefile.patch" command to get the patch for my changes.
* I copied "gcc49-makefile.patch" to "~/rpmbuild/SOURCES/"
I edited "~/rpmbuild/SPECS/gcc.spec" in the next way:
* I run "export RPM_PACKAGER="Artem Luzyanin <>""
* I run "rpmdev-bumpspec -c "This patch is to create ilp32-capable gcc in a separate tree."" command to add the changes with comments to the spec file.
* I run "rpmbuild -bs ba --nocheck gcc.spec" command to get the source rpms. I run "rpm" command to check that all gcc files will be installed in the correct place.