Skip to main content
Department of Information Technology

Cross Development Tools

A cross-compiler is a compiler that generates code for an architecture or machine different from that on which it is executed. In this project, we will use gcc running on SPARC (or Linux or Windows) to generate code for the MIPS architecture, a classic example of cross-compilation.

To use the cross compiler on the university computer system, use the Makefile that is provided as part of the example files. See the compilation introduction lab for more on how to compile your own programs.

There is also a cross-debugger version of gdb available which you can use to debug your programs. See the gbd remote debugger introduction lab for information on how to use gdb to debug your programs.

Updated  2005-10-11 14:24:21 by John Håkansson.