If you have osx arm64 and gcc (not clang) installed...

Walter Bright newshound2 at digitalmars.com
Tue Apr 7 22:56:37 UTC 2026


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.


More information about the Digitalmars-d mailing list