On Wed, 31 Oct 2018 at 15:42, Ailomanga sakamoto wrote: > > Hello. > I want to build a multi-arch gcc that I can build 32 64 and x32 binary. But there is no guide in the documentation. Yes there is, see --with-multilib-list at https://gcc.gnu.org/install/configure.html Do you really mean multi-arch, or do you mean multi-lib? If you really mean multi-arch (i.e. Debian and Ubuntu style directory layout) then use the --enable-multiarch option, documented in the same page. > Could you tell me the detailed way? https://gcc.gnu.org/wiki/InstallingGCC and add the --with-multilib-list=m32,m64,mx32 option.