Re: [Linux-ia64] Trouble building cross compilers

From: Andreas Schwab <schwab_at_suse.de>
Date: 2002-03-21 21:28:52
Jesse Barnes <jbarnes@sgi.com> writes:

|> a) built and installed binutils 2.12 (configured with
|>    --target=ia64-gnu-linux --prefix=/tmp/ia64-cross-3.0)
|> b) tried to build and install gcc 3.0 (configured with the same options
|>    as above), but with 'make LANGUAGES=c' instead of just 'make'

LANGUAGES=c is obsolete, configure with --enable-languages=c instead.

|> Unfortunately, I got hung up in the middle of step (b) with the errors
|> shown below.  IIRC, the Cygnus snapshot tarballs were 'cross-compile
|> ready' in that they had all the necessary header files and utilities
|> needed for a full cross development environment.  Any notes on how
|> those trees were built would be appreciated.

You need to have the target headers installed somewhere and use
--with-headers=/place/of/target/headers when configuring the cross
compiler.

Andreas.

-- 
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE GmbH, Deutschherrnstr. 15-19, D-90429 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."
Received on Thu Mar 21 02:29:00 2002

This archive was generated by hypermail 2.1.8 : 2005-08-02 09:20:07 EST