![]() ![]() |
Mar 6 2009, 01:58 AM
Post
#1
|
|
|
Group: Members Posts: 76 Joined: 26-September 07 Member No.: 20,757 |
Hello,
first of all, thanks a lot for the great Zubuntu distro. What I need just works ;-). This is the first time I am trying to compile something on my Zaurus, which I actually acquired some time ago mainly in order to port my own software to ARM based platform and to play with it. I have a rather small project written in C++ heavily using Boost libraries and packaged with autotools chain. No problem under Zubuntu, configure worked perfectly, even a devel distro build (after I downloaded and compiled libtool2 which went as a breeze - well, pure C). Now the poor gadget is fighting with my code already since 3 hours and still it did not finish crunching the first(!) cpp file. When I check it with g++ -E ..., I can see that the piece after expanding all the macros has 60k+ lines in C++. Well, there are bigger still to come... What can I do to speed up the compilation process? How do you guys compile large C++ codebases? Overclocking doesn't seem to be an option, so with this speed of progress, if I am lucky, I will probably wait about a week until my smallish program (it has about 5k physical source lines of code) compiles and links. Is there perhaps some quick and dirty manual for cross-compiling for ARM (in particular Zubuntu 1.0)? Thanks for any advice, Peter. |
|
|
|
Mar 6 2009, 04:05 AM
Post
#2
|
|
![]() Group: Members Posts: 376 Joined: 18-March 04 From: The Netherlands Member No.: 2,380 |
Always make sure you have a swap partition. You could also try to use distcc, but I prefer using Qemu for doing "native" compilation. For cross compilation use Poky or OpenEmbedded. A manual can be found here
Cheers, cortez |
|
|
|
Mar 9 2009, 12:26 AM
Post
#3
|
|
|
Group: Members Posts: 76 Joined: 26-September 07 Member No.: 20,757 |
Always make sure you have a swap partition. You could also try to use distcc, but I prefer using Qemu for doing "native" compilation. Thanks a lot. The Qemu option is seems promising. And thanks for Zubuntu, cortez. This is definitely one of the best pieces I could play with in the last years. Any news from the Ubuntu people? |
|
|
|
Mar 9 2009, 02:43 AM
Post
#4
|
|
|
Group: Members Posts: 99 Joined: 13-November 06 Member No.: 12,390 |
Always make sure you have a swap partition. You could also try to use distcc, but I prefer using Qemu for doing "native" compilation. Thanks a lot. The Qemu option is seems promising. And thanks for Zubuntu, cortez. This is definitely one of the best pieces I could play with in the last years. Any news from the Ubuntu people? Compilation works albeit slowly on the Zaurus. I have compiled emacs (latest cvs version) - not what I would call a trivial application - in about 2-3 hours from scratch. As Cortez says make sure you have a swap partition or even just a swapfile. Overclocking is currently not compiled into the version of the kernel - but heres hoping someone gets it working again. |
|
|
|
Mar 9 2009, 12:47 PM
Post
#5
|
|
![]() Group: Members Posts: 376 Joined: 18-March 04 From: The Netherlands Member No.: 2,380 |
Always make sure you have a swap partition. You could also try to use distcc, but I prefer using Qemu for doing "native" compilation. Thanks a lot. The Qemu option is seems promising. And thanks for Zubuntu, cortez. This is definitely one of the best pieces I could play with in the last years. Any news from the Ubuntu people? Glad you like it. The 2.6.28 kernel is getting along pretty well. If only I could figure out why the device won't suspend when pressing the on/off button. I'm sooooo close to a solution, but it takes hours and hours of debugging. I still have to test a lot of stuff, like brightness control, sound, ext4 and overclocking, which is compiled in this time |
|
|
|
Mar 10 2009, 01:10 AM
Post
#6
|
|
|
Group: Members Posts: 76 Joined: 26-September 07 Member No.: 20,757 |
Compilation works albeit slowly on the Zaurus. I have compiled emacs (latest cvs version) - not what I would call a trivial application - in about 2-3 hours from scratch. As Cortez says make sure you have a swap partition or even just a swapfile. Overclocking is currently not compiled into the version of the kernel - but heres hoping someone gets it working again. Thanks for advice. Well, I have to check how did I install the Zaurus when I come home ;-). Sorry for a dumb question: in the case there's no swap partition, how can I install a swap file? |
|
|
|
Mar 10 2009, 05:54 AM
Post
#7
|
|
|
Group: Members Posts: 99 Joined: 13-November 06 Member No.: 12,390 |
Compilation works albeit slowly on the Zaurus. I have compiled emacs (latest cvs version) - not what I would call a trivial application - in about 2-3 hours from scratch. As Cortez says make sure you have a swap partition or even just a swapfile. Overclocking is currently not compiled into the version of the kernel - but heres hoping someone gets it working again. Thanks for advice. Well, I have to check how did I install the Zaurus when I come home ;-). Sorry for a dumb question: in the case there's no swap partition, how can I install a swap file? Google for Linux swapfile or let me do it for you swapfile |
|
|
|
![]() ![]() |
|
Lo-Fi Version | Time is now: 21st May 2013 - 08:00 AM |