![]() |
2010-01-24
, 16:24
|
Posts: 30 |
Thanked: 16 times |
Joined on Jan 2010
@ Berlin
|
#41
|
The Following 2 Users Say Thank You to endboss For This Useful Post: | ||
![]() |
2010-01-24
, 16:38
|
|
Posts: 2,427 |
Thanked: 2,986 times |
Joined on Dec 2007
|
#42
|
Hi, it may be interesting to put the sdk on an external microSD (like debootstrap but with maemo and sdk repositories), use chroot to develop and copy the results on the real OS.
Some hints for that?
![]() |
2010-01-30
, 15:53
|
Posts: 107 |
Thanked: 74 times |
Joined on Jan 2010
|
#43
|
deb http://repository.maemo.org/ fremantle/xxxxx nokia-binaries
The Following User Says Thank You to nicola.mfb For This Useful Post: | ||
![]() |
2010-02-07
, 09:26
|
|
Posts: 664 |
Thanked: 160 times |
Joined on Jul 2008
@ Australia
|
#44
|
Ok, I managed to have a nice SDK partition, here some hints:
* mmcblk1p1 (or another sd partition) formatted and mounted on /sdk
* extract maemo-sdk-rootstrap_5.0_armel.tgz to /sdk
* create dev and mount it from real dev with mount -o bind
* mount /sdk/dev/pts, /sdk/proc and /sdk/sys properly (not sure about the last two, the first is necessary to avoid apt-get errors)
* add to /etc/apt/sources.list the line:
replace xxxxx with the exact string from your scratchbox installation.Code:deb http://repository.maemo.org/ fremantle/xxxxx nokia-binaries
That's all, I just checked out a my qt4 project and compiled with:
* chroot /sdk
* apt-get update
* apt-get install libqt4-dev
* cd blah
* qmake
* make
Please test and elaborate the above instruction, and provide further hints to have all automounted and working at device boot
Regards
Niko
![]() |
2010-02-11
, 16:06
|
Posts: 105 |
Thanked: 15 times |
Joined on Dec 2009
@ Baltimore, USA
|
#45
|
![]() |
2010-02-11
, 16:25
|
Posts: 48 |
Thanked: 32 times |
Joined on Nov 2009
@ CT
|
#46
|
![]() |
2010-02-11
, 16:31
|
Posts: 3,617 |
Thanked: 2,412 times |
Joined on Nov 2009
@ Cambridge, UK
|
#47
|
The Following User Says Thank You to Rob1n For This Useful Post: | ||
![]() |
2010-02-16
, 12:33
|
Posts: 13 |
Thanked: 0 times |
Joined on Feb 2010
|
#48
|
For compiling small programs it is absolutly sufficient to install gcc [~9MB] and g++ (if needed) [~14MB] only. No build-essential and all that stuff. If you have no other unoptified stuff installed you should have no problems installing those packages. I did that, I have enough space left and for small on device compiling I have all I need.
![]() |
2010-02-17
, 12:34
|
Posts: 30 |
Thanked: 16 times |
Joined on Jan 2010
@ Berlin
|
#49
|
How have you installed GCC?
I tried this but it doesn't work:
$ sudo gainroot
$ apt-get install gcc
Thanks
![]() |
2010-02-17
, 16:39
|
Posts: 13 |
Thanked: 0 times |
Joined on Feb 2010
|
#50
|
![]() |
Tags |
c compiler, c language, c programming, c++ compiler, c++ language, c++ programming, compile, compiler, development, maemo, on-device, on-device development, on-device programming, programming |
|