crosscompiling from Linux

Myles Uyema myles@puck.nether.net
Mon Sep 15 22:39:00 GMT 1997


Okay so I've got the tools and libraries, built the cross-binutils and
cross-compiler (egcs-970910), but now how do I get around the complaint of
the GNU autoconf script saying:

checking for gcc... i586-cygwin32-gcc
checking whether the C compiler (i586-cygwin32-gcc  ) works... yes
checking whether the C compiler (i586-cygwin32-gcc  ) is a cross-compiler...
yes
.
.
.
checking whether setvbuf arguments are reversed... configure: error: can not
run test program while cross compiling

This happens trying to configure the inetutils-1.3a GNU package.
CC=i586-cygwin32-gcc ../inetutils-1.3a/configure --disable-servers
--disable-ncurses --host=i586-linux --target=i586-cygwin32

For that matter, this happens with most of the networking apps which
come with GNU autoconf script.

This same error also happens trying to cross-compile the BitchX IRC
application.  It's been compiled on gnu-win32 natively, but I don't have
fulltime access to a NT/95 system, and I'd rather build cywin32 apps from my
home linux system instead of installing win95 and the CDK package.

-- 
-----BEGIN PGP SIGNATURE-----
Version: 2.6.3
Comment: finger myles@puck.nether.net for PGP key

iQCVAwUBNB4bbOGK2tv+HcGxAQFOXQP/XSuhj0Rwt2ZCMJBxG2tGI7AR4Raqz0bS
e3SkCyqUBZw5X/wnOsLo1v4jIIdOwum0EuvAYBQt+NfO9MFbLluCb45L5M9zlcrY
vRgVsUn5j1O/iVRaD0jr26im4ALYfMi7qb234vnVpfzrLdZh1N9Y/3Glu5DiRAhS
/F19FMdjlvs=
=ryMS
-----END PGP SIGNATURE-----


More information about the Cygwin mailing list