Content-type: text/html Manpage of FBC

FBC

Section: FreeBASIC Compiler (1)
Updated: Mar 15, 2007
Index Return to Main Contents
 

NAME

fbc - the FreeBASIC compiler  

DESCRIPTION

Compiles BASIC source code files to native code.  

SYNOPSIS

fbc [options] inputlist

 

OPTIONS

inputlist
*.a = library, *.o = object, *.bas = source, *.xpm = icon resource
-a name
Add an object file to linker's list
-arch type
Set target architecture (default: 486)
-b name
Add a source file to compilation
-c
Compile only, do not link
-d name[=val]
Add a preprocessor define
-dll
Same as -dylib
-dylib
Create a shared library
-e
Add error checking
-ex
Add error checking with RESUME support
-exx
Same as above plus array bounds and null-pointer checking
-export
Export symbols for dynamic linkage
-g
Add debug info
-i name
Add a path to search for include files
-include name
Include a header file on each source compiled
-l name
Add a library file to linker's list
-lang name
Select language compatibility: fb (default), deprecated, qb
-lib
Create a static library
-m name
Main file without extension, the entry point (default: 1st .bas on list)
-map name
Save the linking map to file name
-maxerr val
Only stop parsing if val errors occurred
-mt
Link with thread-safe runtime library
-nodeflibs
Do not include the default libraries
-noerrline
Do not show source line where error occured
-o name
Set output name (in the same number as source files)
-p name
Add a path to search for libraries
-profile
Enable function profiling
-r
Do not delete the asm file(s)
-v
Be verbose
-version
Show compiler version
-w value
Set min warning level: all, pedantic, or an integer
-Wa opt
Pass options to GAS (separated by commas)
-Wl opt
Pass options to LD (separated by commas)
-x name
Set executable/library name

 

ENVIRONMENT

AS
Overrides location of GNU AS (assembler)
LD
Overrides location of GNU LD (linker)

 

SEE ALSO

The full language specification and help is available in wiki format at http://www.freebasic.net/wiki/  

COPYRIGHT

Copyright © 2004-2007 The FreeBASIC development Team
This is free software. You may redistribute copies of it under the terms of the GNU General Public License <http://www.gnu.org/licenses/gpl.html>. There is NO WARRANTY, to the extent permitted by law.  

BUGS

Any bugs should be reported on the Sourceforge.net tracker located at http://www.sourceforge.net/projects/fbc

 

AUTHOR

This manpage written by Ebben Feagan (ebben.feagan@gmail.com)


 

Index

NAME
DESCRIPTION
SYNOPSIS
OPTIONS
ENVIRONMENT
SEE ALSO
COPYRIGHT
BUGS
AUTHOR

This document was created by man2html, using the manual pages.
Time: 01:43:50 GMT, June 18, 2007