Cross Compiling Applications Simple packages: make CC=my-cross-gcc Autotools packages: CC=my-cross-gcc ./configure --prefix=/usr --host=arm-linux \ && make && make install DESTDIR=/target Special case: gdbserver (tested w/ version 9.1): CC=my-cross-gcc /path/to/gdb-9.1/gdb/gdbserver/configure \ --host=arm-linux --prefix=/usr \ && make && make install DESTDIR=/target Special case: gdb (tested w/version 9.1): /path/to/gdb-9.1/configure --target=arm-linux \ --prefix=/usr/local/cross-tools \ && make && make install