If you have osx arm64 and gcc (not clang) installed...
jfourkiotis
john.fourkiotis at gmail.com
Mon Apr 13 17:02:34 UTC 2026
On Tuesday, 7 April 2026 at 22:56:37 UTC, Walter Bright wrote:
> Can you please compile this program:
> ```C
> #include <stdio.h>
>
> extern int foo(int *pi);
>
> int main() { int i = 7; return foo(&i); }
> ```
> with:
>
> gcc -c -femit-dwarf-unwind=always test.c
>
>
> and pls send me the resulting .o file. The reason I ask is
> because it turns out that gcc on the Mac is actually clang, and
> clang won't emit the dwarf eh_frame stuff. I need an example to
> make sure I'm doing it right.
Do you still need it ?
More information about the Digitalmars-d
mailing list