LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer
User Name
Password
Linux - Embedded & Single-board computer This forum is for the discussion of Linux on both embedded devices and single-board computers (such as the Raspberry Pi, BeagleBoard and PandaBoard). Discussions involving Arduino, plug computers and other micro-controller like devices are also welcome.

Notices


Reply
  Search this Thread
Old 11-22-2016, 06:52 PM   #1
xiongnu
Member
 
Registered: Sep 2004
Distribution: Devuan, Void
Posts: 264

Rep: Reputation: 23
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?
 
Old 11-23-2016, 04:51 AM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,140

Rep: Reputation: 2307Reputation: 2307Reputation: 2307Reputation: 2307Reputation: 2307Reputation: 2307Reputation: 2307Reputation: 2307Reputation: 2307Reputation: 2307Reputation: 2307
Some things are distributed without the trimmings in place. Try changing to the top source dir and running
Code:
xmkmf -a
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
cross compiling for ARM mini2440 ashokspeedy Linux - Embedded & Single-board computer 3 08-31-2015 06:54 AM
cross compiling apache-2.4.12 for arm MagicPhoton Linux - Newbie 5 06-07-2015 04:23 PM
Cross Compiling For ARM ExternalUse Linux - Software 1 06-27-2014 01:39 AM
Cross compiling for ARM Hachaso Programming 1 06-26-2009 06:07 AM
Cross compiling utftpd for arm SachinTCS Linux - Desktop 1 04-13-2007 02:11 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer

All times are GMT -5. The time now is 06:30 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration