EnglishFrenchSpanish

OnWorks favicon

alpha-linux-gnu-gdc - Online in the Cloud

Run alpha-linux-gnu-gdc in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command alpha-linux-gnu-gdc that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


gdc - A GCC-based compiler for the D language

SYNOPSIS


gdc [-c]
[-g] [-pg] [-Olevel]
[-Idir...] [-Ldir...]
[-o outfile] infile...

For any given input file, the file name suffix determines what kind of compilation is
done:

file.d
D source files.

file.di
D interface files.

file.o
Object files to link in.

file.a
Library files to link in

DESCRIPTION


The gdc command is a frontend to gcc and supports many of the same options. This manual
only documents the options specific to gdc. Most of these have both positive and negative
forms; the negative form of -ffoo would be -fno-foo. This manual documents only one of
these two forms, whichever one is not the default.

The gdc command may be used to compile D source code into an object file, link a
collection of object files together, or do both in sequence.

Only the most useful options are listed here; see below for the remainder.

OPTIONS


-frelease
Compile release version.

-funittest
Compile in unittest code.

-fno-assert
Turn off code generation for runtime assert()'s.

-fno-invariants
Turn off code generation for runtime invariant()'s.

-fno-in
Turn off code generation for runtime in() contracts.

-fno-out
Turn off code generation for runtime out() contracts.

-fno-bounds-check
Turns off array bounds checking for all functions.

-fno-builtin
Don't recognize built-in functions that do not begin with __builtin_ as prefix.

-fno-emit-moduleinfo
Turns off generation of module information and related functions.

-fd-verbose
Print information about D language processing to stdout.

-fproperty
For D2, enforce @property syntax.

-fd-vtls
List all variables going into thread local storage.

-fignore-unknown-pragmas
Ignore unsupported pragmas.

-fsplit-dynamic-arrays
Split dynamic arrays into length and pointer when passing to functions.

-femit-templates
Control template emission behaviour.

Turning on this option will emit all templates, but make them private to the
translation unit. The executable will have multiple copies of code and data.

Turning off this option will tell the compiler to not emit templates at all.

The default behaviour is to emit templates, but only if the compiler determines that
it needs to.

-fdebug=opt
Compile in debug code into the program.

These are supported options:

level
Compile in debug code <= level.

ident
Compile in debug code identified by ident.

-fdeps=filename
Write module dependencies to filename.

-fmake-deps=filename
Write makefile dependency output to the given file.

-fmake-mdeps=filename
Like -fmake-deps=filename but ignore system header files.

-fonly=filename
Process all modules specified on the command line, but only generate code for the
module specified by the argument.

-fversion=opt
Compile in version code into the program.

These are the supported options:

level
Compile in version code >= level.

ident
Compile in debug code identified by ident.

-fintfc
Generate D interface files.

-fintfc-dir=directory
Write D interface files to directory.

-fintfc-file=filename
Write D interface file to filename.

-fdoc
Generate documentation.

-fdoc-dir=directory
Write documentation file in directory.

-fdoc-file=filename
Write documentation file to filename.

-fdoc-inc=filename
Include a Ddoc macro file.

-fXf=filename
Write JSON file to filename.

-fdump-source
Dump decoded UTF-8 text from source.

-Wcast-result
Warn about casts that will produce a null or nil result.

-Werror
Make all warnings into errors.

-Wno-deprecated
Do not warn about usage of deprecated features.

-Wunknown-pragmas
Warn when a pragma is encountered that is not understood by GDC.

Use alpha-linux-gnu-gdc online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    Eclipse Checkstyle Plug-in
    Eclipse Checkstyle Plug-in
    The Eclipse Checkstyle plug-in
    integrates the Checkstyle Java code
    auditor into the Eclipse IDE. The
    plug-in provides real-time feedback to
    the user about viol...
    Download Eclipse Checkstyle Plug-in
  • 2
    AstrOrzPlayer
    AstrOrzPlayer
    AstrOrz Player is a free media player
    software, part based on WMP and VLC. The
    player is in a minimalist style, with
    more than ten theme colors, and can also
    b...
    Download AstrOrzPlayer
  • 3
    movistartv
    movistartv
    Kodi Movistar+ TV es un ADDON para XBMC/
    Kodi que permite disponer de un
    decodificador de los servicios IPTV de
    Movistar integrado en uno de los
    mediacenters ma...
    Download movistartv
  • 4
    Code::Blocks
    Code::Blocks
    Code::Blocks is a free, open-source,
    cross-platform C, C++ and Fortran IDE
    built to meet the most demanding needs
    of its users. It is designed to be very
    extens...
    Download Code::Blocks
  • 5
    Amidst
    Amidst
    Amidst or Advanced Minecraft Interface
    and Data/Structure Tracking is a tool to
    display an overview of a Minecraft
    world, without actually creating it. It
    can ...
    Download Amidst
  • 6
    MSYS2
    MSYS2
    MSYS2 is a collection of tools and
    libraries providing you with an
    easy-to-use environment for building,
    installing and running native Windows
    software. It con...
    Download MSYS2
  • More »

Linux commands

  • 1
    a56
    a56
    A56 - Motorola DSP56001 assembler ...
    Run a56
  • 2
    a68g
    a68g
    a68g - Algol 68 Genie, an Algol 68
    compiler-interpreter ...
    Run a68g
  • 3
    copt
    copt
    copt - peephole optimizer SYSNOPIS:
    copt file.. DESCRIPTION: copt is a
    general-purpose peephole optimizer. It
    reads code from its standard input and
    writes an ...
    Run copt
  • 4
    copydatabase-1.3
    copydatabase-1.3
    copydatabase - Perform a
    document-by-document copy of one or more
    Xapian databases ...
    Run copydatabase-1.3
  • 5
    fweelin
    fweelin
    freewheeling � live looping musical
    instrument ...
    Run fweelin
  • 6
    fwexec
    fwexec
    fwexec - program to upload and rexecute
    image file to a connected NXT device ...
    Run fwexec
  • More »

Ad