EnglishFrenchSpanish

OnWorks favicon

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

Run mips-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 mips-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 mips-linux-gnu-gdc online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    PyQt
    PyQt
    PyQt is the Python bindings for
    Digia's Qt cross-platform
    application development framework. It
    supports Python v2 and v3 and Qt v4 and
    Qt v5. PyQt is avail...
    Download PyQt
  • 2
    Sardi
    Sardi
    Sardi is a complete restyling and
    optimisation of svg code. 6 choices for
    your applications and 10 kind of folders
    to use in your file manager. The sardi
    icons...
    Download Sardi
  • 3
    LMMS Digital Audio Workstation
    LMMS Digital Audio Workstation
    LMMS is a free cross-platform software
    which allows you to produce music with
    your computer. If you like this project
    consider getting involved in the project
    h...
    Download LMMS Digital Audio Workstation
  • 4
    FreeRTOS Real Time Kernel (RTOS)
    FreeRTOS Real Time Kernel (RTOS)
    FreeRTOS is a market-leading real-time
    operating system (RTOS) for
    microcontrollers and small
    microprocessors. Distributed freely
    under the MIT open source lice...
    Download FreeRTOS Real Time Kernel (RTOS)
  • 5
    Avogadro
    Avogadro
    Avogadro is an advanced molecular
    editor designed for cross-platform use
    in computational chemistry, molecular
    modeling, bioinformatics, materials
    science and ...
    Download Avogadro
  • 6
    XMLTV
    XMLTV
    XMLTV is a set of programs to process
    TV (tvguide) listings and help manage
    your TV viewing, storing listings in an
    XML-based format. There are utilities to
    do...
    Download XMLTV
  • More »

Linux commands

Ad