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

would love to see this also support clang #1

Open
nmenon opened this issue Jul 19, 2022 · 3 comments
Open

would love to see this also support clang #1

nmenon opened this issue Jul 19, 2022 · 3 comments

Comments

@nmenon
Copy link
Contributor

nmenon commented Jul 19, 2022

Would be awesome if we can make this work with clang as well (something like make LLVM=1)?

@kaofishy
Copy link
Owner

Hi @nmenon do you mean regular clang or TI clang? I'm not very familiar with regular baremetal clang but it should be fairly straight-forward to port. For TI clang the stuff I pulled from the Processor SDK should work with no modification, and we can probably get away with copypasting the linker file. Only issue I can see is the newlib specific code (C startup and stdout retargeting etc) which from what I can gather is quite different from TI's libc.

@nmenon
Copy link
Contributor Author

nmenon commented Jul 20, 2022

@kaofishy I meant regular llvm/clang

Yep, I had a bit of a challenge with libc.

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

3 participants
@nmenon @kaofishy and others