Revision history for DevNormalVsStandalone


Revision [19993]

Last edited on 2016-02-10 15:48:48 by DkLwikki [Update link format]
Additions:
- ##[[CompilerOpttarget|-target]]## option accepts system triplets such as "##i686-pc-linux-gnu##" or "##x86_64-w64-mingw32##"
- the target name given to the ##[[CompilerOpttarget|-target]]## option is prepended to the gcc/binutils program names when cross-compiling
- ##[[CompilerOpttarget|-target]]## only accepts simple FB target names, no system triplets
Deletions:
- ##[[CompilerOpttarget -target]]## option accepts system triplets such as "##i686-pc-linux-gnu##" or "##x86_64-w64-mingw32##"
- the target name given to the ##[[CompilerOpttarget -target]]## option is prepended to the gcc/binutils program names when cross-compiling
- ##[[CompilerOpttarget -target]]## only accepts simple FB target names, no system triplets


Revision [17318]

Edited on 2014-10-07 20:22:45 by DkLwikki [Fix formatting (mismatched ##)]
Additions:
- looks for binutils/gcc 1) in ##bin/## and 2) by relying on ##PATH##
Deletions:
- looks for binutils/gcc 1) in ##bin/#### and 2) by relying on ##PATH##


Revision [17213]

Edited on 2014-08-30 08:55:37 by DkLwikki [Update for changes in Git (64bit)]
Additions:
- [<target>-]ld.exe
- //other tools for native/cross compilation...//
- <target>/
- libfb.a
- //other libraries...//
- fbc is located in ##bin/##, like other programs
- looks for includes in ##include/freebasic/##, instead of ##inc/##, to cleanly separate FB headers from system headers
- looks for its own libraries in ##lib/freebasic/## instead of ##lib/##, to cleanly separate FB libraries from system libraries
- looks for binutils/gcc 1) in ##bin/#### and 2) by relying on ##PATH##
- looks for crt/gcc libraries 1) in ##lib/freebasic/## and 2) by running "##gcc -print-file-name=...##"
- ##[[CompilerOpttarget -target]]## option accepts system triplets such as "##i686-pc-linux-gnu##" or "##x86_64-w64-mingw32##"
- the target name given to the ##[[CompilerOpttarget -target]]## option is prepended to the gcc/binutils program names when cross-compiling
- compatible with the standard ##/usr## or ##/usr/local## directories
- uses ##windres## from binutils to compile win32 resource scripts
This makes the normal FB build integrate with GNU/Linux distributions and other Unix-like systems pretty well, allows fbc to be installed into ""MinGW"" or DJGPP trees next to gcc, and allows fbc to work with binutils/gcc cross-compiling toolchains.
- the fbc binary is located at the toplevel, not inside ##bin/##
- looks for tools inside ##bin/<target>/##, i.e. it uses ##bin/<target>/ld.exe## instead of ##bin/[<target>-]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
- ##[[CompilerOpttarget -target]]## only accepts simple FB target names, no system triplets
Deletions:
- ld.exe
- <target>-ld.exe
- //other native and cross-compilation tools...//
- libfb.a (native)
- <target>-freebasic/
- libfb.a (for other target)
- //other libraries for that target...//
- fbc is located in bin/, like other programs
- looks for includes in include/freebasic/, instead of inc/ or include/
- looks for its own libraries in lib/freebasic/ instead of lib/
- looks for binutils/gcc 1) in bin/ and 2) by relying on PATH
- looks for crt/gcc libraries 1) in lib/freebasic/ and 2) by running "gcc -print-file-name=..."
- [[CompilerOpttarget -target]] accepts system triplets such as "i686-pc-linux-gnu"
- the target name given to -target is prepended to the gcc/binutils program names when cross-compiling
- compatible with the standard /usr or /usr/local directories
- uses windres from binutils to compile win32 resource scripts
This makes the normal FB build integrate with GNU/Linux distributions and other Unix-like systems pretty well, and also allows installing ""FreeBASIC"" into ""MinGW"" or DJGPP trees, and even allows FB to work with binutils/gcc cross-compiling toolchains.
- the fbc binary is located at the toplevel, not inside bin/
- looks for tools inside bin/<target>/, not just bin/
- looks for FB includes in inc/, not in include/freebasic/
- looks for libraries in lib/<target>/, not in lib/freebasic/
- does not try to rely on PATH and use system tools
- [[CompilerOpttarget -target]] only accepts simple FB target names, no system triplets


Revision [16278]

Edited on 2012-08-15 15:29:13 by DkLwikki [Add new normal vs. standalone page]
Additions:
>>::c::<<Normal directory layout:
- bin/
<<>>Standalone directory layout:
- bin/
- fbc is located in bin/, like other programs
- looks for includes in include/freebasic/, instead of inc/ or include/
- looks for its own libraries in lib/freebasic/ instead of lib/
- looks for binutils/gcc 1) in bin/ and 2) by relying on PATH
- looks for crt/gcc libraries 1) in lib/freebasic/ and 2) by running "gcc -print-file-name=..."
- [[CompilerOpttarget -target]] accepts system triplets such as "i686-pc-linux-gnu"
- the target name given to -target is prepended to the gcc/binutils program names when cross-compiling
- compatible with the standard /usr or /usr/local directories
- typically used for the FB-linux release
- uses windres from binutils to compile win32 resource scripts
- the fbc binary is located at the toplevel, not inside bin/
- looks for tools inside bin/<target>/, not just bin/
- looks for FB includes in inc/, not in include/freebasic/
- looks for libraries in lib/<target>/, 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
Deletions:
>>::c::<< - bin/
<<>> - bin/
- fbc is located in bin/, like other programs
- looks for includes in include/freebasic/, instead of inc/ or include/
- looks for its own libraries in lib/freebasic/ instead of lib/
- looks for binutils/gcc 1) in bin/ and 2) by relying on PATH
- looks for crt/gcc libraries 1) in lib/freebasic/ and 2) by running "gcc -print-file-name=..."
- [[CompilerOpttarget -target]] accepts system triplets such as "i686-pc-linux-gnu"
- the target name given to -target is prepended to the gcc/binutils program names when cross-compiling
- compatible with the standard /usr or /usr/local directories
- typically used for the FB-linux release
- uses windres from binutils to compile win32 resource scripts
- the fbc binary is located at the toplevel, not inside bin/
- looks for tools inside bin/<target>/, not just bin/
- looks for FB includes in inc/, not in include/freebasic/
- looks for libraries in lib/<target>/, 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


Revision [16277]

The oldest known version of this page was created on 2012-08-15 15:26:54 by DkLwikki [Add new normal vs. standalone page]
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki



sf.net phatcode