compiler made by RSB

2654577874 2654577874 at qq.com
Wed Mar 30 14:04:36 UTC 2016


Thanks Gedare and Chris,clear answer.

Best Wish
Xinyuan Wang

>On Tue, Mar 29, 2016 at 4:56 PM, Chris Johns <chrisj at rtems.org> wrote:
>> On 30/03/2016 12:47 AM, 2654577874 wrote:
>>> I'm new here,and followed the guide to make my own compiler by RSB。
>>> is this tool made the best suitable compiler ?
>>
>> Yes.
>>
>>>  I'm not expert on this but
>>> tools like crosstool-ng can configure detailly , for example if you config
>>> a ARM cpu you choose armv6/armv7 , soft/hard float point unit etc。
>>> precise configuration makes compiler generates  effective machine code?
>>> in RSB I see only one config file for ARM。how does it adapt to all architecture
>>> variants ?
>>
>> The RSB built GCC has multiple libraries or multilibs, one for each
>> variant of the instruction set supported by the architecture. You select
>> the specific cpu or machine using command line arguments and gcc selects
>> the correct libraries etc. The GCC documentation provides more detail on
>> these command line options.
>>
>> For examples of these options being used in RTEMS search for the .cfg
>> files in the BSP directories (c/src/lib/libbsp/arm/...). They contain
>> the options currently used.
>>
>That was a much better answer than my 5-hour lagged one.
>
>> Chris
>> _______________________________________________
>> users mailing list
>> users at rtems.org
>> http://lists.rtems.org/mailman/listinfo/users
>


More information about the users mailing list