On 17/01/2012 20:32, Gabriel Dos Reis wrote:
Hi Simon M.,
Is there a predicate somewhere in the build scripts that
I can call at configuration-time to determine if a platform
is registered or not? Or should I infer that from
$TargetArch=ArchUnknown || $TargetOS=OSUnknown
?
You can check the value of $(GhcUnregisterised), which is set in
mk/config.mk:
ifneq "$(findstring $(HostArch_CPP), i386 x86_64 powerpc arm)" ""
GhcUnregisterised=NO
else
GhcUnregisterised=YES
endif
but can be overriden in mk/build.mk.
Cheers,
Simon
_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc