[LLVMdev] dragonegg build failure

Duncan Sands
Fri, 08 Apr 2011 11:48:02 -0000

Hi Jack,

>      Also note that under darwin10, on a EMT64-capable hardware, I get...
>
> ./TargetInfo -t
> x86_64-apple-darwin10.5.0
>
> ./TargetInfo -a
> x86_64
>
> ./TargetInfo -p
> x86
>
> So it appears that TargetInfo needs to be called with -a and not -p on
darwin10.

no, it is correct.  The -p option is used to determine which subdirectory of the
dragonegg source should be used when building for the target processor.  x86 is
thus correct as it handles both x86-32 and x86-64.

Ciao, Duncan.