[SPARC64] gcc-3.4.4-2.fc3.src.rpm
"Christian Joensson" <[email protected]> Tue, 23 May 2006 13:51:53 +0200
| Newsgroups | gmane.linux.aurora.devel |
|---|---|
| Message-ID | <[email protected]> |
[Maybe a bit off topic here, let me know if I should drop this(these?) thread(threads), for now, I hope you can accept the information herein as memory support for me and others interested until the foot is set down on what the Aurora project wants with sparc64 variants...] well, I had to fiddle with the spec file to make this happen, attached is the diffs... When building the sparc64 variant of the packages, I used rpmbuild -ba /usr/src/redhat/SPECS/gcc34.spec --without ada --target=sparc64 and when building the sparc ones, I was going to use sparc32 rpmbuild -bb /usr/src/redhat/SPECS/gcc34.spec --target=sparc however, the dependencies in sparc64 variant packages required to build java, the way it's configured in the gcc-3.4.4-2.fc3.src.rpm was just too much for me right now... perhaps when spot gets that t2k up and running Aurora I'll revisit this issue. N.B. this is using the sparc patched version, thus the src.rpm file is now gcc-3.4.4-2sparc.fc3.src.rpm, with the spec file diff, and only that, attached. However, the spec file change is not sparc specific, rather rpm spec file gearing... -- Cheers, /ChJ _______________________________________________ Aurora-sparc-devel mailing list [email protected] http://lists.auroralinux.org/mailman/listinfo/aurora-sparc-devel Aurora FAQ: http://www.ecs.soton.ac.uk/~mas01r/aurorafaq.html
gcc34.spec.patch
(application/octet-stream, 1.1 KB)
*** /usr/src/redhat/SPECS/gcc34.spec~ 2005-07-22 14:21:40.000000000 +0200
--- /usr/src/redhat/SPECS/gcc34.spec 2006-05-22 10:48:53.000000000 +0200
***************
*** 4,10 ****
%define _unpackaged_files_terminate_build 0
%define multilib_64_archs sparc64 ppc64 s390x x86_64
%ifarch %{ix86} alpha ia64 ppc x86_64 s390 sparc sparc64
! %define build_ada 1
%else
%define build_ada 0
%endif
--- 4,10 ----
%define _unpackaged_files_terminate_build 0
%define multilib_64_archs sparc64 ppc64 s390x x86_64
%ifarch %{ix86} alpha ia64 ppc x86_64 s390 sparc sparc64
! %define build_ada 0%{!?_without_ada:1}
%else
%define build_ada 0
%endif
***************
*** 25,31 ****
Summary: Various compilers (C, C++, Objective-C, Java, ...)
Name: gcc
Version: 3.4.4
! Release: 2.fc3
%if "%{version}" != "%{gcc_version}"
%define gcc_provides 3.4.3-26
%endif
--- 25,31 ----
Summary: Various compilers (C, C++, Objective-C, Java, ...)
Name: gcc
Version: 3.4.4
! Release: 2sparc.fc3
%if "%{version}" != "%{gcc_version}"
%define gcc_provides 3.4.3-26
%endif