submit urlsubmit rss feedadd directory

article

A cross compiler is a compiler capable of creating executable code for a platform other than the one on which the cross compiler is run. Such a tool is handy when you want to compile code for a platform that you don't have access to, or because it is inconvenient or impossible to compile on that platform (as is the case with embedded systems, on which various kinds of microcontrollers run with a minimal amount of memory for their own purpose).

Uses of Cross Compilers


The fundamental use of a cross compiler is to separate the build environment from the target environment. This is useful in a number of situations:

  • Embedded computers where a device has extremely limited resources. For example, a microwave oven will have an extremely small computer to read its touchpad and door sensor, provide output to a digital display and speaker, and to control the machinery for cooking food. This computer will not be powerful enough to run a compiler, a file system, or a development environment.
  • Compiling for multiple machines. For example, a company may wish to support several different versions of an operating system or to support several different operating systems. By using a cross compiler, a single build environment can be maintained that would build for each of these targets.
  • Compiling on a server farm. Similar to compiling for multiple machines, a complicated build that involves many compile operations can be executed across any machine that is free regardless of its brand or current version of an operating system.
  • Bootstrapping to a new platform. When developing software for a new platform, or the emulator of a future platform, one uses a cross compiler to compile necessary tools such as the operating system and a native compiler.

More on [ Cross compiler ]


directory of related categories

 

C@
Java@
 
 
directory of related topics

Embedded :: Hardware

 
Cross_Compilers RSS feed
Cross Compilers - Twitter Search

JNBridge, a technology that allows Java and .NET code to share objects without relying on cross-compilers, http://bit.ly/5AcMlq
dotnetangel (Minhajuddin Khan) Tue, 08 Dec 2009 17:25:02 -0000
JNBridge, a technology that allows Java and .NET code to share objects without relying on cross-compilers, http://bit.ly/5AcMlq

 
Subscribe to Cross_Compilers RSS feed

directory of related sites

6502 Cross-Development Languages and Tools - List of programming languages targeting the 6502 microprocessor (with an emphasis on Commodore 8-bit computers), which are hosted on another system. A separate list of native Commodore languages is also available.

Amsterdam Compiler Kit (ACK) - An integrated collection of programs designed to simplify the task of producing portable (cross) compilers and interpreters.
Meta Description: [ The world's largest development and download repository of Open Source code and applications ]

ASxxxx Cross Assemblers - Series, with companion linker, coded in C, for microprocessor series: 6800(6802/6808), 6801(hd6303), 6804, 6805, 68HC08, 6809, 68HC11, 68HC12, 68HC16, 8051, 8085(8080), z80(hd64180), H8/3xx, DS8xCxxx, 6500.

GameBoy Developer's Kit (GBDK) - A set of tools that enable to develop programs for the Nintendo GameBoy system, either in C or in assembly. GBDK includes a set of libraries for the most common requirements and generates image files for use with a real GameBoy or with an emulator like VGB or no$gmb.
Meta Description: [ A C compiler, assembler, linker and set of libraries for the Nintendo Gameboy. ]

GCC Toolchain for MSP430 - Port freeware GNU tools to msp430 architecture. Cross compiler for msp430.

Quetzalcoatl - Cross compiler for 6502 processors, runs on Linux, Win32; can compile and link programs written in subset of ANSI C, Assembly, 1983 UPL language, or any mix thereof; can output programs for Commodore VIC-20, 64.

SCORE - (Safety Critical Object-oriented Real-time Embedded) ANSI C, C++, Ada, Fortran cross compiler for embedded PowerPC, SPARC, x86 processors based on ANDF (Architectural Neutral Distribution Format) technology.
Meta Description: [ Real-Time Java Compilers, Ada Compilers, C and Embedded C++ Compilers, JOVIAL Compilers, debuggers, test tools & IDE's. DDC-I offers COTS and customized tools and consulting services for safety critical real-time embedded software development. ]

TML2 - cross compiler tools for Z80 target.
Meta Description: [ Francis TML2 cross compiler page. ]

WinAVR - A suite of executable, open source software development tools for the Atmel AVR series of RISC microprocessors hosted on the Windows platform. It includes the GNU GCC compiler.

Cross_Compilers related videos
An Introduction to SQLite
Cross_Compilers related videos

 

HOMEADVERTISINGABOUT US

articlesartsbusinesscomputersgameshealthhospitalshomekids & teensnewsmobilephysiciansrecreationreferenceregionalscienceshoppingsocietysportsworld


Submit a Site About Become an Editor