This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: sorry, unimplemented: 64-bit mode not compiled in - ?!


On Thursday 27 July 2006 15:44, Daniel Jacobowitz wrote:
> 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.

I did not understand this part. Who is "it"? gcc?
I tried gcc -v -m64 -c t.c and I do not see -m32 anywhere...
Oh well, never mind.

> 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).

Pity. Adding that to stock gcc would be nice.

For the time being, I built x86_64 cross compiler and
then I built the 64-bit Linux kernel. It works (apart from
some minor trouble with sound driver).

Thanks guys for your software!
--
vda


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]