This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
help!!!---- link against libc5 error
- From: Yang Yang <yangyang at juggler dot ucsd dot edu>
- To: gcc-help at gcc dot gnu dot org
- Date: Sun, 29 Jun 2003 12:00:15 -0700
- Subject: 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