LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Embedded & Single-board computer (https://www.linuxquestions.org/questions/linux-embedded-and-single-board-computer-78/)
-   -   cross-compiling for ARM (https://www.linuxquestions.org/questions/linux-embedded-and-single-board-computer-78/cross-compiling-for-arm-4175594069/)

xiongnu 11-22-2016 06:52 PM

cross-compiling for ARM
 
hi, i'd like to cross-compiling programs for my embedded system based on busybox.

i downloaded the 'aboriginal cross-compiler' and 'dropbear' from busybox site (https://busybox.net/FAQ.html#build), untar them in my home directory under 'embedded'


CROSS_COMPILE="$PWD/cross-compiler-armv6l/bin/armv6l-"
[erdos@quantum embedded]$ cd drop*
[erdos@quantum dropbear-2016.74]$
[erdos@quantum dropbear-2016.74]$ make CROSS_COMPILE="$CROSS_COMPILE" defconfig
make: *** No rule to make target 'defconfig'. Stop.
[erdos@quantum dropbear-2016.74]$ make CROSS_COMPILE="$CROSS_COMPILE" configure
make: Nothing to be done for 'configure'.
[erdos@quantum dropbear-2016.74]$ make CROSS_COMPILE="$CROSS_COMPILE" .configure
make: *** No rule to make target '.configure'. Stop.

what do i need to do?

business_kid 11-23-2016 04:51 AM

Some things are distributed without the trimmings in place. Try changing to the top source dir and running
Code:

xmkmf -a


All times are GMT -5. The time now is 02:03 AM.