#zig compiler as C compiler replacement: the --wrap linker flag
1 messages · Page 1 of 1 (latest)
i believe that's an issue with clang options more than zigcc options themselves
1 messages · Page 1 of 1 (latest)
I'm looking for zig (the compiler) equivalent for the following gcc command:
gcc -Wl,--wrap=myfunc mycode.c
So far, all I've tried is:
zig cc -Wl,--wrap=myfunc mycode.c
and I got the message: "warning: unsupported linker arg: --wrap"
i believe that's an issue with clang options more than zigcc options themselves