
The following lines are in fptools/ghc/rts/Makefile. They handle configure'ing GMP, but contrary to what the comment indicates these lines *cause* problems when I'm building for mingw32 from cygwin. I have to edit the makefile so that the first branch (the one that passes 'host') is taken instead of the second branch (the one that passes 'target'). Does someone know of a specific situation in which these lines are needed? If not I think it might be best to just use the one brance and make sure to pass through *all* of build, host, and target. Michael D. Adams mdmkolbe@yahoo.com # ----------------------------------------------------------------------------- # Compile GMP only if we don't have it already # # We use GMP's own configuration stuff, because it's all rather hairy # and not worth re-implementing in our Makefile framework. ifneq "$(HaveLibGmp)" "YES" ifneq "$(HaveFrameworkHaskellSupport)" "YES" ifneq "$(HOSTPLATFORM)" "i386-unknown-mingw32" boot :: cd gmp && ./configure --enable-shared=no \ --host=`echo $(HOSTPLATFORM) | sed 's/i[567]86/i486/g'` else # Pass --target to configure of GMP, so that building for mingwin under # cygwin works properly (when the host is not the same as the target) boot :: cd gmp && CC=$(WhatGccIsCalled) ./configure --enable-shared=no --target=$(HOSTPLATFORM) endif __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com
participants (1)
-
Michael Adams