I'm working on a project, where I need to modify dd
for Android, but I can't figure out how to build it. I've tried a simple way using arm-linux-gnueabi-gcc dd.c -o dd
, but of course that wouldn't work. And I also can't find a makefile.
Is it possible to just build dd
or do I need to build toolbox
or the whole system? In any case, how do I do that?
I found the source code here.
EDIT:
Is it possible to build the GNU core utils for arm
? I tried using ./configure --host=arm-linux --target=arm-linux && make
, but file dd
still returns executable, x86-64
.