maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Development (https://talk.maemo.org/forumdisplay.php?f=13)
-   -   Any Mac OS X-hosted Maemo development environment yet? (https://talk.maemo.org/showthread.php?t=23853)

stevenf 2008-09-25 00:45

Any Mac OS X-hosted Maemo development environment yet?
 
Other than VMWare, I mean. :)

Jaffa 2008-09-25 11:41

Re: Any Mac OS X-hosted Maemo development environment yet?
 
The options are:
  1. Pluthon
  2. Python
  3. VMware
  4. Develop on tablet directly
  5. Roll your own cross-compiling toolchain using existing open source bits.

Have fun ;-)

TokyoDan 2008-09-25 12:32

Re: Any Mac OS X-hosted Maemo development environment yet?
 
Do a user search for TokyoDan. I've got some posts about how I'm trying to develop for Maemo on mac, using Eclipse, Python, Pluthon. Also see http://pluthon.garage.maemo.org for info about all of this.

Bundyo 2008-09-25 12:42

Re: Any Mac OS X-hosted Maemo development environment yet?
 
Probably if you can get QEMU tablet emulation working, you can compile in it too...

stevenf 2008-09-25 17:56

Re: Any Mac OS X-hosted Maemo development environment yet?
 
I didn't know about PluThon. I'm checking it out now. Thanks!

TokyoDan 2008-09-25 21:29

Re: Any Mac OS X-hosted Maemo development environment yet?
 
Well I'm still in the early stages, I finally got Eclipse/Pluthon sorted out ojn the Mac and got PC Connectivity working between the Mac and N810 via USB (I hear this can be done via wireless too). My next step is to see if SSH sessions work. Some advice...

Don't install ESBox plugin for Eclipse - It replicates sandbox but it doesn't work in Eclipse on the Mac.

Don't install any USB host-Peripheal-OTG switching applets as the PC Connectivity package will give you everything you need.

Just follow INSTALLATION INSTRUCTIONS Target Environment (Tablet) at http://pluthon.garage.maemo.org (Click on the insallation tab at the top of the page). That's all I installed on my N810 after a clean reflash and everything works fine so far.


If you want python on your N810 install pygtkeditor which is a good Python source code editor and installs Python 2.5.1. I don't think you need this but it's fun to write and try short Maemo Python programs.

TokyoDan 2008-09-25 21:51

Re: Any Mac OS X-hosted Maemo development environment yet?
 
Also for great info and quick help get an IRC Client (I'm using Linkinus which costs about 20USD after two weeks) and join the #mauku and #eclipse channels on chat.freenode.net.

Benson 2008-09-25 21:53

Re: Any Mac OS X-hosted Maemo development environment yet?
 
Quote:

Originally Posted by Jaffa (Post 227275)
  1. Roll your own cross-compiling toolchain using existing open source bits.

If anyone does that, they should post hints somewhere, as I'm kinda half-way considering doing the same for cygwin. The pointlessness keeps reminding me not too, though...

GeneralAntilles 2008-09-25 21:53

Re: Any Mac OS X-hosted Maemo development environment yet?
 
Quote:

Originally Posted by TokyoDan (Post 227473)
(I'm using Linkinus which costs about 20USD after two weeks)

Free.

jethro.itt 2008-09-26 07:42

Re: Any Mac OS X-hosted Maemo development environment yet?
 
Quote:

Originally Posted by stevenf (Post 227145)
Other than VMWare, I mean. :)

Are you against virtualization in general or just VMware? There are free virtualization packages available for OS X, if you're using an Intel Mac. On a PPC Mac the emulation is too slow to be useful.

Virtual Box from Sun: http://www.virtualbox.org/


You then need to convert the maemo VMware image to Virtual Box-compatible format:

http://thedarkmaster.wordpress.com/2...ersion-how-to/


There's probably some configuration to do inside the virtual machine after that.

stevenf 2008-09-26 15:31

Re: Any Mac OS X-hosted Maemo development environment yet?
 
Quote:

Originally Posted by jethro.itt (Post 227579)
Are you against virtualization in general or just VMware?

Neither! It's just clumsy to try to do any sort of development work running a virtualized Unix box inside a Unix box. :)

Mysticode 2008-09-26 16:03

Re: Any Mac OS X-hosted Maemo development environment yet?
 
Quote:

Originally Posted by Jaffa (Post 227275)
  1. Develop on tablet directly

I'm curious about this suggestion - is this for python only or does anyone run the C/C++ development tools on the tablet?

Jaffa 2008-09-26 16:04

Re: Any Mac OS X-hosted Maemo development environment yet?
 
Quote:

Originally Posted by Mysticode (Post 227701)
I'm curious about this suggestion - is this for python only or does anyone run the C/C++ development tools on the tablet?

lcuk does all his liqbase development (which is C) on the tablet. Just enable the SDK repository and apt-get install gcc.

Benson 2008-09-26 18:19

Re: Any Mac OS X-hosted Maemo development environment yet?
 
Quote:

Originally Posted by Mysticode (Post 227701)
I'm curious about this suggestion - is this for python only or does anyone run the C/C++ development tools on the tablet?

I do run gcc, although I haven't done any substantial development.

I'm not sure if Jaffa has installed gcc more recently than I have, but my experiences about a month ago were not so simple -- had to downgrade a few packages because the SDK did not keep up with the SSUs, and all the -dev (headers) packages depend on the same exact version of the binaries.

Just be cautious if you do go that route, as you can install packages conflicting with dependencies of, oh, about half your system. (The critical half!) It'll ask you to confirm, of course, but don't blindly say yes; that's all.

jethro.itt 2008-09-26 19:06

Re: Any Mac OS X-hosted Maemo development environment yet?
 
Quote:

Originally Posted by stevenf (Post 227692)
Neither! It's just clumsy to try to do any sort of development work running a virtualized Unix box inside a Unix box. :)

I do generic ARM embedded systems development running a Debian-based environment (well, just some randomly selected Debian virtual appliance from the VMware store and a CodeSourcery toolchain installed in /usr/local) under VMware at work.

It's not too bad. I ssh to in from Terminal and have the home directory on OS X side available to Debian, i.e. all development files are outside the virtual machine. I use Xcode as an editor and project manager. X applications will probably work too if X is installed on OS X (installed by default on Leopard, separate free download in Tiger).

One small bug with this setup: Debian does not know when the machine has been sleeping, so I need to manually run "sudo ntpdate-debian" after resuming from sleep. Otherwise make is not happy.

qwerty12 2008-09-27 14:28

Re: Any Mac OS X-hosted Maemo development environment yet?
 
Quote:

Originally Posted by Jaffa (Post 227702)
lcuk does all his liqbase development (which is C) on the tablet. Just enable the SDK repository and apt-get install gcc.

I prefer running apt-get install build-essential

Jaffa 2008-09-27 14:31

Re: Any Mac OS X-hosted Maemo development environment yet?
 
Quote:

Originally Posted by Benson (Post 227742)
I'm not sure if Jaffa has installed gcc more recently than I have, but my experiences about a month ago were not so simple

Quote:

Originally Posted by qwerty12 (Post 227957)
I prefer running apt-get install build-essential

Indeed. I apologise: I was giving it as an example of what kind of thing to do, not a concrete HOWTO.


All times are GMT. The time now is 22:05.

vBulletin® Version 3.8.8