{{fbdoc item="title" value="Information for hacking on FreeBASIC"}}----

This area of the Wiki is for documenting everything about the compiler and the runtime libraries. It is, however, incomplete. If you find that information provided here does not match what the source is doing then please update the relevant pages here. New pages and articles may be added freely, provided they help understanding what's going on inside FB.

<<{{fbdoc item="section" value="Developing FreeBASIC Itself"}}
	
	{{fbdoc item="keyword" value="DevBuild|Compiling a Development Version of FreeBASIC"}}
		{{fbdoc item="keyword" value="DevGettingTheSourceCode|Getting the source code"}}
		{{fbdoc item="keyword" value="DevBuildDos|Compiling FB for DOS"}}
		{{fbdoc item="keyword" value="DevBuildLinux|Compiling FB on Linux"}}
		{{fbdoc item="keyword" value="DevBuildWindows|Compiling FB on Windows"}}
		{{fbdoc item="keyword" value="DevRebuildAfterUpdates|Getting source code updates and recompiling FB"}}
		{{fbdoc item="keyword" value="DevDebuggingFb|Debugging FB"}}
		{{fbdoc item="keyword" value="DevBuildConfig|FB build configuration options"}}
		{{fbdoc item="keyword" value="DevBuildKnownProblems|Known problems when compiling FB"}}
		{{fbdoc item="keyword" value="DevGccToolchainChoice|GCC toolchain choice"}}
	
	{{fbdoc item="keyword" value="DevFbcTestSuite|Running the FreeBASIC test suite"}}
	{{fbdoc item="keyword" value="DevNormalVsStandalone|Normal vs. Standalone"}}
	{{fbdoc item="keyword" value="DevGlossary|Glossary"}}
	{{fbdoc item="keyword" value="DevMakingReleases|Notes on the creation of FB releases"}}
	{{fbdoc item="keyword" value="DevCrossCompiling|FB and cross-compiling"}}
	{{fbdoc item="keyword" value="DevBootstrap|Bootstrapping/cross-compiling fbc"}}
	
	{{fbdoc item="keyword" value="DevBindingCreation|Creating FB bindings for C libraries"}}
	{{fbdoc item="keyword" value="DevTranslateHeader|C Header Translation Tutorial"}}
	{{fbdoc item="keyword" value="DevHeaderStyleGuide|Header Style Guidelines"}}
	{{fbdoc item="keyword" value="ExtLibTOC|External Libraries Index (header status)"}}

{{fbdoc item="section" value="Compiler internals"}}
	
	{{fbdoc item="keyword" value="DevFbcModules|Quick overview of all modules"}}
	{{fbdoc item="keyword" value="DevObjinfo|The objinfo feature"}}
	{{fbdoc item="keyword" value="DevFbcMem|Memory management"}}
	{{fbdoc item="keyword" value="DevFbcLexer|Lexer & preprocessor"}}
		
	{{fbdoc item="subsect" value="Parser & compiler (fb, parser, symb, rtl)"}}
		{{fbdoc item="keyword" value="DevFbcParser|Purpose"}}
		{{fbdoc item="keyword" value="DevFbcParserToplevel|Top level parsing process"}}
		{{fbdoc item="keyword" value="DevFbcParserSymbols|Symbols"}}
		{{fbdoc item="keyword" value="DevFbcTypes|Representation of data types"}}
	
	{{fbdoc item="keyword" value="DevArrays|Arrays"}}
	{{fbdoc item="keyword" value="DevSelectCase|SELECT CASE"}}
	{{fbdoc item="keyword" value="ProPgProfiling|Profiling FB programs"}}
	{{fbdoc item="keyword" value="DevStructLayout|Structure packing/field alignment"}}

{{fbdoc item="section" value="Run-time (rtlib) and Graphics (gfxlib2) Libraries"}}
	
	{{fbdoc item="keyword" value="DevRtlInkey|Keyboard input: inkey(), multikey(), etc."}}
	{{fbdoc item="keyword" value="GfxLib|Overview of drivers (backends)"}}
	{{fbdoc item="keyword" value="GfxInternalFormats|Pixel formats"}}

<<::c::

{{fbdoc item="back" value="DocToc|Table of Contents"}}