[dm-crypt] Help with cross compilation needed

Moshe Kravchik mkravchik at hotmail.com
Wed Nov 1 12:19:47 CET 2017

I’m a newbie to cross compiling so excuse me if it is a dump question. I need to cross compile cryptsetup on my x86-64_linux_gnu for arm Linux machine. I’ve run configure with the –host set to arm-linux-gnueabihf. But the built binaries are for my machine, not for the target one.

I guess I need to point it to the right toolchain, sysroot for the includes and such. I tried to use –with-sysroot, but it did not have any effect.

Configure.log attached.

I’d appreciate a detailed guidance on how this should work. Also, I have toolchains, but what about dependent libraries: devmapper, popt, gcrypt. What do I do with them?

Thanks a lot,

Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows 10

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.saout.de/pipermail/dm-crypt/attachments/20171101/e5167fe4/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: config.log
Type: application/octet-stream
Size: 55922 bytes
Desc: config.log
URL: <http://www.saout.de/pipermail/dm-crypt/attachments/20171101/e5167fe4/attachment-0001.obj>

More information about the dm-crypt mailing list