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/ ..