Skip to content

Commit 4cfd420

Browse files
committedAug 17, 2020
README: Add instructions to do a cross build
This was on a ubuntu:18.04 system, using their cross build packages and elfutils and zlib cross built from sources. Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
1 parent 9e495f6 commit 4cfd420

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed
 

‎README.cross

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
CC=s390x-linux-gnu-gcc \
2+
cmake -DDWARF_INCLUDE_DIR=/usr/s390x-linux-gnu/include/ \
3+
-DLIBDW_INCLUDE_DIR=/usr/s390x-linux-gnu/include/ \
4+
-DDWARF_LIBRARY=/usr/s390x-linux-gnu/lib/libdw.so.1 \
5+
-DELF_LIBRARY=/usr/s390x-linux-gnu/lib/libelf.so.1 \
6+
-DZLIB_LIBRARY=/usr/s390x-linux-gnu/lib/libz.so.1 \
7+
-DZLIB_INCLUDE_DIR=/usr/s390x-linux-gnu/include/ ..

0 commit comments

Comments
 (0)