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

feat: allow skip the dependency on _putchar #144

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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