{{fbdoc item="title" value="Normal vs. Standalone FreeBASIC"}}---- When built from source, ""FreeBASIC"" can be configured for and installed in one of these two different setups: <<{{fbdoc item="section" value="Normal build (default)"}} <<>>{{fbdoc item="section" value="Standalone build"}} >>::c::<-]ld.exe - //other tools for native/cross compilation...// - include/ - freebasic/ - fbgfx.bi - //other headers...// - lib/ - freebasic/ - / - libfb.a - //other libraries...// <<>>Standalone directory layout: - bin/ - / - ld.exe - //other tools...// - inc/ - fbgfx.bi - //other headers...// - lib/ - / - libfb.a - //other libraries...// - fbc.exe >>::c::<>Differences to the normal build: - the fbc binary is located at the toplevel, not inside ##bin/## - looks for tools inside ##bin//##, i.e. it uses ##bin//ld.exe## instead of ##bin/[-]ld.exe## - looks for FB includes in ##inc/##, not in ##include/freebasic/## - looks for libraries in ##lib/##, not in ##lib/freebasic/## - does not try to rely on ##PATH## and use system tools - does not try to query gcc to find files - ##[[CompilerOpttarget|-target]]## only accepts simple FB target names, no system triplets - typically used for the FB-dos and FB-win32 releases - uses ""GoRC"" to compile win32 resource scripts The standalone build is intended to be used for self-contained installations such as the traditional FB-win32 and FB-dos releases. It also allows adding fbc to the PATH, without having to add the whole ##bin/## directory. >>::c:: {{fbdoc item="back" value="DevToc|FreeBASIC Developer Information"}} {{fbdoc item="back" value="DocToc|Table of Contents"}}