linux-on-aakash readme file (setting_up_software_toolchain.rst)

7 views
Skip to first unread message

Manoj Gudi

unread,
Jan 11, 2013, 9:58:32 AM1/11/13
to linux_o...@googlegroups.com
1 > Why do I need to install qemu-user-static ?



2> In make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- uImage  I get error, CROSS_COMPILE=arm-linux-gnueabi works; any idea why ?


Srikant

unread,
Jan 11, 2013, 10:21:04 AM1/11/13
to Manoj Gudi, linux_o...@googlegroups.com
2nd point I didn't get it. May be arm-linux-gnueabi is not in your path. Try typing arm and use tab completion to verify before running this make command. You know these better :-)




--
 
 

Manoj Gudi

unread,
Jan 11, 2013, 12:13:40 PM1/11/13
to Srikant, linux_o...@googlegroups.com
yes I realized that is silly point

also secondly, I m getting familiar with compiling different configurations... Each time I compile it takes around 7mins to cook with -j2 flag which is frankly one coffee break...
To reduce this, I tried clustering with my netbook using Distcc but it is throwing error reporting about missing arm libs even when my netbook already has gcc-arm/cpp-arm toolchain installed.

For regular compilation distcc works and saves significant time.

Any ideas why it is not working for cross compilation ?


Srikant

unread,
Jan 11, 2013, 12:15:03 PM1/11/13
to Manoj Gudi, linux_o...@googlegroups.com
No idea, never tried clustering !

isachin

unread,
Jan 11, 2013, 12:27:00 PM1/11/13
to Manoj Gudi, Srikant, linux_o...@googlegroups.com
are you compiling across network ? what cmds have you used ?
please also try crosstool-ng


--
 
 



--
Sachin

Manoj Gudi

unread,
Jan 11, 2013, 12:31:42 PM1/11/13
to isachin, Srikant, linux_o...@googlegroups.com
On Fri, Jan 11, 2013 at 10:57 PM, isachin <iclco...@gmail.com> wrote:
are you compiling across network ?
> Using single LAN cable to bridge Laptop and netbook with no other interfaces up.
what cmds have you used ?
> make -j2 ARCH=arm CC=distcc CROSS_COMPILE=arm-linux-gnueabi- uImage
please also try crosstool-ng
> yes I'll check that

isachin

unread,
Jan 11, 2013, 12:47:29 PM1/11/13
to Manoj Gudi, Srikant, linux_o...@googlegroups.com
try CROSS_COMPILE=arm-none-linux-gnueabi- uImage also
--
Sachin

Manoj Gudi

unread,
Jan 11, 2013, 12:55:47 PM1/11/13
to isachin, Srikant, linux_o...@googlegroups.com
as stated before, I get an error with arm-none-linux-gnueabi
manoj@manoj-Lenovo-G550:~/linux-sunxi$ make -j2 ARCH=arm CROSS_COMPILE=arm-linux-none-gnueabi- uImage
make: arm-linux-none-gnueabi-gcc: Command not found

I read briefly about crosstool-ng; I am not able to co-relate with situation. Distcc itself isnt a compiler, its just a wrapper for C compiler,
It sends out pre-processed file to other machines in network for them to compile

Pranav Salunke

unread,
Jan 11, 2013, 1:01:20 PM1/11/13
to linux_o...@googlegroups.com, isachin, Srikant

just to basics sometimes we do some silly mistakes ... are you sure your networking interfaces are properly setup ?

Manoj Gudi

unread,
Jan 11, 2013, 1:06:00 PM1/11/13
to Pranav Salunke, linux_o...@googlegroups.com, isachin, Srikant
On Fri, Jan 11, 2013 at 11:31 PM, Pranav Salunke <pps.p...@gmail.com> wrote:

just to basics sometimes we do some silly mistakes ... are you sure your networking interfaces are properly setup ?
>> Of course, the fact that I am able to compile python 3.2 source (and also the fact that I can ping my netbook IP) proves setup is correct and working

Here's the stat:

with distcc => make time 1:36:133
without distcc => make time 1:42:089




--
 
 

Reply all
Reply to author
Forward
0 new messages