[RTEMS Project] #3912: Describe relationship between RTEMS and gcc cross-compiler

RTEMS trac trac at rtems.org
Thu Mar 19 22:36:30 UTC 2020


#3912: Describe relationship between RTEMS and gcc cross-compiler
--------------------------+----------------------------
 Reporter:  Gedare Bloom  |       Owner:  Needs Funding
     Type:  task          |      Status:  assigned
 Priority:  normal        |   Milestone:  Indefinite
Component:  doc           |     Version:
 Severity:  normal        |  Resolution:
 Keywords:  small,task    |  Blocked By:
 Blocking:                |
--------------------------+----------------------------
Description changed by Gedare Bloom:

Old description:

> Occasionally new users are confused why they can't use their
> distributions cross-compiler for their target, e.g., the riscv64-linux-
> gnu or the arm-none-eabi-gcc. This task is to write a paragraph or two in
> the User's Guide to explain why this doesn't work.
>
> You will need to identify a good place in the guide to put this
> information, and work with the community to understand the restrictions.
> Probably somewhere near the start of the user's guide or in the quick
> start will be good.
>
> At a high-level, the reasons that one must use the rtemsX-gcc are:
> * newlib will be configured correctly for rtems, which is where much of
> our POSIX and libc support comes from.
> * threading in GCC support libraries is tailored to RTEMS
> * to provide the preprocessor define __rtems__
> There may be some other small reasons that could come up from discussion.

New description:

 Occasionally new users are confused why they can't use their distributions
 cross-compiler for their target, e.g., the riscv64-linux-gnu or the arm-
 none-eabi-gcc. This task is to write a paragraph or two in the User's
 Guide to explain why this doesn't work.

 You will need to identify a good place in the guide to put this
 information, and work with the community to understand the restrictions.
 Probably somewhere near the start of the user's guide or in the quick
 start will be good.

 At a high-level, the reasons that one must use the rtemsX-gcc are:
 * newlib will be configured correctly for rtems, which is where much of
 our POSIX and libc support comes from.
 * threading in GCC support libraries is tailored to RTEMS
 * to provide the preprocessor define `__rtems__`
 There may be some other small reasons that could come up from discussion.

--

--
Ticket URL: <http://devel.rtems.org/ticket/3912#comment:1>
RTEMS Project <http://www.rtems.org/>
RTEMS Project


More information about the bugs mailing list