This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]