Skip to content

Commit ada7e93

Browse files
author
Robert Wolff
authored
Add parameters for libsoc cross compile steps
-ggdb and -O0 were added to the Cross Compile step in the libsoc compile_test.c command from Part 2. Author: David Mandala Signed-off-by: Robert Wolff <robert.wolff@linaro.org>
1 parent 8482e23 commit ada7e93

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Extras/CrossCompile/CommandLine.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ $ cp board_test.c compile_test.c
201201

202202
**Cross compile:**
203203

204-
`$ aarch64-linux-gnu-gcc -I /usr/aarch64-linux-gnu/local/include/ -L /usr/aarch64-linux-gnu/local/lib/ compile_test.c -o compile_test.arm -lsoc`
204+
`$ aarch64-linux-gnu-gcc -ggdb -O0 -I /usr/aarch64-linux-gnu/local/include/ -L /usr/aarch64-linux-gnu/local/lib/ compile_test.c -o compile_test.arm -lsoc`
205205

206206
**Test:**
207207

0 commit comments

Comments
 (0)