On Mon, 16 Jul 2001, Russell, David J wrote:
> 1) How is it possible to determine the architecture that a particular binary
> was compiled under? (i388, i686 etc)
rpm -qp --qf "%{ARCH}" package.rpm
> 1a) What would I need to do to automagically install the SRPM's for all
> binaries installed?
something along the lines of
for i in `rpm -qa`; do
rpm -i /path/to/SRPMS/`rpm -q --qf "%{SOURCERPM}" $i`
done
> 3) Depending on the above am I likely to gain much performance if I'm
> running a stock redhat system on a PIII 1GHz?
You will not gain ANY performance, because the rpms are already optimized
and the default rpm macros don't make a difference between i386 and i686
anyway.
If you want to gain performance, configure your rpmmacros to use something
along the lines of -O3 -march=i686 -mcpu=i686 for i686. This will give you
a little bit of performance (by default, we use -O2 -march=i386
-mcpu=i686) at the cost of stability.
LLaP
bero
_______________________________________________
Seawolf-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/seawolf-list