![]() |
HOWTO: C/C++ compiling on the unit itself.
[Last update: 21 July 07]
Here's how to do C/C++ compiling on the unit itself. What you need: gainroot xterm (apt-get install osso-xterm) wget (Download from: http://maemo.org/downloads/product/wget/) Instructions: First, fire up your xterm and type the following lines Code:
sudo gainroot Code:
g++-3.4 yourprogramhere.cpp These steps are put together by a linux beginner who has no idea what he is doing. It didn't screw up my installation, but your mileage may vary. |
Re: HOWTO: C/C++ compiling on the unit itself.
I'm not sure if anyone actually cares about this thread, but anyway, some updates.
I have verified that the SciTE editor works fine at compiling c++ programs. However, to use the compile button on Scite editor, you need to make type the following commands into your xterm. Code:
sudo gainroot |
Re: HOWTO: C/C++ compiling on the unit itself.
Do you by any chance know where a copy of 'make' exists for the device?
|
Re: HOWTO: C/C++ compiling on the unit itself.
Here it is.
This should get it installed IF there are no dependencies error. No time to check that now, but i will do that soon. Code:
sudo gainroot |
Re: HOWTO: C/C++ compiling on the unit itself.
Quote:
rob. |
Re: HOWTO: C/C++ compiling on the unit itself.
No dependency errors. Thanks.
|
Re: HOWTO: C/C++ compiling on the unit itself.
Doesn't seem to work :(
|
Re: HOWTO: C/C++ compiling on the unit itself.
i've successfully install gcc and osso/hildon library before the flash with the new os. But it's take too many place (100Mo).
|
Re: HOWTO: C/C++ compiling on the unit itself.
Quote:
edit: realised i left out wget-ing one of the files in my instructions. i have updated it, so try again if you will. edit: seems like these instructions are not useful on the latest firmware ('chinook'). |
Re: HOWTO: C/C++ compiling on the unit itself.
Quote:
|
All times are GMT. The time now is 04:56. |
vBulletin® Version 3.8.8