* Josef Wolf <jw@raven.inka.de> [Jan 06. 2009 14:40]:
linux32 rpmbuild -bb --target=i586 xxxx.spec and for a src.rpm, try linux32 rpmbuild --rebuild --target=i586 xxxx.src.rpm. If it is a source package, I would guess linux32 ./configure && make, etc. linux32 is a 32 bit shell. HTH.
Hmm, so
$ linux32 make all
would do the trick? But the make targets (and object files, etc) would be the same for both 32 bit and 64 bit? Guess that would result in a mess?
I'm not sure this works. Try it out.
the '-m32' option to gcc makes gcc output 32-bit code as well.
With this, different make targets would be possible, so I guess this is the way to go?
Yeah. You can always see it by doing $ file a.out On the output file to see if it's 64 or 32 bit. -- Mads Martin Joergensen, http://mmj.dk "Why make things difficult, when it is possible to make them cryptic and totally illogical, with just a little bit more effort?" -- A. P. J. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org