~jpsamaroo/pahole

4cfd420f7ef13af4c6f7afee3c4c4a21b49377bc — Arnaldo Carvalho de Melo 1 year, 5 months ago 9e495f6
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 <acme@redhat.com>
1 files changed, 7 insertions(+), 0 deletions(-)

A README.cross
A README.cross => README.cross +7 -0
@@ 0,0 1,7 @@
CC=s390x-linux-gnu-gcc \
	cmake -DDWARF_INCLUDE_DIR=/usr/s390x-linux-gnu/include/ \
	      -DLIBDW_INCLUDE_DIR=/usr/s390x-linux-gnu/include/ \
	      -DDWARF_LIBRARY=/usr/s390x-linux-gnu/lib/libdw.so.1 \
	      -DELF_LIBRARY=/usr/s390x-linux-gnu/lib/libelf.so.1 \
	      -DZLIB_LIBRARY=/usr/s390x-linux-gnu/lib/libz.so.1 \
	      -DZLIB_INCLUDE_DIR=/usr/s390x-linux-gnu/include/ ..