crt0

crt0

crt0 (also known as c0) is a set of execution startup routines compiled into a program which perform any initialization work required before calling the program's main function. The work performed by crt0 depends on the program's language, compiler, operating system and C standard library implementation.

"crt" stands for "C runtime" (the zero stands for "the very beginning"). However, when compiling using GCC, it is also included for other languages than C.

Alternative versions of crt0 are available for special situations. For example, the profiler gprof requires its programs to be compiled with "gcrt0".[1]

References

  1. ^ http://sourceware.org/binutils/docs-2.16/gprof/Compiling.html

Wikimedia Foundation. 2010.

Игры ⚽ Нужна курсовая?

Look at other dictionaries:

  • Crt0 — (or crt0.o, gcrt0.o, mcrt0.o) is a set of execution startup routines (usually part of the C standard library), platform dependent, required in order to compile using the gcc and other GNU tools.crt stands for c runtime External links* http://docs …   Wikipedia

  • WinMain — функция, в которой программист пишет основной код, который будет выполнять программа под Windows для подсистемы GUI. Эта функция вызывается из функции WinMainCRTStartup (находящейся в CRT), которая по умолчанию является точкой входа в программу… …   Википедия

  • Cross compiler — A cross compiler is a compiler capable of creating executable code for a platform other than the one on which the compiler is run. Cross compiler tools are used to generate executables for embedded system or multiple platforms. It is used to… …   Wikipedia

  • Liste von Hallo-Welt-Programmen/Programmiersprachen — Dies ist eine Liste von Hallo Welt Programmen für gebräuchliche Programmiersprachen. Weitere Beispiele für grafische Benutzeroberflächen, Web Technologien, exotische Programmiersprachen und Textauszeichnungssprachen sind unter Liste von Hallo… …   Deutsch Wikipedia

  • Main function — See also: Entry point In many programming languages, the main function is where a program starts execution. It is responsible for the high level organization of the program s functionality, and typically has access to the command arguments given… …   Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”