On Wed, Jan 18, 2012 at 7:05 AM, Simon Marlow <[email protected]> wrote:
> 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.

aha, thanks!

-- Gaby

_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to