help!!!---- link against libc5 error

Yang Yang yangyang@juggler.ucsd.edu
Mon Jun 30 02:33:00 GMT 2003


hi there:
	I tried to compile/link some source programs against
	libc5 ,( to fit into a small distro ) . I downloaded the
	libc5 rpm for Redhat, followed the instruction in glibc2 HOWTO,
	got the following error:

	checking whether byte ordering is bigendian... configure: error:
	Cannot cross-compile without BYTE_ORDER set in sys/param.h.


	I was doing 'configure' in ssh sources,

	the CFLAGS is 
	-nostdinc -I/usr/i486-linuxlibc5/include
	-I/usr/lib/gcc-lib/i486-linuxlibc5/2.7.2.3/include -b
	i486-linuxlibc5

	LDFLAGS
	-b i486-linuxlibc5


	CC is
	/usr/bin/i486-linuxlibc5-gcc


	any help is greatly appreciated , thanks!
	yang



More information about the Gcc-help mailing list