link against libc5 error...

Jim Wilson wilson@tuliptree.org
Mon Jun 30 09:04:00 GMT 2003


Yang Yang wrote:
> 	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,

Obviously that is an SSH issue, not a gcc issue.  The SSH sources you 
have don't support the environment you are trying to use to build it.

You didn't mention the Red Hat Linux version number, or the gcc version 
number, but I see gcc-2.7.2.3 in one of the stringe, and I know libc5 is 
old, I didn't know anyone was still trying to use it.  You can't expect 
current SSH sources to compile using obsolete linux/gcc/libc versions.
It might work if you used a native libc5 compiler instead of a cross 
compiler, but still, it seems pretty unlikely to me.

I doubt that what you are doing can work.

Jim




More information about the Gcc mailing list