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

Compile kernel with libllvm #2396

Closed
Nsikak1 opened this issue May 1, 2018 · 5 comments
Closed

Compile kernel with libllvm #2396

Nsikak1 opened this issue May 1, 2018 · 5 comments

Comments

@Nsikak1
Copy link

Nsikak1 commented May 1, 2018

Is it possible to compile the Linux kernel with llvm or is the ndk in termux now Thanks.

@its-pointless
Copy link
Contributor

the ndk is termux by default...
If the kernel is able to be compiled by clang it should work. But i don't think most available kernels for most phones compile with clang. But i do have gcc-7 at my repo and people have compiled kernels on that before.

@its-pointless
Copy link
Contributor

Unless you are doing kernel dev stuff very specifically you don't want to compile kernel on device though.

@Nsikak1
Copy link
Author

Nsikak1 commented May 4, 2018

Hi "its-pointless" I actually thought the title was its pointless but what if I want to run make (the make command) when I want to compile how will I do that also how can I add the your GCC in termux Thanks.

@Grimler91
Copy link
Member

Closing this as I believe this is out of our scope.

Best course of action would be to first learn how to compile a kernel on a desktop (and there's plenty of guides for that) and then just do the same on device and then fix (if possible) android specific errors that occur.

@Nsikak1
Copy link
Author

Nsikak1 commented May 4, 2018

Not easy as it seems but will update you on my progress

@ghost ghost locked and limited conversation to collaborators Oct 9, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants