Skip to content

Conversation

neko-para
Copy link

@neko-para neko-para commented Nov 14, 2024

Currently, it is required to implement _putchar even don't ever plan using it. This PR adds a config option to skip the calling on it.


With the options -dead_strip on MacOS or -Wl,-gc-sections on Linux, the symbol does being stripped out thus no need to implement it. But these options have their own side effects, which won't always fit. (e.g. -Wl,-gc-sections would break _init)

@eyalroz
Copy link

eyalroz commented Nov 14, 2024

@neko-para : This repository is abandoned. Please have a look at the active fork.

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