Jump to content


Photo

Port Request: Gambas


  • Please log in to reply
14 replies to this topic

#1 Pleng

Pleng

    Mega GP Mania

  • GP32 Hardcore
  • PipPipPipPipPipPip
  • 2944 posts

Posted 06 December 2010 - 05:56 PM

Gambas is a Visual Basic/Visual Studio style language/development environment for Linux. As of 25th October 2009 it has apparently been able to compile on ARM Linux. This would be an amazing asset for the Pandora. Anybody up for giving it a go?

#2 mcobit

mcobit

    Mega GP Mania

  • GP32 Hardcore
  • PipPipPipPipPipPip
  • 841 posts

Posted 07 December 2010 - 08:02 AM

As this supports gtk, qt, sql, and a lot of other things, somebody with a very complete toolchain would have to build it.

#3 Pleng

Pleng

    Mega GP Mania

  • GP32 Hardcore
  • PipPipPipPipPipPip
  • 2944 posts

Posted 07 December 2010 - 10:13 AM

Do we know of anybody with such a chain?

#4 mcobit

mcobit

    Mega GP Mania

  • GP32 Hardcore
  • PipPipPipPipPipPip
  • 841 posts

Posted 07 December 2010 - 10:18 AM

Maybe notaz, maybe sebt3...

I tried it out on my desktop and I think on the pandorascreen it would be very difficult to get a visual-studio-like environment running.
I think it would be a little small for that task.

#5 Pleng

Pleng

    Mega GP Mania

  • GP32 Hardcore
  • PipPipPipPipPipPip
  • 2944 posts

Posted 07 December 2010 - 10:22 AM

Yes, but if you were to develop on the desktop, then move your project to the Pandora, and compile it with Gambas Panndora, you presumably have a fully working Pandora app.

I don't think you can cross compile with it.

#6 mcobit

mcobit

    Mega GP Mania

  • GP32 Hardcore
  • PipPipPipPipPipPip
  • 841 posts

Posted 07 December 2010 - 10:31 AM

I just don't have the time right now... Else I would go through the dependencies and try to build it.

Maybe someone with a good crosscompilingsetup wants to try it?

#7 otherguy66

otherguy66

    Member

  • Members
  • PipPip
  • 29 posts

Posted 07 December 2010 - 01:00 PM

Pleng, stop reading my mind!

I only just this minute downloaded all the Armel debs for Gambas2 (since it seemed to fail when I apt-getted the thing) :)

I'll install it on the Ubuntu image first, then see how it goes!

http://ftp.debian.org/pool/main/g/gambas2/

Try it for yourself :)

Note:

Gambas2 is interpretted and needs a runtime (and possibly other libraries) so these would need to either be on your system or within the PND along with your code.

Edited by otherguy66, 07 December 2010 - 01:02 PM.


#8 Pleng

Pleng

    Mega GP Mania

  • GP32 Hardcore
  • PipPipPipPipPipPip
  • 2944 posts

Posted 07 December 2010 - 02:05 PM

OK So I guessthe most important thing to get going is the runtime. This will enable people to develop Gambas apps on the desktop and then package them up int a PND with the ARM runtime.

#9 otherguy66

otherguy66

    Member

  • Members
  • PipPip
  • 29 posts

Posted 07 December 2010 - 02:40 PM

Yeah, well I think you need the runtime and the associated Gambas libraries, which themselves talk to other linux libraries; for example, a GUI app can be specified as either GTK or QT... the runtime then uses the Gambas-GTK library to talk to the GTK library proper... at least I think that's how it works. You can then package you program up with only the stuff you need (although they seem to be 15k each, so what the hell... just include everything).

:)

Edit: Seems to be about 4mb for the entire set of Gambas libraries.

Edited by otherguy66, 07 December 2010 - 02:41 PM.


#10 Pleng

Pleng

    Mega GP Mania

  • GP32 Hardcore
  • PipPipPipPipPipPip
  • 2944 posts

Posted 07 December 2010 - 03:04 PM

OK Good luck with this. I shall be keeping a close eye on it :)

#11 otherguy66

otherguy66

    Member

  • Members
  • PipPip
  • 29 posts

Posted 07 December 2010 - 03:56 PM

OK Good luck with this. I shall be keeping a close eye on it :)


I'll do my best sir. Sort of don't know what I'm doing though (which is the best way huh?). ;)

#12 Pleng

Pleng

    Mega GP Mania

  • GP32 Hardcore
  • PipPipPipPipPipPip
  • 2944 posts

Posted 07 December 2010 - 05:42 PM

If you say so! Don't worry I don't know what I'm doing with my port of Novashell, either! :D

#13 otherguy66

otherguy66

    Member

  • Members
  • PipPip
  • 29 posts

Posted 14 December 2010 - 04:52 PM

Yeah, I didn't have any luck with this. I tried installing the debs and compiling from source in Ubuntu, but it complains about missing libraries. I thought it might be the missing QT stuff, so I tried it in Zaxxon to no effect... it can't even find the same files in the directories they're supposed to be in!

Gambas appears to be a pain in the arse, since it doesn't give the standard Linux 'library missing' response, but it's own scripted message. In other words, it wants to be different... and I have no idea how to appease it.

Out of my depth here sadly. Anyone with more skills willing to try? :(

#14 Pleng

Pleng

    Mega GP Mania

  • GP32 Hardcore
  • PipPipPipPipPipPip
  • 2944 posts

Posted 15 December 2010 - 12:29 AM

:( That makes me a sad Panda

#15 mcobit

mcobit

    Mega GP Mania

  • GP32 Hardcore
  • PipPipPipPipPipPip
  • 841 posts

Posted 15 December 2010 - 08:40 AM

Sometimes there are symlinks leading to nowhere in the /usr/lib/directory