* [Linux-ia64] problem building gnu tool
@ 2000-05-19 19:07 Russell Mok
2000-05-19 19:13 ` Jim Wilson
2000-05-19 19:16 ` Kevin Buettner
0 siblings, 2 replies; 3+ messages in thread
From: Russell Mok @ 2000-05-19 19:07 UTC (permalink / raw)
To: linux-ia64
I download the source on a redhat 5.2 machine and try to build a cross
compiler for ia64. The build fails because unistd.h and other system
headers are missing. I tried to make configure to think I don't have
any system headers using --with-headers=empty-dir and
--without-headers but neither worked.
Basically I'm asking a way to generate a cross-compiler for ia64 linux
on a 32-bit linux host. Thanks.
Russell
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Linux-ia64] problem building gnu tool
2000-05-19 19:07 [Linux-ia64] problem building gnu tool Russell Mok
@ 2000-05-19 19:13 ` Jim Wilson
2000-05-19 19:16 ` Kevin Buettner
1 sibling, 0 replies; 3+ messages in thread
From: Jim Wilson @ 2000-05-19 19:13 UTC (permalink / raw)
To: linux-ia64
You can't build a complete cross toolchain unless you have ia64 headers and
libraries. Just copy the ia64-linux /usr/lib and /usr/include directories
to someplace on your x86 host. Then point to those copies using the
configure --with-headers and --with-libs options. The cross toolchain will
then build and work fine.
If all you want to do is build the kernel, then you don't need headers and
libraries. I haven't done this myself, so I can't give details. But you
probably already have enough of the toolchain to enable building kernels.
Jim
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Linux-ia64] problem building gnu tool
2000-05-19 19:07 [Linux-ia64] problem building gnu tool Russell Mok
2000-05-19 19:13 ` Jim Wilson
@ 2000-05-19 19:16 ` Kevin Buettner
1 sibling, 0 replies; 3+ messages in thread
From: Kevin Buettner @ 2000-05-19 19:16 UTC (permalink / raw)
To: linux-ia64
On May 19, 3:07pm, Russell Mok wrote:
> I download the source on a redhat 5.2 machine and try to build a cross
> compiler for ia64. The build fails because unistd.h and other system
> headers are missing. I tried to make configure to think I don't have
> any system headers using --with-headers=empty-dir and
> --without-headers but neither worked.
Why don't you just extract the header files from the glibc and kernel
RPMS? Actually, to be useful, you'll need the libraries too. But
those are also available in the RPM. (When you install these RPMS,
you'll want to use the --root option to cause the RPM to be installed
at a different location than normal. You might also need the
--ignorearch option.)
Kevin
--
Kevin Buettner
kev@primenet.com, kevinb@redhat.com
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2000-05-19 19:16 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-05-19 19:07 [Linux-ia64] problem building gnu tool Russell Mok
2000-05-19 19:13 ` Jim Wilson
2000-05-19 19:16 ` Kevin Buettner
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox