mirror of
https://github.com/justinethier/cyclone.git
synced 2025-05-24 12:35:05 +02:00
Link to line number
This commit is contained in:
parent
07f6eb3ae5
commit
9546de1714
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@ One of the easiest things to do is run a profiler on the code to figure out what
|
||||||
|
|
||||||
A compiled Cyclone program is just a regular C program so we can use the standard GNU tools for profiling and debugging.
|
A compiled Cyclone program is just a regular C program so we can use the standard GNU tools for profiling and debugging.
|
||||||
|
|
||||||
To get started we change [`Makefile.config`](https://github.com/justinethier/cyclone-bootstrap/blob/master/Makefile.config) in cyclone-bootstrap to enable profiling. The `-O2` option in the lines below are replaced with `-g -pg`:
|
To get started we change [`Makefile.config`](https://github.com/justinethier/cyclone-bootstrap/blob/master/Makefile.config#L8) in cyclone-bootstrap to enable profiling. The `-O2` option in the lines below are replaced with `-g -pg`:
|
||||||
|
|
||||||
CFLAGS ?= -g -pg -fPIC -rdynamic -Wall -Iinclude -L.
|
CFLAGS ?= -g -pg -fPIC -rdynamic -Wall -Iinclude -L.
|
||||||
COMP_CFLAGS ?= -g -pg -fPIC -rdynamic -Wall -I$(PREFIX)/include -L$(PREFIX)/lib
|
COMP_CFLAGS ?= -g -pg -fPIC -rdynamic -Wall -I$(PREFIX)/include -L$(PREFIX)/lib
|
||||||
|
|
Loading…
Add table
Reference in a new issue