GCC for RISC OS: Difference between revisions
From RISC OS
Jump to navigationJump to search
No edit summary |
No edit summary |
||
Line 30: | Line 30: | ||
* [http://www.reallysmall.co.uk/Pages/normal/software/development/sourcery/sourcery.html Sourcery] : Sourcery will manage the source code that makes up a project but it will also manage the various resources files that are required to produce a RISC OS application. These include Sprite, Message and Template files. |
* [http://www.reallysmall.co.uk/Pages/normal/software/development/sourcery/sourcery.html Sourcery] : Sourcery will manage the source code that makes up a project but it will also manage the various resources files that are required to produce a RISC OS application. These include Sprite, Message and Template files. |
||
== Links == |
|||
* [[GCCSDK|GCC/GCCSDK home]] |
Revision as of 02:02, 7 October 2006
Using GCC under RISC OS
Setup
GCC is very easy to setup on RISC OS. The following is what you need to get started with a fully working C compiler.
- Download GCC base, C Compiler and GCC documentation.
- Unpack these 3 archives to the same place, to a !gcc application.
- Download the support modules needed by UnixLib SharedUnixLibrary and Digital Renderer and Iconv (Iconv A9home version). You can drop this over your existing !System, but we strongly recommend using a system merge utility.
- Double-click on !gcc - if nothing untoward happens, you're ready to go.
Additional languages and tools
You may also wish to install one or more of the following components as well :
- C++ compiler
- Fortran compiler
- various utils (bison, make, zip, gzip, flex, diff, ...)
- CMunge, a module header creation tool (CMHG clone).
Tutorials and Examples
Now you can try the GCC tutorial or read the accompanying documentation inside the !gcc application, which shows you some simple examples of creating RISC OS applications and RISC OS modules.
More information can be found under C in RISC OS.
Useful programs
The following list contains useful programs helping you to develop with GCC on RISC OS :
- Sourcery : Sourcery will manage the source code that makes up a project but it will also manage the various resources files that are required to produce a RISC OS application. These include Sprite, Message and Template files.