This is the mail archive of the
mailing list for the GCC project.
Re: help building cross compilation ia32 to ia64
- From: Kai Ruottu <karuottu at mbnet dot fi>
- To: adheer chandravanshi <adheerchandravanshi at gmail dot com>
- Cc: gcc-help at gcc dot gnu dot org
- Date: Thu, 16 Nov 2006 15:09:15 +0200
- Subject: Re: help building cross compilation ia32 to ia64
- References: <email@example.com>
adheer chandravanshi wrote:
We want to build cross compiler ia32 to ia64.
This normally means using the current native $build/$host GCC to compile
binutils and the $target GCC from their sources, the FSF GCC release
preferred. The current ones are 'binutils-2.17' and 'gcc-4.1.1', but
for a Linux target the
"Linux binutils" sources, '184.108.40.206.something' at 'ftp.kernel.org' are
You seem to need also GDB, so producing it from its sources is required.
We have downloaded the following tar-balls from toolchain.org from
i686 package:Never heard about this "toolchain.org", what on earth it is?
Are these correct binaries or do we need to get them from ia64 package?
Do we need to download something else?
Although one needs to produce the $host-to-$target crosstools, one
usually doesn't need
to rebuild the existing target libraries. If the $target system, for
instance "RedHat 7.1/ia64"
there also exist the prebuilt target libraries: 'glibc', 'X11-libs',
'gtk' etc. for it !
So the sources for binutils, GCC and GDB plus all the required prebuilt
target libraries are
Your 'ia64' or "Itanium" isn't very well supported in the Linux distros
nowadays, the last I
Do we need to have a certain combination of tools to build cross
compiler? If yes, have we downloaded the right combination?
remember seeing among the mainline distros is that "Red Hat Linux 7.1
for ia64". The
'amd64' or 'x86_64' 64-bit CPU has replaced it totally among the 64-bit
PCs... The WinNT4.0
probably was the last Windoze for that too...
Although your 'ia64-linux-gnu' Linux distro would be old, with
'glibc-2.2.2' or something,
the current binutils and GCC sources shouldn't care... But always
consulting the nice GCC
manuals, in this case the "Installing GCC", is highly recommended! If
the "Target Specific
Install Instructions" tell something about the 'ia64-*' targets, that
should be read!