Word the README better
This commit is contained in:
parent
22057350e0
commit
d1d43387e5
|
@ -50,8 +50,8 @@ Use `break *0x4000b7` to get a breakpoint at the first Brainfuck instruction.
|
||||||
image::gdb-experiment.png[align="center"]
|
image::gdb-experiment.png[align="center"]
|
||||||
|
|
||||||
There is also `gdb-object-file.go` that generates an object file that can be
|
There is also `gdb-object-file.go` that generates an object file that can be
|
||||||
statically linked with `ld`, and with `gdb-object-file-libc.go` you can link
|
statically linked with `ld`, and `gdb-object-file-libc.go` generates an
|
||||||
against the libc with the C compiler, generating an OS-independent binary:
|
OS-independent binary that can be linked against the libc with the C compiler:
|
||||||
|
|
||||||
$ go run gdb-object-file-libc.go program.bf program.o
|
$ go run gdb-object-file-libc.go program.bf program.o
|
||||||
$ cc program.o -o program
|
$ cc program.o -o program
|
||||||
|
|
Loading…
Reference in New Issue