public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* ia64 cross compiler on ia32 system
@ 2001-12-13 18:47 hiren_mehta
  0 siblings, 0 replies; only message in thread
From: hiren_mehta @ 2001-12-13 18:47 UTC (permalink / raw)
  To: gcc-help

Hi,

I am trying to build ia64 linux cross compiler on ia32 linux system using 
gcc-3.0.2 sources.

I followed the instructions given on
:http://www.objsw.com/CrossGCC/FAQ-4.html

I built the binutils-2.11.2 also for ia64. I did the following steps :
1. create build-binutils-2.11.2.
2. cd to build-binutils-2.11.2 and run 
   ../binutils-2.11.2/configure --target=ia64-linux
3. run make all install.
4. cd ..
5. create a directory build-gcc-3.0.2
6. cd to build-gcc-3.0.2 and run
   ../gcc-3.0.2/configure --target=ia64-linux
7. run make all install.

The build for gcc-3.0.2 is failing. Are the above steps correct or am I
missing
something ? Somewhere I read about glibc and include files for ia64. From
where
do I get those files ? compilation of gcc-3.0.2 complains saying that I need
glibc 2.2.4 or later for ia64.  If somebody is really interested, I can 
probably send the tail output of the make. I would appreciate if somebody
can advise on how to go about building the cross compiler for ia64. 

I tried building glibc 2.2.4 for ia64 on ia32 system using --build and
--host
options. But that also seems to be generating ia32 crti.o file instead of
ia64. I believe that I need to make configure of glibc point to the right
ia64 compiler. But before I do that, I need to have ia64 compiler which I am
trying
to build. And if building of gcc needs glibc than that is a race which I
don't
know how to fix(egg-chicken situation).

Regards,
-hiren





Hiren Mehta
Software Design Engineer
Agilent Technologies

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

only message in thread, other threads:[~2001-12-14  2:47 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-12-13 18:47 ia64 cross compiler on ia32 system hiren_mehta

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