This topic has been locked.
2 replies Latest Post - 2009-08-03T22:07:01Z by SystemAdmin
Pinned topic How to build ppc32 rpm on system i520?
Answered question This question has been answered.
Unanswered question This question has not been answered yet.
I am using the RHAS 4.7 on Power System i520. When I want to build glibc rpm for ppc32, the rpmbuild command always use rpmmacros in /usr/lib/rpm/ppc64-linux/macros even if I run "ppc32 rpmuild". The macro %_lib is always lib64, so I fail to build glibc rpm for ppc32. Therefore, who can tell me how to build ppc32 rpm? Thank you very much.
Updated on 2009-08-03T22:07:01Z at 2009-08-03T22:07:01Z by SystemAdmin
Re: How to build ppc32 rpm on system i520?2009-08-03T22:01:46Z in response to SystemAdminHello, there are a few things that might work for you.
You can create an rpmmacros file which will tell rpm which %_target and %_libs to use
Or you can pass them inline during the rpmbuild invocation:
rpmbuild --define='_target_cpu ppc' --define='%_libs lib' <other arguments and directives>