EnglishFrenchSpanish

OnWorks favicon

patscc - Online in the Cloud

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

This is the command patscc 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


patscc - ATS2 compiler frontend

SYNOPSIS


patscc [options] files...

DESCRIPTION


patscc is a frontend to the Postiats compiler patsopt for the ATS2 language.

OPTIONS


patscc has a command-line option syntax in the style of gcc and accepts all the same
options, many of them being passed directly to the gcc backend. Here are summarized the
non-gcc options.

-atsccomp <command>
Specify the name of the C compiler on the command line. Otherwise, use environment
variable ATSCCOMP or the default. See further details on environment variables.

-cleanaft
Clean up incidental generated C files after compilation finishes.

--compile, -ccats
Only compile the given ATS source files into C files.

-DATS <name>[=<value>], -DDATS <name>[=<value>]
Define a name/value macro toplevel value in ATS. -DDATS also passes this option to
the C compiler.

-IATS <path>, -IIATS <path>
Add a path to search for ATS files when doing static and dynamic loads. -IIATS
also passes this path to the C compiler.

-fsats <file>, -fdats <file>
These indicate that the following file is a SATS or a DATS file. Unnecessary if
standard filename extensions .sats or .dats are used.

--gline
Place line pragma information based on ATS source in the generated C code.

--typecheck, -tcats
Typecheck the given ATS source files, but go no further.

--version, -vats
Show ATS2/Postiats version and gcc version.

ENVIRONMENT VARIABLES


PATSCCOMP, ATSCCOMP
Use the value of this environment variable as the command name of the C compiler.
The default is gcc -D_XOPEN_SOURCE -I${ATSHOME} -I${ATSHOME}/ccomp/runtime
-L${ATSHOME}/ccomp/atslib/lib

PATSHOME, ATSHOME
Use the value of this environment variable as the path to the ATS library
installation. The default is distribution-specific.

PATSOPT, ATSOPT
Use the value of this environment variable as the command name of the ATS compiler.
The default is patsopt.

EXAMPLES


patscc -o test -O3 test.dats

Compile test.dats to an executable named test. Tell gcc to use the third level of
optimization.

patscc -tcats test.dats

Typecheck test.dats only.

patscc -ccats test.dats

Compile to C file test_dats.c only.

patscc -o test.o -c test.dats -cleanaft

Compile test.dats to an object file named test.o, and delete intermediate C file.

Use patscc online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    Psi
    Psi
    Psi is cross-platform powerful XMPP
    client designed for experienced users.
    There are builds available for MS
    Windows, GNU/Linux and macOS.. Audience:
    End Users...
    Download Psi
  • 2
    Blobby Volley 2
    Blobby Volley 2
    Official continuation of the famous
    Blobby Volley 1.x arcade game..
    Audience: End Users/Desktop. User
    interface: OpenGL, SDL. Programming
    Language: C++, Lua. C...
    Download Blobby Volley 2
  • 3
    SuiteCRM
    SuiteCRM
    SuiteCRM is the award-winning Customer
    Relationship Management (CRM)
    application brought to you by authors
    and maintainers, SalesAgility. It is the
    world�s mos...
    Download SuiteCRM
  • 4
    Poweradmin
    Poweradmin
    Poweradmin is a web-based DNS
    administration tool for PowerDNS server.
    The interface has full support for most
    of the features of PowerDNS. It has full
    support...
    Download Poweradmin
  • 5
    Gin Web Framework
    Gin Web Framework
    Gin is an incredibly fast web framework
    written in Golang that can perform up to
    40 times faster, thanks to its
    martini-like API and custom version of
    httprout...
    Download Gin Web Framework
  • 6
    CEREUS LINUX
    CEREUS LINUX
    CEREUS LINUX basado en MX LINUX con
    varios entornos de escritorios. This is
    an application that can also be fetched
    from
    https://sourceforge.net/projects/cereu...
    Download CEREUS LINUX
  • More »

Linux commands

  • 1
    aa-clickquery
    aa-clickquery
    aa-clickquery - program for querying
    click-apparmor DESCRIPTION: This program
    is used to query click-apparmor for
    information. USAGE: aa-clickquery
    --click-fra...
    Run aa-clickquery
  • 2
    aa-exec-click
    aa-exec-click
    aa-exec-click - program for executing
    click packages under confinement
    DESCRIPTION: This program is used to
    execute click package under AppArmor
    confinement. I...
    Run aa-exec-click
  • 3
    cpio
    cpio
    cpio - copy files to and from archives ...
    Run cpio
  • 4
    cpipe
    cpipe
    cpipe - copy stdin to stdout while
    counting bytes and reporting progress ...
    Run cpipe
  • 5
    FvwmSave
    FvwmSave
    FvwmSave - the Fvwm desktop-layout
    saving module ...
    Run FvwmSave
  • 6
    FvwmSave1
    FvwmSave1
    FvwmSave - the FVWM desktop-layout
    saving module ...
    Run FvwmSave1
  • More »

Ad