EnglishFrenchSpanish

OnWorks favicon

gdc-4.9 - Online in the Cloud

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

This is the command gdc-4.9 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 gdc-4.9 online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    Dolibarr ERP - CRM
    Dolibarr ERP - CRM
    Dolibarr ERP - CRM is an easy to use
    ERP and CRM open source software package
    (run with a web php server or as
    standalone software) for businesses,
    foundations...
    Download Dolibarr ERP - CRM
  • 2
    SQuirreL SQL Client
    SQuirreL SQL Client
    SQuirreL SQL Client is a graphical SQL
    client written in Java that will allow
    you to view the structure of a JDBC
    compliant database, browse the data in
    tables...
    Download SQuirreL SQL Client
  • 3
    Brackets
    Brackets
    Brackets is a free, modern open-source
    text editor made especially for Web
    Development. Written in HTML, CSS, and
    JavaScript with focused visual tools and
    prepr...
    Download Brackets
  • 4
    Free Pascal Compiler
    Free Pascal Compiler
    A 32/64/16-bit Pascal compiler for
    Win32/64/CE, Linux, Mac OS X/iOS,
    Android, FreeBSD, OS/2, Game Boy
    Advance, Nintendo NDS and DOS;
    semantically compatible wi...
    Download Free Pascal Compiler
  • 5
    Canon EOS DIGITAL Info
    Canon EOS DIGITAL Info
    Canon doesn�t have shutter count
    included on the EXIF information of an
    image file, as opposed to Nikon and
    Pentax. There�s no official Canon based
    application ...
    Download Canon EOS DIGITAL Info
  • 6
    rEFInd
    rEFInd
    rEFInd is a fork of the rEFIt boot
    manager. Like rEFIt, rEFInd can
    auto-detect your installed EFI boot
    loaders and it presents a pretty GUI
    menu of boot option...
    Download rEFInd
  • More »

Linux commands

Ad