[LLVMdev] dragonegg build failure

Duncan Sands baldrick at free.fr
Fri Apr 8 04:48:02 PDT 2011


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.



More information about the llvm-dev mailing list