Rockbox Development > Starting Development and Compiling

comiling with ubuntu?

(1/3) > >>

m6arate:
I'm using the latest ubuntu release, and I was wondering if compiling would be possible if I downloaded the proper things. I currently use windows to compile, with cygwin.

Llorean:
All you *really* need to compile is to set up a toolchain. If you're already on linux, this can be done by simply running rockboxdev.sh from the /tools/ folder of the sources, and once it has finished, changing your path to point to the newly set up compilers.

Febs:
Yes, just run the tools/rockboxdev.sh script to set up the development environment, and you should be good to go.

m6arate:
you say change my path to point to the new compilers, I remember having to do this for cygwin, but I have no Idea how to do it with ubuntu. Will I have to do this manually, and if so, how?

Rincewind:
you have to add this line to the file ".bashrc" in your home directory:

export PATH=$PATH:/usr/local/m68k-elf/bin

but it is possible that the rockboxdev.sh script says that you have to add more to your path, then you have to add what it says there.

Navigation

[0] Message Index

[#] Next page

Go to full version