Christoffer Lerno
Christoffer Lerno
It will all get cleaned up.
Great, I'll fix that right away.
Unfortunately not. MacOS for example does not support static linking of libc
How does this work now? Is it better?
Do you know where libc is found for you?
@data-man can you see what possible paths there are to crt1.o and crtbegin.o? The simpler the better.
Please try the very latest version.
Mitigating 1: - Multiple functions for the same function - Hiding function availability behind macros - ObjC style dynamic dispatch - ObjC style runtime availability requests Mitigating 2: - Structs...
Feature: ```c fn void foo() @dynamic; ``` Can be checked if it is available, and called if it is: ```c fn void test() { if (foo.available) foo(); } ```
Roughly this is what it could have been in C: ```c extern int fooNewFunction(void) __attribute__((dynamic)); int test() { if (!__exists(fooNewFunction)) return -1; fooNewFunction(); } ``` Under the covers this is...