Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

atsopt(1) [debian man page]

atsopt(1)						      General Commands Manual							 atsopt(1)

NAME
atsopt - ATS to C compiler SYNOPSIS
atsopt <command>... DESCRIPTION
atsopt is the compiler from ATS to C. It is most commonly invoked by atscc which is the preferred frontend for compiling ATS code. COMMANDS
atsopt takes a number of commands with parameters to determine its behavior: -d, --dynamic <filenames> Dynamically load the filenames. --debug=1 Enable generation of debugging information. -dep, --depgen Generate dependency lists. -h, --help Print the usage information. -o, --output <filename> Specify the output filename. --posmark_html Generate an HTML file with colored concrete syntax. --posmark_xref Generate an HTML file with syntactic cross-references. -s, --static <filenames> Statically load the filenames. -tc, --typecheck Typecheck the given ATS source files, but go no further. -v, --version Show ATS/Anairiats version and gcc version. EXAMPLES
atsopt -o test.c -d test.dats Compile test.dats to a C file. atsopt -tc -d test.dats Typecheck test.dats only. atsopt -o test.html -d test.dats --posmark_html Write a syntax colored version of test.dats. SEE ALSO
atscc(1), atslex(1). These programs are documented fully by The ATS/Anairiats user's manual available via the web at http://www.ats-lang.org/ AUTHOR
atsopt was written by Hongwei Xi. This manual page was written by Matthew Danish <mrd@debian.org>, for the Debian project (and may be used by others). February 22, 2010 atsopt(1)

Check Out this Related Man Page

GO-TEST(1)						      General Commands Manual							GO-TEST(1)

NAME
go - tool for managing Go source code SYNOPSIS
go test [-c] [-i] [ build flags ] [ packages ] [ flags for test binary ] DESCRIPTION
"Go test" automates testing the packages named by the import paths. It prints a summary of the test results in the format: ok archive/tar 0.011s FAIL archive/zip 0.022s ok compress/gzip 0.033s ... followed by detailed output for each failed package. "Go test" recompiles each package along with any files with names matching the file pattern "*_test.go". These additional files can con- tain test functions, benchmark functions, and example functions. See go-testfunc(7) for more. By default, go test needs no arguments. It compiles and tests the package with source in the current directory, including tests, and runs the tests. The package is built in a temporary directory so it does not interfere with the non-test installation. OPTIONS
In addition to the build flags, the flags handled by 'go test' itself are: -c Compile the test binary to pkg.test but do not run it. -i Install packages that are dependencies of the test. Do not run the test. The test binary also accepts flags that control execution of the test; these flags are also accessible by 'go test'. See go-testflag(7) for details. For more about build flags, see go-build(1). For more about specifying packages, see go-packages(7). SEE ALSO
go-build(1), go-vet(1). AUTHOR
This manual page was written by Michael Stapelberg <stapelberg@debian.org>, for the Debian project (and may be used by others). 2012-05-13 GO-TEST(1)
Man Page

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

string test?

hey guys- what is the syntax for a string test to verify that a user has entered a 6 digit numeric? Thanks for your help in advance! Todd (9 Replies)
Discussion started by: hedrict
9 Replies

2. Filesystems, Disks and Memory

Compilling programs needed

I need links to compillers which i can test and compare. They need to be documented with what techniques they use. Thanks in advance (1 Reply)
Discussion started by: Greens
1 Replies

3. UNIX for Advanced & Expert Users

64 bit file using gcc

Hi, I am compiling a C program using gcc. gcc -c test.c The OS is Solaris 2.8 (64 bit). We dont have cc compiler on the box. When I do a file test.o , I get this: test.o: ELF 32-bit MSB relocatable SPARC Version 1 In one of my scripts I need a 64 bit object file. Is it... (1 Reply)
Discussion started by: nattynatty
1 Replies

4. UNIX for Dummies Questions & Answers

history of test command as [

Does anyone know which came first for the test syntax: test <expr> or ? My vague understanding is that test was the initial way to do it. But if so, when was the syntax introdcued? thanks... (1 Reply)
Discussion started by: hadarot
1 Replies

5. UNIX for Dummies Questions & Answers

Testing permission

One question to test the permission I know test commands give us: test -w filename - to test if file exists and writeable test -x filename - to test if file exists and executable test -r filename - to test if file exists and readable How do I test if the permission is writeable or readable... (1 Reply)
Discussion started by: felixwhoals
1 Replies

6. Shell Programming and Scripting

bash: reading filenames from file

Hi, I'm trying to write a script that reads filenames from a file and use these filenames in a loop. The filenames are all on one line and the problem is that these filenames have wildcards like * and braces like in them. Right now what I'm doing is something like this: echo "reading from... (0 Replies)
Discussion started by: warp17
0 Replies

7. Programming

Error message of compiling a C code

Hi, Recently I have a C Code and i compile on my pc with gcc -D _t_1 -o a.out test.c It works fine for me on my pc. However, upon transferring the same code on Sun Solaris server, it breaks with the below message:- Undefined first referenced symbol ... (3 Replies)
Discussion started by: ahjiefreak
3 Replies

8. UNIX for Dummies Questions & Answers

SDL error with the version

hi, i've just downloaded a test game to try compiling it with the gcc compiler in Solaris, the problem was that ./configure command return this error *** Could not run SDL test program, checking why... *** The test program compiled, but did not run. This usually means *** that the run-time linker... (0 Replies)
Discussion started by: freeware
0 Replies

9. Shell Programming and Scripting

How to replace pattern

Hello EveryOne, I have a file "test" with following entry. this is test prtestad yes this is test . Above i have colored pr and ad . Actually requirement is to replace all words starts with pr and ends with ad should be replaced by word prahlad . Means after changes... (9 Replies)
Discussion started by: shirsha
9 Replies

10. OS X (Apple)

Syntax for output filenames

Hello to everybody... I have spent very long time on this before I decided to sign up in this forum. Maybe I've just not used the right keywords. I have to say that I'm not a programmer or something like that... I've been playin' around a little with ImageMagick and I would like to have... (4 Replies)
Discussion started by: pixelanstalt
4 Replies