Revision history for CompilerTools


Revision [21685]

Last edited on 2016-11-07 08:15:05 by fxm [Formatting]
Additions:





Revision [20778]

Edited on 2016-03-12 11:41:16 by fxm [Formatting]
Additions:









Revision [19967]

Edited on 2016-02-10 15:47:14 by DkLwikki [Update link format]
Additions:
You can check if your installed version of ##fbc## is "standalone" or "prefixed" by invoking ##fbc## with the //[[CompilerOptversion|-version]]// command line option.
If ##fbc## was configured as "standalone", it will search for files relative to where the ##fbc## executable is located. ##fbc## is at the "top" of the directory tree and searches sub-directories below it. The "top" directory (which defaults to the location where ##fbc## is located) can be overridden with the //[[CompilerOptprefix|-prefix]]// command line option. "topdir" shown in the directories below represents the directory where the ##fbc## executable is located, or the directory specified with the //[[CompilerOptprefix|-prefix]]// command line option (if it was given). "<target>" refers to the target platform having the same name as specified by the //[[CompilerOpttarget|-target]]// option.
If ##fbc## was configured as "prefixed", it will search for files relative to the configured prefix (hardcoded in the ##fbc## executable). "prefix" shown in the directories below represents the configured prefix, or the directory specified with the //[[CompilerOptprefix|-prefix]]// command line option (if it was given). "##<target>##" refers to the target platform having the same name as specified by the //[[CompilerOpttarget|-target]]// option.
"##<target>##" refers to the target platform having the same name as specified by the //[[CompilerOpttarget|-target]]// option.
- [[CompilerRunning|Running FreeBASIC]]
- [[CompilerCmdLine|Compiler Command Line Options]]
- [[CompilerFAQ|Compiler FAQ]]
Deletions:
You can check if your installed version of ##fbc## is "standalone" or "prefixed" by invoking ##fbc## with the //[[CompilerOptversion -version]]// command line option.
If ##fbc## was configured as "standalone", it will search for files relative to where the ##fbc## executable is located. ##fbc## is at the "top" of the directory tree and searches sub-directories below it. The "top" directory (which defaults to the location where ##fbc## is located) can be overridden with the //[[CompilerOptprefix -prefix]]// command line option. "topdir" shown in the directories below represents the directory where the ##fbc## executable is located, or the directory specified with the //[[CompilerOptprefix -prefix]]// command line option (if it was given). "<target>" refers to the target platform having the same name as specified by the //[[CompilerOpttarget -target]]// option.
If ##fbc## was configured as "prefixed", it will search for files relative to the configured prefix (hardcoded in the ##fbc## executable). "prefix" shown in the directories below represents the configured prefix, or the directory specified with the //[[CompilerOptprefix -prefix]]// command line option (if it was given). "##<target>##" refers to the target platform having the same name as specified by the //[[CompilerOpttarget -target]]// option.
"##<target>##" refers to the target platform having the same name as specified by the //[[CompilerOpttarget -target]]// option.
- [[CompilerRunning Running FreeBASIC]]
- [[CompilerCmdLine Compiler Command Line Options]]
- [[CompilerFAQ Compiler FAQ]]


Revision [14664]

Edited on 2010-06-19 04:22:57 by DkLwikki [Reverted previous change.]
Additions:
{{fbdoc item="back" value="DocToc|Table of Contents"}}
Deletions:
{{fbdoc item="back" value="FBWiki|Main Page"}}


Revision [14639]

Edited on 2010-06-15 11:32:52 by DkLwikki ["Back to Main" instead of "Back to TOC"]
Additions:
{{fbdoc item="back" value="FBWiki|Main Page"}}
Deletions:
{{fbdoc item="back" value="DocToc|Table of Contents"}}


Revision [14228]

Edited on 2009-08-20 02:53:45 by CountingPine [updated]
Additions:


Revision [13645]

Edited on 2008-08-06 05:30:30 by JeffMarshall [spelling/typos/formatting]
Additions:
FreeBASIC (##fbc##) may have been configured in one of two ways: either as standalone or prefixed. The standalone version searches directories relative to where the executable is located. The prefixed version has a hardcoded path configured in to the compiler indicating where it expects to find additional tools and libraries. For more information on configuring FreeBASIC, see the ##INSTALL## text file located in the src/compiler directory of the FreeBASIC sources.
- ##/topdir/inc##
- ##/topdir/lib/<target>##
- ##/topdir/bin/<target>##
- ##/topdir/inc##
- ##/topdir/lib/<target>##
- ##/topdir/bin/<target>##
If ##fbc## was configured as "prefixed", it will search for files relative to the configured prefix (hardcoded in the ##fbc## executable). "prefix" shown in the directories below represents the configured prefix, or the directory specified with the //[[CompilerOptprefix -prefix]]// command line option (if it was given). "##<target>##" refers to the target platform having the same name as specified by the //[[CompilerOpttarget -target]]// option.
- ##/prefix/include/freebasic##
- ##/prefix/lib/freebasic/<target>##
- ##/prefix/bin/freebasic/<target>##
- ##/prefix/include/freebasic##
- ##/prefix/lib/freebasic/<target>##
- ##/prefix/bin/freebasic/<target>##
- ##crt1.o##
- ##crtbegin.o##
- ##crtend.o##
- ##crti.o##
- ##crtn.o##
- ##gcrt1.o##
- ##libgcc.a##
- ##""libsupc+""+.a##
- ##libc.so (Linux only)##
##fbc## will invoke additional tools (binary executables) as part of the compiling and linking process. The following is a list of tools (executables) that may be invoked by ##fbc## depending on the host platform, target, or type of executable or library to be produced:
- If the file (or a symlink) exists in ##prefix/bin/freebasic/<target>##, or ##./bin/<target>## for the standalone version, then use it.
- On Linux, if the tool could not be found in ##prefix/bin/freebasic/<target>##, or ##./bin/<target>## for the standalone version, ##fbc## tries to invoke it anyway as it may be installed on the system and located on the PATH.
"##<target>##" refers to the target platform having the same name as specified by the //[[CompilerOpttarget -target]]// option.
Deletions:
FreeBASIC (##fbc##) may have been configured in one of two ways: either as standalone or prefixed. The standalone version searches directories relative to where the executable is located. The prefixed version has a hardcoded path configured in to compiler indicating where it expects to find additional tools and libraries. For more information on configuring FreeBASIC, see the ##INSTALL## text file located in the src/compiler directory of the FreeBASIC sources.
- /topdir/inc
- /topdir/lib/<target>
- /topdir/bin/<target>
- /topdir/inc
- /topdir/lib/<target>
- /topdir/bin/<target>
If ##fbc## was configured as "prefixed", it will search for files relative to the configured prefix (hardcoded in the ##fbc## executable). "prefix" shown in the directories below represents the configured prefix, or the directory specified with the //[[CompilerOptprefix -prefix]]// command line option (if it was given). "<target>" refers to the target platform having the same name as specified by the //[[CompilerOpttarget -target]]// option.
- /prefix/include/freebasic
- /prefix/lib/freebasic/<target>
- /prefix/bin/freebasic/<target>
- /prefix/include/freebasic
- /prefix/lib/freebasic/<target>
- /prefix/bin/freebasic/<target>
- crt1.o
- crtbegin.o
- crtend.o
- crti.o
- crtn.o
- gcrt1.o
- libgcc.a
- ""libsupc+""+.a
- libc.so (Linux only)
##fbc## will invoke additional tools (binary executables) as part of the compiling and linking process. The following is a list of tools (executables) that may be invoked by ##fbc## depending on the host platform, target, or type of exectuable or library to be produced:
- If the file (or a symlink) exists in prefix/bin/freebasic/<target>, or ./bin/<target> for the standalone version, then use it.
- On Linux, if the tool could not be found in prefix/bin/freebasic/<target>, or ./bin/<target> for the standalone version, ##fbc## tries to invoke it anyway as it may be installed on the system and located on the PATH.
"<target>" refers to the target platform having the same name as specified by the //[[CompilerOpttarget -target]]// option.


Revision [13632]

Edited on 2008-07-25 16:56:43 by JeffMarshall [updated]
Additions:
External tools the FreeBASIC compiler (fbc) may invoke during the compilation process.
If ##fbc## was configured as "standalone", it will search for files relative to where the ##fbc## executable is located. ##fbc## is at the "top" of the directory tree and searches sub-directories below it. The "top" directory (which defaults to the location where ##fbc## is located) can be overridden with the //[[CompilerOptprefix -prefix]]// command line option. "topdir" shown in the directories below represents the directory where the ##fbc## executable is located, or the directory specified with the //[[CompilerOptprefix -prefix]]// command line option (if it was given). "<target>" refers to the target platform having the same name as specified by the //[[CompilerOpttarget -target]]// option.
If ##fbc## was configured as "prefixed", it will search for files relative to the configured prefix (hardcoded in the ##fbc## executable). "prefix" shown in the directories below represents the configured prefix, or the directory specified with the //[[CompilerOptprefix -prefix]]// command line option (if it was given). "<target>" refers to the target platform having the same name as specified by the //[[CompilerOpttarget -target]]// option.
- If the file (or a symlink) exists in prefix/bin/freebasic/<target>, or ./bin/<target> for the standalone version, then use it.
- On Linux, if the tool could not be found in prefix/bin/freebasic/<target>, or ./bin/<target> for the standalone version, ##fbc## tries to invoke it anyway as it may be installed on the system and located on the PATH.
"<target>" refers to the target platform having the same name as specified by the //[[CompilerOpttarget -target]]// option.
Deletions:
Controlling how FreeBASIC invokes various tools in the compilation process.
If ##fbc## was configured as "standalone", it will search for files relative to where the ##fbc## executable is located. ##fbc## is at the "top" of the directory tree and searches sub-directories below it. The "top" directory (which defaults to the location where ##fbc## is located) can be overridden with the //[[CompilerOptprefix -prefix]]// command line option. "topdir" shown in the directories below represents the directory where the ##fbc## executable is located, or the directory specified with the //[[CompilerOptprefix -prefix]]// command line option (if it was given).
If ##fbc## was configured as "prefixed", it will search for files relative to the configured prefix (hardcoded in the ##fbc## executable). "prefix" shown in the directories below represents the configured prefix, or the directory specified with the //[[CompilerOptprefix -prefix]]// command line option (if it was given).
- If the file (or a symlink) exists in ./bin/<target>, then use it.
- On Linux, if the tool could not be found in ./bin/<target>, ##fbc## tries to invoke it anyway as it may be installed on the system and located on the PATH.


Revision [13624]

Edited on 2008-07-24 01:49:33 by TiGer [minor change]
Additions:
- On Linux, if the tool could not be found in ./bin/<target>, ##fbc## tries to invoke it anyway as it may be installed on the system and located on the PATH.
Deletions:
- on Linux, if the tool could not be found in ./bin/<target>, ##fbc## tries to invoke it anyway as it may be installed on the system and located on the PATH.


Revision [13621]

Edited on 2008-07-22 10:52:29 by JeffMarshall [subtitle change]
Additions:
{{fbdoc item="section" value="GCC Queries"}}
{{fbdoc item="section" value="Finding Binaries"}}
##fbc## will invoke additional tools (binary executables) as part of the compiling and linking process. The following is a list of tools (executables) that may be invoked by ##fbc## depending on the host platform, target, or type of exectuable or library to be produced:
Deletions:
{{fbdoc item="section" value="gcc queries"}}
{{fbdoc item="section" value="Environment Variables"}}
##fbc## will invoke additional tools (executables) as part of the compiling and linking process. The following is a list of tools (executables) that may be invoked by ##fbc## depending on the host platform, target, or type of exectuable or library to be produced:


Revision [13620]

Edited on 2008-07-22 10:46:50 by JeffMarshall [typo]
Additions:
If ##fbc## was configured as "prefixed", it will search for files relative to the configured prefix (hardcoded in the ##fbc## executable). "prefix" shown in the directories below represents the configured prefix, or the directory specified with the //[[CompilerOptprefix -prefix]]// command line option (if it was given).
Deletions:
If ##fbc## was configured as "prefixed", it will search for files relative to the configured prefix (hardcoded in the ##fbc## executable). "prefix" shown in the directories below represents the directory where the ##fbc## executable is located, or the directory specified with the //[[CompilerOptprefix -prefix]]// command line option (if it was given).


Revision [13614]

The oldest known version of this page was created on 2008-07-22 10:26:06 by JeffMarshall [typo]
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki



sf.net phatcode