public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* Re: Re: cross compiling for x86_64
@ 2007-01-08  0:39 Timothy C Prince
  0 siblings, 0 replies; only message in thread
From: Timothy C Prince @ 2007-01-08  0:39 UTC (permalink / raw)
  To: karuottu; +Cc: aph, bhagat.indu, gcc-help



-----Original Message-----
From: Kai Ruottu <karuottu@mbnet.fi>
To: Andrew Haley <aph@redhat.com>
Date: Mon, 08 Jan 2007 01:48:04 +0200
Subject: Re: cross compiling for x86_64

Andrew Haley wrote :
> Indu Bhagat writes:
>  >  I am trying to configure gcc for compiling some c,cpp and fortran
>  > sources to x86_64 on my x86 machine using the following steps:
>  > 
>  >  1. Binutils-2.17 configuration and installation:
>  >  2. After successful completion of step 1, gcc configuration and installation:
>  >  3. After this, I proceeded with glibc, as I think one needs to have
>  >  appropriate library support as well, to support cross compilation.
 > OK, now you need to build gcc again, this time with glibc (not 
newlib) support.

 The common rule is that the "appropriate library" is always the C 
library for the $target!  
____________________________-
As there no longer exist any production CPUs which support only 32-bit i386, and not 64-bit x86-64, this seems an inappropriate time to attempt institution of cross-compiler capability.
Intel compilers for x86-64 run in 32-bit mode, in an apparently impractical attempt to support cross compilation.  All the headers, libraries, and a cross-build of binutils, for the 64-bit target, would have to be present.  I don't know of any successful demonstration of such capability.


Tim Prince

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-01-08  0:39 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-01-08  0:39 Re: cross compiling for x86_64 Timothy C Prince

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).