FreeBASIC
FreeBASIC is a multiplatform, free/open source (GPL) BASIC compiler for Microsoft Windows, protected-mode DOS (DOS extender), Linux, FreeBSD and Xbox. The Xbox version is no longer maintained.
According to its official website, FreeBASIC provides syntax compatibility with programs originally written in QuickBASIC. Unlike QuickBASIC, however, FreeBASIC is a command line only compiler, unless users manually install an external IDE of their choice. IDEs specifically made for FreeBASIC include FBide and FbEdit.
Compiler features
On its backend, FreeBASIC makes use of GNU binutils in order to produce console and GUI applications. FreeBASIC supports the linking and creation of C static and dynamic libraries and has limited support for C++ libraries. As a result, code compiled in FreeBASIC can be reused in most native development environments.
C style preprocessing, including multiline macros, conditional compiling and file inclusion, is supported. The preprocessor also has access to symbol information and compiler settings, such as the language dialect.