Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stray files in libapp.a #8206

Closed
tejlmand opened this issue Jun 6, 2018 · 1 comment

Comments

Projects
None yet
3 participants
@tejlmand
Copy link
Collaborator

commented Jun 6, 2018

I have noticed that stray files occurs in the libapp.a which are not coming from the sample applications.

Those files are:
atoi.c
strtol.c
strtoul.c
strncasecmp.c
strstr.c
string.c
prf.c
stdout_console.c
sprintf.c
fprintf.c

The files are present when the minimal C lib in zephyr is used.
The files are populated to libapp.a in the following CMakeLists.txt file:
lib/libc/minimal/CMakeLists.txt

I propose that those files are placed in their own minimal C library and then linked to the app instead.

@SebastianBoe

This comment has been minimized.

Copy link
Collaborator

commented Jun 6, 2018

I agree, I don't know why they were added to the 'app' library.

This is non-standard.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.