[RTEMS Project] #3451: Remove size_rtems script
RTEMS trac
trac at rtems.org
Wed Jun 13 08:17:24 UTC 2018
#3451: Remove size_rtems script
-----------------------------+------------------------------
Reporter: Sebastian Huber | Owner: Sebastian Huber
Type: task | Status: assigned
Priority: normal | Milestone: 5.1
Component: tool | Version: 5
Severity: normal | Resolution:
Keywords: | Blocked By:
Blocking: |
-----------------------------+------------------------------
Comment (by Joel Sherrill):
I don't disagree with removing this. The question this script is trying to
answer is "what's the code space requirement for RTEMS?" This is usually
asked as "How big is RTEMS?" The answer is that it depends.
This script produced a report similar to some other RTOS when it was
written. Buy I evolved to think that the linked size of sample reference
applications like base_sp, minimum, hello, minimum networking, etc.
A real application will vary in size based on the set of services it uses.
Often those services depends on things that add code which we wouldn't
consider part of RTEMS. A C++ application with megabytes of code from the
C++ Standard Library is large but may use a very small but of code from
RTEMS itself. The Qt demos were similar.
Also size varies by architecture, optimization level, gcc version,
function section linking, etc.
There is no single answer and no standard guides. So we need to decide
what we think is useful, explain it, and watch it.
--
Ticket URL: <http://devel.rtems.org/ticket/3451#comment:1>
RTEMS Project <http://www.rtems.org/>
RTEMS Project
More information about the bugs
mailing list