Hi, I was interested in your project. I saw the source of your compiler.
Excuse me, but this https://github.com/vlang/v/blob/master/compiler/main.v#L495 is stupid. Why there is a hardcoding for clang and dynamic linker? Okay, it can find clang binary automatically, but how can I use your compiler on musl systems for example? Clang can automatically detect Linc, their crts and etc.
Please be respectful. That code is ugly, but it's only supposed to work on my machine. I'll fix cross compiling for everyone by tomorrow.
Thanks
On Sun, Jun 23, 2019, 2:29 PM Alex Medvednikov notifications@github.com
wrote:
Please be respectful. That code is ugly, but it's only supposed to work on
my machine. I'll fix cross compiling for everyone by tomorrow.—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/vlang/v/issues/443?email_source=notifications&email_token=ALI22EOBBC7UWUV7LYZPZCLP35NA3A5CNFSM4H2YVWCKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODYK4H7Y#issuecomment-504742911,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ALI22EK224D32LNPU2HXTDLP35NA3ANCNFSM4H2YVWCA
.
Most helpful comment
Please be respectful. That code is ugly, but it's only supposed to work on my machine. I'll fix cross compiling for everyone by tomorrow.