> On Thu, Jul 27, 2006 at 12:56:14PM +0200, Denis Vlasenko wrote: > > does it mean I need a cross-compiler (to x86_64) to use -m64? > > It's strange because then -m64 is not useful at all > > - x86_64 cross compiler defaults to 64 bit anyway... right? > > It overrides -m32 earlier on the command line. It's also possible to > build 32-bit configurations which support 64-bit compilation - but > the default i686-linux configuration does not. The i686-solaris2.10 > port does, and Debian's i486-linux compilers do also (local patch).
Interesting, the major reason for disabling -m64 by default for 32bit compilers was the fact that it enforces HOST_WIDE_INT to be 64bit slowing down the whole compiler considerably. Are Debian's folks happy to wait longer for compilation or has this overhead changed? Honza > > -- > Daniel Jacobowitz > CodeSourcery