[cfe-dev] clang command line options to select target CPU

Paul S clang at dataworx.com.au
Tue Mar 13 14:54:49 PDT 2012


Thanks guys - that did it.

In case I need to find info on other targets - Is there anywhere I could 
have found this documented ?

Cheers, Paul.

On 14/03/12 07:42, Hal Finkel wrote:
> Paul,
>
> Remove the = and use a space instead.
>
>   -Hal
>
> On Wed, 14 Mar 2012 07:29:41 +1000
> Paul S<clang at dataworx.com.au>  wrote:
>
>    
>> Thanks Anton,
>>
>> I'm running on Ubuntu 10.04 and when I try
>>
>> clang -ccc-host-triple=msp430-elf -S t.c
>>
>> the response is ...
>>
>> clang: error: unsupported option '-ccc-host-triple=msp430-elf'
>>
>> Is there any way I can query clang for a valid list of host triples ?
>>
>> Cheers, Paul
>>
>> On 14/03/12 07:09, Anton Korobeynikov wrote:
>>      
>>> Hello
>>>
>>>
>>>        
>>>> Can anybody steer me in the right direction ?
>>>>
>>>>          
>>> In 3.0 you might try -ccc-host-triple=msp430-elf
>>>
>>>
>>>        
>> _______________________________________________
>> cfe-dev mailing list
>> cfe-dev at cs.uiuc.edu
>> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
>>      
>
>
>    




More information about the cfe-dev mailing list