GP32X.com - GP32 GP2X Pandora The Wiz - open source entertainment: Pandora Toolchain Installer - GP32X.com - GP32 GP2X Pandora The Wiz - open source entertainment

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Pandora Toolchain Installer Pandora toolchain installer for linux

#1 User is offline   Cpasjuste

  • GP32 Hardcore
  • PipPipPipPip
  • Group: GP32 Hardcore
  • Posts: 260
  • Joined: 20-April 07

Posted 10 February 2009 - 09:41 AM

Here is a simple script i made to be able to download and install a pandora toolchain.

It will download and install the "Sourcery G++ Lite 2007q3-51 for ARM GNU/Linux" toolchain, and some basic pandora libraries compiled by notaz (including SDL) for linux users (i386, intel and amd processors).

I did it because i had to install the toolchain on many computers, so it's easier to do.
I think it could also be usefull for people to test theire projects compilation.

It can be downloaded here : http://mydedibox.fr/...ra/toolchain.sh


Please note that it's not an official pandora toolchain, and it's not the one we will use in the future.

This post has been edited by Cpasjuste: 10 February 2009 - 09:58 AM


#2 User is offline   benjymous

  • GP32 Hardcore
  • PipPipPipPip
  • Group: GP32 Hardcore
  • Posts: 257
  • Joined: 17-August 08
  • Gender:Male
  • Location:Northumberland, UK

Posted 10 February 2009 - 04:49 PM

Will those same libs work with the windows version of codesourcery too?

Btw, is there a particular reason to target the 2007q3 version?

#3 User is offline   Cpasjuste

  • GP32 Hardcore
  • PipPipPipPip
  • Group: GP32 Hardcore
  • Posts: 260
  • Joined: 20-April 07

Posted 10 February 2009 - 05:12 PM

QUOTE(benjymous @ Feb 10 2009, 05:49 PM) View Post

Will those same libs work with the windows version of codesourcery too?

Btw, is there a particular reason to target the 2007q3 version?


From notaz :
CODE
2008q3 is newest and is supposed to have better Cortex support, but it
produces bad code for some applications (but might be good enough for things
like emus). Stable version is 2007q3


For the libs, i do not see why they would not work with the windows version.

#4 User is offline   Tor

  • GP Mania
  • PipPipPipPipPip
  • Group: GP32 Hardcore
  • Posts: 480
  • Joined: 06-October 08
  • Gender:Male

Posted 10 February 2009 - 05:38 PM

Used the script, works fine, thanks!
However, I modified it to not require root installation, I just installed it in a pandora/sdk dir in $HOME, set the paths accordingly, and everything's pretty fine. My laptop is single-user anyway.

#5 User is offline   centralnoise

  • Member
  • PipPip
  • Group: Members
  • Posts: 15
  • Joined: 07-February 09

Posted 10 February 2009 - 05:48 PM

This probably is a stupid question, but how to compile apps using OpenGL ES 2.0 API for pandora? The pandora library package didn't come with anything GLES related (I can download the include files from khronos but afaik there is no OpenGL ES 2.0 library available for pandora yet).

So is there a way to compile OpenGL ES 2.0 apps for pandora at this point? Did I miss something obvious?

This post has been edited by centralnoise: 10 February 2009 - 05:48 PM


#6 User is offline   Svartalf

  • Mega GP Mania
  • PipPipPipPipPipPip
  • Group: Members
  • Posts: 958
  • Joined: 25-March 08
  • Location:Dallas, TX

Posted 10 February 2009 - 06:15 PM

QUOTE(benjymous @ Feb 10 2009, 10:49 AM) View Post
Will those same libs work with the windows version of codesourcery too?


I'd be getting the same Windows version as that...

QUOTE

Btw, is there a particular reason to target the 2007q3 version?


Heh... Other versions were producing bad code for a hobby. This should get you started while the "official" stuff gets fully sorted out.


QUOTE(centralnoise @ Feb 10 2009, 11:48 AM) View Post
This probably is a stupid question, but how to compile apps using OpenGL ES 2.0 API for pandora? The pandora library package didn't come with anything GLES related (I can download the include files from khronos but afaik there is no OpenGL ES 2.0 library available for pandora yet).


There actually is a lib, but it's not all there yet. Keep in mind, anything that Beagleboard has we can either have or already have. Beagleboard's demoed some 3D stuff... wink.gif

A bit of patience is probably in order for the ES side of things- unless you've got a dev board, a Beagleboard, or a TI EVM board, you're not going to have much use in being able to compile for Pandora past making sure it compiles. For that, you can just as easily as not do something in Linux or Windows under Cygwin. If you do that, get the OpenGL ES 2.0 "emulator" (really just a wrapper shell and headers...) from Imagination and go from there.

QUOTE

So is there a way to compile OpenGL ES 2.0 apps for pandora at this point? Did I miss something obvious?


No, you didn't miss anything obvious. There's stuff in progress right now on that front (incl. SDL support using it the RIGHT way...) but it's not gelled yet.


#7 User is offline   Cpasjuste

  • GP32 Hardcore
  • PipPipPipPip
  • Group: GP32 Hardcore
  • Posts: 260
  • Joined: 20-April 07

Posted 10 February 2009 - 07:33 PM

I'v just uploaded a new version, there was a little bug that prevented some libs to be installed.

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic