Skip to content

Commit 0dbc091

Browse files
committed
update regarding Mac M1
1 parent 33db506 commit 0dbc091

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,9 @@ The `runtime.c` file needs to be compiled by doing the following
99
This will produce a file named `runtime.o`. The -g flag is to tell the
1010
compiler to produce debug information that you may need to use
1111
the gdb (or lldb) debugger.
12+
13+
On a Mac with an M1 (ARM) processor, use the `-arch x86_64` flag to
14+
compile the runtime:
15+
```
16+
gcc -c -g -std=c99 -arch x86_64 runtime.c
17+
```

0 commit comments

Comments
 (0)