sebt3
homebrew player (P. & C.)
EDIT: this toolchain is not supported anymore
Hello there,
So compiling on the pyra works well, but for larger project at some point a cross-compiling toolchain will be usefull.
This is my attempt. Sources are : https://dev.pyra-handheld.com/sebt3/pyra-debian-cross
It is based on debian and heavyly depend on debian. but any version (from strech) and any fork (ubuntu...) should be working.
Installation :
The installation is done by root :
A log will be produced in this directory, feel free to read it/ delete it/whatever. Running the installer many time on the same destination directory is safe and wont break everything.
It is possible to choose the install directory using the script options (see -h), although you'll use the install script to update your toolchain, so I recomand the keeping the install script in the destination directory.
Maintenance :
Unlike yactfeau, this toolchain doesnt come with everything installed initially. To keeps things easy, the install script have a number of usefull functions to help you install new development files and keep the rootfs up to date.
Here are a few commands availables (see -h for more details) :
Using it :
There's an environment-setup file available that you can load with :
Example usage for a dosbox dbp :
Provided you have run setup.bashrc in your user (or used that export... just before), create the project :
There's also available :
pyra_cmake
pyra_setprj
this might evolve as I use it
EDIT: this toolchain is not supported anymore
Hello there,
So compiling on the pyra works well, but for larger project at some point a cross-compiling toolchain will be usefull.
This is my attempt. Sources are : https://dev.pyra-handheld.com/sebt3/pyra-debian-cross
It is based on debian and heavyly depend on debian. but any version (from strech) and any fork (ubuntu...) should be working.
Installation :
The installation is done by root :
cd /install/dir/you/want
chmod 755 install.sh
./install.sh install
A log will be produced in this directory, feel free to read it/ delete it/whatever. Running the installer many time on the same destination directory is safe and wont break everything.
It is possible to choose the install directory using the script options (see -h), although you'll use the install script to update your toolchain, so I recomand the keeping the install script in the destination directory.
Maintenance :
Unlike yactfeau, this toolchain doesnt come with everything installed initially. To keeps things easy, the install script have a number of usefull functions to help you install new development files and keep the rootfs up to date.
Here are a few commands availables (see -h for more details) :
./install.sh pyra.update
./install.sh pyra.upgrade
./install.sh pyra.install libgtk2.0-dev
./install.sh pyra.build-dep audacious
Using it :
There's an environment-setup file available that you can load with :
export TOOLCHAIN_ROOT=install/dir/you/used;. $TOOLCHAIN_ROOT/environment-setup
Alternatively, you can setup your bashrc file (like yactfeu had) with :./install.sh setup.bashrc
Example usage for a dosbox dbp :
Provided you have run setup.bashrc in your user (or used that export... just before), create the project :
pyra_makeprj dosbox
Get the sources :svn checkout https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk dosbox-svn
cd dosbox-svn
Configure them :./autogen.sh
pyra_addfastmath
pyra_configure
Compile :make -j 4
Install :pyra_makeinstall
Update the default.desktop to setup the packaging information :vim $PRJ_TARGET/meta/default.desktop
Build the dbp :pyra_makedbp
Copy on your pyra and test There's also available :
pyra_cmake
pyra_setprj
this might evolve as I use it
EDIT: this toolchain is not supported anymore
Last edited: