Skip to content

Add detection of newlib vs picolibc if not specified#2935

Open
kilograham wants to merge 1 commit into
developfrom
clib-detect
Open

Add detection of newlib vs picolibc if not specified#2935
kilograham wants to merge 1 commit into
developfrom
clib-detect

Conversation

@kilograham
Copy link
Copy Markdown
Contributor

No description provided.

Copy link
Copy Markdown
Contributor

@rgrr rgrr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested it with my gcc/picolibc installation on Debian testing which no longer has newlib for arm-none-eabi

file(WRITE "${CLIB_DETECT_SOURCE}" "${CLIB_DETECT_CODE}")

set(CMAKE_TRY_COMPILE_TARGET_TYPE STATIC_LIBRARY)
foreach(CLIB picolibc newlib)
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think order should be "newlib picolibc", because newlib was default before

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants