Skip to content

feat: allow skip the dependency on _putchar#144

Open
neko-para wants to merge 1 commit intompaland:masterfrom
neko-para:master
Open

feat: allow skip the dependency on _putchar#144
neko-para wants to merge 1 commit intompaland:masterfrom
neko-para:master

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
Collaborator

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

2 participants