Subject: bug in configure for cross-compiling
From: [email-masked] (Michel Dagenais)

21 Oct 1996 11:58:21 -0700
Sender: [email-masked]
Approved: [email-masked]
Distribution: cygnus
Message-ID: <[email-masked]>
Original-To: [email-masked]
Original-Sender: [email-masked]

I recently cross compiled gnu-win32 from Linux to Win32 and found one or
two small problems:

../configure --target=i386-cygwin32

The make did not work thereafter. After some experiment it became apparent
that the problem was with my "architecture" i686 since some places in
configure checked for *86 but other had i[345]86 and thus the resulting
makefile was incorrect. The following arguments produced a proper makefile:

../configure --host=i386-cygwin32 --target=i386-cygwin32

Later i cross-compiled the whole thing with:

../configure --build=i386-linux --host=i386-cygwin32 --target-i386-cygwin32

The resulting makefile did not work properly but the following does:

../configure --build=i386-linux --target-i386-cygwin32

Somehow the processing of the "host" argument did something strange.

Hope this helps. Thanks for this great piece of work.
-
For help on using this list, send a message to
"[email-masked]" with one line of text: "help".