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

Bare-metal libc #25

Open
tvlad1234 opened this issue Feb 21, 2023 · 3 comments
Open

Bare-metal libc #25

tvlad1234 opened this issue Feb 21, 2023 · 3 comments

Comments

@tvlad1234
Copy link
Contributor

I am trying to make a bare-metal hello world program with uclibc, but I am not sure how to do it. Can I please get some suggestions?

@tvlad1234
Copy link
Contributor Author

I have managed to include uClibc (set the path in the Makefile and removed the nostdlib linker flag) , but now I am having trouble with the linker script.

@tvlad1234
Copy link
Contributor Author

tvlad1234 commented Feb 23, 2023

I got it working by using embedlibc from here: https://github.com/cnlohr/ch32v003fun/tree/master/ch32v003evt. I can create a repo with the project template and publish it in case anyone is interested!

@cnlohr
Copy link
Owner

cnlohr commented Feb 24, 2023

I hope to continue to expand upon embedlibc. Would anyone else be up for working on it?

@cnlohr cnlohr reopened this Feb 24, 2023
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

No branches or pull requests

2 participants