Re: generating 32-bit RPM's

"Dominik 'Rathann' Mierzejewski" <[email protected]>
Newsgroups gmane.linux.redhat.amd64
Message-ID <[email protected]>
On Tue, Sep 20, 2005 at 11:12:42AM +0100, Dave Atkinson wrote:
[...]
> So I'm wondering if the fix is a patch to rpm, either to 
> a) post-process (hack) the above macros based on the host and target
> arch at runtime, (bad idea) or 
> b) add a new conditional %if(|n)targetarch and ship a rpmrc file which
> sets the macros correctly at runtime (better idea) or
> c) have rpm set %_lib, %_libdir and anything else that may be required
> internally based on target arch (previous idea is better?)
> d) something I haven't thought of ;)
> 
> What have I missed? ;)

man setarch
And on sparc, it's man sparc32, just in case anyone is having problems
with AuroraLinux. ;)

Regards,
R.

-- 
Dominik 'Rathann' Mierzejewski <rathann*at*icm.edu.pl>
Interdisciplinary Centre for Mathematical and Computational Modelling
Warsaw University  |  http://www.icm.edu.pl  |  tel. +48 (22) 5540810
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.