-
Notifications
You must be signed in to change notification settings - Fork 321
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
can not build under gcc-less linux #640
Comments
What happens when clang is used to compile plan 9 instead? |
i believe it works fine; the main issue is that i had to patch this file for anything to run in the first place |
Great. I see the problem now. The Linux branch only checks CC9 against tcc. There's plenty of code there to support clang on other platforms already. As you know it already works, are you allowed to share, or even contribute your patch? Otherwise, if something else is already setting CC9 to clang, and if useclang works on Linux just as well as on BSDs, would something like the new code below suffice, to treat Linux clang the same as Dragon clang and BSD clang?
|
it should suffice, yes! |
plan9port/bin/9c
Lines 115 to 122 in be7c68f
some linux distributions (e.g. chimera linux) use clang as a default toolchain. this means 9c can't be used as is
The text was updated successfully, but these errors were encountered: