![]() |
Re: c++ getting started guide for maemo4
The easiest way to find a repositiry is often to go to
http://gronmayer.com/it/index.php and search for what you want. (e.g., gcc) It can automatically add the repositiry for you. (You may need "red pill mode".) I didn't give the link directly because I don't know whether you have chinook, diablo, or something else. |
Re: c++ getting started guide for maemo4
Quote:
|
Re: c++ getting started guide for maemo4
Quote:
For instance, how would I use cc on a Linux desktop system to compile my own ARMEL executable to run on the tablet? (Even simple console apps?) Just curious to find out whether there's any tutorials for fellow hacks who're trying to learn to write simple apps for our tablets or something. |
Re: c++ getting started guide for maemo4
Quote:
|
Re: c++ getting started guide for maemo4
Quote:
Btw, the geanu editor is very fascinating but had trouble doing a lot of things. Hopefully, there will be soon all-working version of it. Also can you suggest me of the proceedure I'll require to run ruby programs in my tablet. It will be super cool coz I'm doing ruby at the moment in my uni and it's already been super cool for cpp coz next semester I'll be doing cpp. Thank you. |
Re: c++ getting started guide for maemo4
"a.out." that's right. I always use a makefile to force it to use a name like "prog.exe". You're quite right about Geany being imperfect. The main things are that it doesn't use the onscreen keyboard and it doesn't respond to the "enter" key unless you tap it five times really fast.
If you are trying to learn c++, think about trying to fix these two bugs as a learning project! :) You can also install KDE and use the KATE editor. As for Ruby, I imagine the process is similar, but I haven't done it so I don't know. |
Re: c++ getting started guide for maemo4
Thanks for the reply brucel, ya that could be my project to fix things up for better use but may be after a year atleast coz I've only very little knowledge of c++ (console programs) no knowledge of GUI's at all in C++. By the way, I'm trying to use geany as it looks great but some problems:
There's no where in the world I could find the curly braces which I'll need-"{ }" I could compile the source file but how can I run it. Coz when I tried execute from the menu item it says "failed to execute the terminal program". I have downloaded all gcc's, g++'s and make. Thanks |
Re: c++ getting started guide for maemo4
I have never tried to run programs under geany. I am sure that there are settigns that would make it work but I don't know what they are. Tto me, using the command-line in xterm seems easier and more flexable.
|
Re: c++ getting started guide for maemo4
jaeezzy,
I think you have dived in at the deep end with wanting to setup and configure c++ directly on the device. I would recommend getting some experience with native linux development using a desktop before you transfer your superpowers to the tablet. The gnu development process is covered in many places online and is used by thousands of people worldwide. Take the time to readup and practice using gcc and make etc in a general sense :) If you do not have a linux desktop I would recommend finding out about the maemo vmware image, this has a preconfigured development environment and might be a little easier to understand. Unfortunately, there is no shortcut to becoming a linux-dev-guru, I've been trying for months now and haven't progressed that far. |
Re: c++ getting started guide for maemo4
lcuk is right that there is no shortcut to knowledge. I probably slowed you down by telling you how to get started because in figuring it out for yourself you would have learned a lot that you won't have the motivation to learn now.
That said, with a big enough SD card there is very little that you can do on a desktop that you can't do on the tablet. My N800 is the only computer I use. I have built several large packages directly on the tablet. But you do have to learn a bit to get it working and it isn't as fast as a desktop. |
All times are GMT. The time now is 04:06. |
vBulletin® Version 3.8.8