%-> I do not want this, I _wnat- the rpm - especialy because I then want to
%-> install it on several boxes without recompiling.

rpm -bb might work for you.

%-> In addition, is there a command line option for making an i686
%-> instead of
%-> an i386, without doing any editing to the actual file?

Yes, do rpm -bb --target i686. However, you need to edit the
/usr/lib/rpm/rpmrc file as well. I've got these opts:

        optflags:
i686 -O6 -march=i686 -mcpu=i686 -ffast-math -fexpensive-optimizations -fomit
-frame-pointer -malign-double

(I'm using Pinstripe with GCC 2.96 -- your compiler might not support all
the opts.)

Also change the buildarchtranslate to:

        buildarchtranslate: i686: i686


Works for me, YMMV.

-- Juha





_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to