Hi all,

I'm hoping this is the correct mailing list for my question.
I wanted to know if there is a common\conventional way of compiling SRPMs (and generating the corresponding binary RPMs) on a x86_64 env for a i686 target.
In particular, I'm interested in compiling glibc for i686. This has to be possible, since an i686 version of the package is indeed available from the repository. However, simply attempting to compile the SRPM by running:
  rpmbuild -ba <my path>/rpmbuild/SPECS/glibc.spec --target=i686 
(after obtaining all of the dependencies) seems to fail due to incorrect env vars and\or configure flags.