Revision history for CompilerOptgen


Revision [26734]

Last edited on 2024-01-28 16:20:46 by JeffMarshall

No Differences

Revision [26733]

Edited on 2024-01-28 14:55:29 by JeffMarshall [add -gen clang]
Additions:
##**gas**## for x86 GAS assembly, ##**gcc**## for GNU C, ##**gas64**## for x86_64 GAS assembly, ##**clang**## for clang, ##**llvm**## for LLVM IR.
{{fbdoc item="subsect" value="-gen clang"}}
The compiler will emit C code to a ##.c## file which will then be compiled to an .asm file using '##clang##' as a high level assembler.
{{fbdoc item="ver"}}
- ##-gen clang## added in fbc 1.20.0
Deletions:
##**gas**## for x86 GAS assembly, ##**gcc**## for GNU C, ##**gas64**## for x86_64 GAS assembly, ##**llvm**## for LLVM IR.


Revision [26702]

Edited on 2023-11-14 13:13:25 by fxm [added the default values]
Additions:
The ##-gen## compiler option sets the backend code emitter and assembler. If this option is not specified, the default is ##-gen gas## for x86 and ##-gen gcc## for x86_64.
Deletions:
The ##-gen## compiler option sets the backend code emitter and assembler.


Revision [25538]

Edited on 2021-10-12 14:33:35 by fxm [removed version section]
Deletions:
{{fbdoc item="ver"}}
- Since fbc 1.00.0


Revision [25396]

Edited on 2021-10-11 07:14:46 by JeffMarshall [insert version section]
Additions:
{{fbdoc item="ver"}}
- Since fbc 1.00.0


Revision [24617]

Edited on 2020-10-13 10:17:37 by fxm [added gas64 emitter for x86_64 (SARG)]
Additions:
##**gas**## for x86 GAS assembly, ##**gcc**## for GNU C, ##**gas64**## for x86_64 GAS assembly, ##**llvm**## for LLVM IR.
{{fbdoc item="subsect" value="-gen gas64"}}
The compiler will emit GAS assembler code (64-bit) to a ##.asm## file which will then be compiled to an object file using '##as##'.
Deletions:
##**gas**## for x86 GAS assembly, ##**gcc**## for GNU C, ##**llvm**## for LLVM IR.


Revision [21635]

Edited on 2016-10-30 18:09:23 by fxm [Formatting]
Additions:



Revision [19925]

Edited on 2016-02-10 15:45:55 by DkLwikki [Update link format]
Additions:
The compiler will emit C code to a ##.c## file which will then be compiled to an .asm file using '##gcc##' as a high level assembler. The C backend is intended to make FB portable to more platforms than just x86. This requires gcc to be installed so that fbc can invoke it to compile the C code, also see [[CompilerInstallingGcc|Installing gcc for -gen gcc]].
- [[CompilerTools|Tools used by fbc]]
- [[CompilerCmdLine|Using the Command Line]]
Deletions:
The compiler will emit C code to a ##.c## file which will then be compiled to an .asm file using '##gcc##' as a high level assembler. The C backend is intended to make FB portable to more platforms than just x86. This requires gcc to be installed so that fbc can invoke it to compile the C code, also see [[CompilerInstallingGcc Installing gcc for -gen gcc]].
- [[CompilerTools Tools used by fbc]]
- [[CompilerCmdLine Using the Command Line]]


Revision [17633]

Edited on 2015-04-28 06:37:57 by DkLwikki [Link to CompilerInstallingGcc]
Additions:
The compiler will emit C code to a ##.c## file which will then be compiled to an .asm file using '##gcc##' as a high level assembler. The C backend is intended to make FB portable to more platforms than just x86. This requires gcc to be installed so that fbc can invoke it to compile the C code, also see [[CompilerInstallingGcc Installing gcc for -gen gcc]].
Deletions:
The compiler will emit C code to a ##.c## file which will then be compiled to an .asm file using '##gcc##' as a high level assembler. The C backend is intended to make FB portable to more platforms than just x86.


Revision [16876]

Edited on 2013-06-25 08:35:52 by DkLwikki [-gen gcc is stable now; add -gen llvm]
Additions:
##**gas**## for x86 GAS assembly, ##**gcc**## for GNU C, ##**llvm**## for LLVM IR.
Deletions:
##**gas**## for x86 GAS assembly or ##**gcc**## for GNU C.


Revision [16875]

Edited on 2013-06-25 08:35:19 by DkLwikki [-gen gcc is stable now; add -gen llvm]
Additions:

The compiler will emit GAS assembler code to a ##.asm## file which will then be compiled to an object file using '##as##'. This is fbc's original x86 code generation backend.

The compiler will emit C code to a ##.c## file which will then be compiled to an .asm file using '##gcc##' as a high level assembler. The C backend is intended to make FB portable to more platforms than just x86.
{{fbdoc item="subsect" value="-gen llvm"}}
The compiler will emit LLVM IR code to a ##.ll## file which will then be compiled to an .asm file using '##llc##'. The LLVM backend is still a work in progress. It is intended for the same purpose as the C backend, and could theoretically solve some of the C backend's problems, such as debugging meta data support.
Deletions:
The compiler will emit GAS assembler code to a ##.asm## file which will then be compiled to an object file using '##as##'.
The compiler will emit C code to a ##.c## file which will then be compiled to an object file using '##gcc##' as a high level assembler. **Note**: the C emitter is a work in progress, incomplete, and certainly not bug free. However, the goal of the C emitter (when complete) will be to make it possible to port ""FreeBASIC""-compiled programs (and ##fbc## itself) to other platforms.


Revision [15102]

Edited on 2011-07-07 09:20:41 by DoS386 [bump]
Additions:
The compiler will emit C code to a ##.c## file which will then be compiled to an object file using '##gcc##' as a high level assembler. **Note**: the C emitter is a work in progress, incomplete, and certainly not bug free. However, the goal of the C emitter (when complete) will be to make it possible to port ""FreeBASIC""-compiled programs (and ##fbc## itself) to other platforms.
Deletions:
The compiler will emit C code to a ##.c## file which will then be compiled to an object file using '##gcc##' as a high level assembler. **Note:** the C emitter is a work in progress, incomplete, and certainly not bug free. However, the goal of the C emitter (when complete) will be to make it possible to port ""FreeBASIC""-compiled programs (and ##fbc## itself) to other platforms.


Revision [13876]

Edited on 2008-11-09 11:27:21 by CountingPine [bump]
Additions:
The compiler will emit GAS assembler code to a ##.asm## file which will then be compiled to an object file using '##as##'.
The compiler will emit C code to a ##.c## file which will then be compiled to an object file using '##gcc##' as a high level assembler. **Note:** the C emitter is a work in progress, incomplete, and certainly not bug free. However, the goal of the C emitter (when complete) will be to make it possible to port ""FreeBASIC""-compiled programs (and ##fbc## itself) to other platforms.
Deletions:
The compiler will emit GAS assembler code to a ##.asm## file which will then be compiled to an object file using 'as'.
The compiler will emit C code to a ##.c## file which will then be compiled to an object file using 'gcc' as a high level assembler. **Note:** the C emitter is a work in progress, incomplete, and certainly not bug free. However, the goal of the C emitter (when complete) will be to make porting FreeBASIC compiled programs (and ##fbc## itself) to other platforms.


Revision [13646]

Edited on 2008-08-06 05:30:32 by JeffMarshall [spelling]
Additions:
The compiler will emit C code to a ##.c## file which will then be compiled to an object file using 'gcc' as a high level assembler. **Note:** the C emitter is a work in progress, incomplete, and certainly not bug free. However, the goal of the C emitter (when complete) will be to make porting FreeBASIC compiled programs (and ##fbc## itself) to other platforms.
Deletions:
The compiler will emit C code to a ##.c## file which will then be compiled to an object file using 'gcc' as a high level assembler. **Note:** the C emitter is a work in progress, incomplete, and certainly not bug free. However, the goal of the C emitter (when complete) will be to make porting FreeBASIC compiled programs (and ##fbc## iteself) to other platforms.


Revision [13619]

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



sf.net phatcode