public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
* [Linux-ia64] have some trouble with cross compile (386->ia64)
@ 2002-01-10  9:26 stoico ��振��
  2002-01-10 19:24 ` Jim Wilson
  0 siblings, 1 reply; 2+ messages in thread
From: stoico ��振�� @ 2002-01-10  9:26 UTC (permalink / raw)
  To: linux-ia64

hello:
	When I compile Gcc(3.0.2) to the target ia64 platform on platform of
i386, I counter some trouble.
The error message is :
/***************************************************************************
/
	/usr/src/mitac/BUILD/gcc-3.0.2/gcc/xgcc
-B/usr/src/mitac/BUILD/gcc-3.0.2/gcc/ -B/usr/local/ia64-linux/bin/
-B/usr/local/ia64-linux/lib/ -isystem /usr/local/ia64-linux/include -O2
-DCROSS_COMPILE -DIN_GCC    -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -isystem ./include  -fPIC -g1  -DIN_LIBGCC2
-D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc -I. -I. -I. -I./. -I./config
-I./../include -fexceptions -c ./config/ia64/unwind-ia64.c -o
libgcc/./unwind-ia64.o
In file included from config/ia64/unwind-ia64.c:35:
unwind.h:170:20: stdlib.h: No such file or directory
In file included from config/ia64/unwind-ia64.c:35:
unwind.h: In function `_Unwind_GetTextRelBase':
unwind.h:182: warning: implicit declaration of function `abort'
unwind.h:180: warning: unused parameter `_C'
config/ia64/unwind-ia64.c: In function `push':
config/ia64/unwind-ia64.c:234: warning: implicit declaration of function
`memcpy'
config/ia64/unwind-ia64.c: In function `uw_frame_state_for':
config/ia64/unwind-ia64.c:1462: warning: implicit declaration of function
`memset'
config/ia64/unwind-ia64.c: In function `uw_install_context':
config/ia64/unwind-ia64.c:1777: warning: passing arg 1 of
`ia64_rse_skip_regs' makes pointer from integer without a cast
config/ia64/unwind-ia64.c:1777: warning: assignment makes integer from
pointer without a cast
config/ia64/unwind-ia64.c: At top level:
config/ia64/unwind-ia64.c:1264: warning: `ia64_rse_is_rnat_slot' defined but
not used
config/ia64/unwind-ia64.c:1281: warning: `ia64_rse_num_regs' defined but not
used
make[2]: *** [libgcc/./unwind-ia64.o] Error 1
make[2]: Leaving directory `/usr/src/mitac/BUILD/gcc-3.0.2/gcc'
make[1]: *** [libgcc.a] Error 2
make[1]: Leaving directory `/usr/src/mitac/BUILD/gcc-3.0.2/gcc'
make: *** [all-gcc] Error 2
/***************************************************************************
**********/

Best regards
	
stoico


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Linux-ia64] have some trouble with cross compile (386->ia64)
  2002-01-10  9:26 [Linux-ia64] have some trouble with cross compile (386->ia64) stoico ��振��
@ 2002-01-10 19:24 ` Jim Wilson
  0 siblings, 0 replies; 2+ messages in thread
From: Jim Wilson @ 2002-01-10 19:24 UTC (permalink / raw)
  To: linux-ia64

>In file included from config/ia64/unwind-ia64.c:35:
>unwind.h:170:20: stdlib.h: No such file or directory

You didn't specify headers for the target.

You need to copy /usr/include and /usr/lib from the target IA-64 machine
onto the host IA-32 machine, and then use the configure options
	--with-headers=<...path to IA-64 headers...>
	--with-libs=<...path to IA-64 libs...>

Jim


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-01-10 19:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-01-10  9:26 [Linux-ia64] have some trouble with cross compile (386->ia64) stoico ��振��
2002-01-10 19:24 ` Jim Wilson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox