#3551 closed task (fixed)
Move default configuration to separate library
Reported by: | Sebastian Huber | Owned by: | Sebastian Huber |
---|---|---|---|
Priority: | normal | Milestone: | 5.1 |
Component: | lib | Version: | 5 |
Severity: | normal | Keywords: | qualification |
Cc: | Blocked By: | ||
Blocking: | #2514 |
Description
An RTEMS application default configuration is contained in cpukit/libmisc/dummy/default-configuration.c. This default configuration is contained in librtemscpu.a. This has at least two problems:
- Application configuration errors may pull in the default configuration which in turn leads to multiply define symbols error. This is quite confusing. You have to consult the linker map file to figure out what cased the pull in of the default configurations. You need to know what a linker map file is and how you generate it with your build system. This is not very user friendly.
- It prevents the use of default configuration items for each subsystem in librtemscpu.a. This can be used to reduce the size of the configuration itself.
Proposed change: Move the default configuration to a separate library, e.g. librtemsdefaultconfig.a.
Change History (6)
comment:1 Changed on 10/23/18 at 14:12:55 by Sebastian Huber <sebastian.huber@…>
comment:2 Changed on 10/25/18 at 05:52:50 by Sebastian Huber <sebastian.huber@…>
comment:3 Changed on 10/25/18 at 05:57:01 by Sebastian Huber <sebastian.huber@…>
comment:4 Changed on 10/30/18 at 06:11:50 by Sebastian Huber <sebastian.huber@…>
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
In 55b69ed/rtems:
comment:6 Changed on 06/23/21 at 07:16:03 by Sebastian Huber
Keywords: | qualification added |
---|
Note: See
TracTickets for help on using
tickets.
In 1b89636/rtems_waf: