1

Use "--build" and "--host".
./configure --help
System types:
--build=BUILD configure for building on BUILD [guessed]
--host=HOST cross-compile to build programs to run on HOST [BUILD]
You need to use ./configure --build=x86_64-pc-linux-gnu --host=i686-pc-linux-gnu to compile for ...