delorie.com/archives/browse.cgi | search |
From: | dagenais AT vlsi DOT polymtl DOT ca (Michel Dagenais) |
Subject: | bug in configure for cross-compiling |
21 Oct 1996 11:58:21 -0700 : | |
Sender: | daemon AT cygnus DOT com |
Approved: | cygnus DOT gnu-win32 AT cygnus DOT com |
Distribution: | cygnus |
Message-ID: | <9610211811.AA22576.cygnus.gnu-win32@gutrune.vlsi.polymtl.ca> |
Original-To: | gnu-win32 AT CYGNUS DOT COM |
Original-Sender: | owner-gnu-win32 AT CYGNUS DOT COM |
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 "gnu-win32-request AT cygnus DOT com" with one line of text: "help".
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |