Cross compiling - How to start

This forum is for discussion about general software issues.

Re: Cross compiling - How to start

Postby moonman » Thu Apr 10, 2014 6:31 pm

Qemu is buggy, and the compiled code comes out buggy because of this, if it compiles at all.
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3387
Joined: Sat Jan 15, 2011 3:36 am

Re: Cross compiling - How to start

Postby caocao » Mon Apr 21, 2014 3:33 pm

I have the board now. It's Samsung Odoid-U3 (http://archlinuxarm.org/platforms/armv7 ... /odroid-u3)
I will try to compile use distcc tool.
However, I have some doubt about the Operating System of the board. It's Ubuntu 13.10 version
$this->bbcode_second_pass_quote('', '
')odroid@odroid:~$ uname -a
Linux odroid 3.8.13.19 #1 SMP PREEMPT Wed Mar 26 12:38:58 BRT 2014 armv7l armv7l armv7l GNU/Linux
odroid@odroid:~$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=13.10
DISTRIB_CODENAME=saucy
DISTRIB_DESCRIPTION="Ubuntu 13.10"


:?: Is it Arch Linux or not :?:

According to the board specification, the OS should Arch Linux ARM. However it seems not.
As I check, pacman and makepkg is not recognized. It manage installed software by "Ubuntu Software Center 13.10" like in normal Debian.

I ask this because I think it concerns how to setup the distcc with cross-compile tool.
caocao
 
Posts: 6
Joined: Tue Apr 08, 2014 1:53 am

Re: Cross compiling - How to start

Postby moonman » Mon Apr 21, 2014 8:42 pm

It is ubuntu, just like it says, not arch
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3387
Joined: Sat Jan 15, 2011 3:36 am

Re: Cross compiling - How to start

Postby tomcheng76 » Fri May 02, 2014 8:46 am

$this->bbcode_second_pass_quote('moonman', 'A')ctual compilation is done on the target device with the help of distcc to speedup the process. Lookup distcc and what it does.


Any distcc start up guide ?

Thanks
tomcheng76
 
Posts: 130
Joined: Mon Dec 13, 2010 11:24 am

Re: Cross compiling - How to start

Postby WarheadsSE » Fri May 02, 2014 12:23 pm

Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: Cross compiling - How to start

Postby starquake » Mon Jun 02, 2014 10:07 pm

Is it worth the trouble to add one PC with an i7 2.3 Ghz?

I might give it a try anyway though :P
starquake
 
Posts: 6
Joined: Mon Jun 02, 2014 10:04 pm

Previous

Return to General

Who is online

Users browsing this forum: No registered users and 31 guests