On Thu, Oct 24, 2013 at 6:40 AM, JonY wrote: > On 10/24/2013 14:04, Daniel Richard G. wrote: >> On Wed, 2013 Oct 23 7:55-0400, Earnie Boyd wrote: >>> >>> JonY you forget to mention that what Daniel is trying to do has >>> already been tried once and long since abandoned in favor of using a >>> cross compiler. Remember the -mno-cygwin conglomeration of ugliness? >> >> Well, that's using a single toolchain to generate both Cygwin *and* >> MinGW binaries. And I can see why that would be ugly. >> >> If you think that's what I'm trying to do, however, then you need to >> re-read the thread. >> > > You are doing exactly that, reviving it, and adding more kludge. > > Instead of CC="gcc -mno-cygwin", you are doing it by > CC="i686-pc-mingw32-gcc", expecting even config.guess detection to bend > over.
Daniel, you can have configure use i686-pc-mingw32 or any other host triplet by specifying it in your environment rather than on the command line. Then config.guess doesn't have to guess. export ac_cv_host=i686-pc-mingw32 ./configure The same is true for build as well. If host == build then it is considered native else it is considered a cross compile. -- Earnie -- https://sites.google.com/site/earnieboyd _______________________________________________ config-patches mailing list config-patches@gnu.org https://lists.gnu.org/mailman/listinfo/config-patches