|
Page 7 of 9 |
|
Prev |
5 6 7
8 9
|
Next
Re: On-device development in C/C++?
Currently I'm doing it in the same way that that post says. Running it from a file, rather than a separate partition.
Qole also has an easy-chroot guide here. |
Re: On-device development in C/C++?
Quote:
|
Re: On-device development in C/C++?
I've been messing around today trying to get a nice dev enviroment setup. I connect it on usb to my FreeBSD desktop and enable PC Suite Mode so that the USB networking starts, then set an ip on the usb0 interface on the N900 and one on my desktop.
Use sshfs on my desktop to mount the home folder locally so I can use my text editor (NEdit) on a sensible keyboard to edit/hack source. And also have open an ssh session to the n900 for compiling in the qchroot. Perfect, it's just like working locally on my desktop :D Its a surprisingly nippy little machine, a lot quicker at compiling than I thought it would be and with this setup its way more convienient than working with the SDK in a VM. Compile directly on the device and then run it. |
Re: On-device development in C/C++?
Quote:
|
Re: On-device development in C/C++?
The versions that are installed in scratchbox armel seem to work.
Try step 7 of the instructions in this section of the wiki. You'll need to add the source line that you get back after accepting the EULA to your /etc/apt/sources.list within the chroot. Then run apt-get update and apt-get install libqt4-dev. |
Re: On-device development in C/C++?
Quote:
http://lists.trolltech.com/pipermail...ry/000074.html I wonder who provided the ARM binaries for libqt4-dev? Perhaps it could be possible to cross-compile libqt4-maemo5-dev as well. |
Re: On-device development in C/C++?
Trying to compile a program on n900, getting error from .configure.
Code:
gcc (GCC) 4.2.1 |
Re: On-device development in C/C++?
OK found problem!
apt-get install libc6-dev All working |
Re: On-device development in C/C++?
@ lcuk
I followed your instructions but while trying to configure (ipmitool) Code:
Nokia-N900-51-1:/home/user/MyDocs/Downloads/ipmitool-1.8.11# PATH=$PATH:. ; |
Re: On-device development in C/C++?
checking whether the C compiler works... configure: error: cannot run C compiled programs.
Don't do this from within you MyDocs folder. It is on a partitition which is formatted as VFAT and you can not run executables from there. Put your ipmitool-1.8.11 to /home/user/ for example and try again. Nicolai |
| All times are GMT. The time now is 08:42. |
Page 7 of 9 |
|
Prev |
5 6 7
8 9
|
Next
vBulletin® Version 3.8.8