Develop and Download Open Source Software

Browse Subversion Repository

Contents of /trunk/compiler/man/man1/qcc.1

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1 - (show annotations) (download)
Wed Aug 3 10:14:23 2011 UTC (12 years, 9 months ago) by kaityo
File size: 2779 byte(s)
First commit
1 .TH QCC
2
3 .SH NAME
4 qcc \- Quantum Circuits Compiler
5 version 1.0
6
7 .SH SYNOPSIS
8 qcc [ \-c |\-\-help|\-h|\-v|\-V ]
9 [ \-C file.cpp ]
10 [ \-o file.cpp/file.exe ]
11 source.mcd
12 .PP
13 All options are listed here.
14 Notice that the options \-c and \-C cannot be used at the same time.
15 If done, \fIqcc\fP may not work as you intended.
16
17 .SH DESCRIPTION
18
19 .PP
20 \fIqcc\fP is an application that compile an mcd code into an
21 executable or a c++ code.
22 .PP
23 When you invoke \fIqcc\fP, it normally does compilation and linking.
24 The some options allow you to stop this process at an intermediate stage.
25 For example, the \-c option says not to run the linker. Then the output
26 consists of object files output by the mcd compiler; \fIqcpp\fP.
27
28 .SH OPTIONS
29 Option Details
30 .TP
31 \-c
32 Compile the source files into c++ code, and stop in that stage.
33 The next compiling and linking stage simply is not done.
34 The ultimate output is in the form of a c++ code for each source file.
35 .IP
36 By default, the output file name for a source file is made by replacing the
37 suffix .mcd with .cpp
38
39 .TP
40 \-\-help
41 Print (on the standard output) a description of the command line options
42 understood by qcc.
43
44 .TP
45 \-h
46 Identical with \-\-help.
47
48 .TP
49 \-v
50 Print (on the standard error output) the commands executed to run the stage of
51 compilation.
52
53 .TP
54 \-V
55 Print (on the standard output) the version of this software.
56
57 .TP
58 \-C \fIfile\fP
59 Place output c++ code in file \fIfile\fP.
60 This option is useful when you want to obtain both the executable and the
61 c++ code simultaneously.
62 It is effective only when \-c option is \fBNOT\fP specified.
63 .IP
64 If \-c option, \-C option and \-o option are specified at the same time,
65 the \-C option will be ignored.
66
67 .TP
68 \-o \fIfile\fP
69 Place output in file \fIfile\fP.
70 This applies regardless to whatever sort of output is being produced, whether
71 it be an executable file or a c++ code.
72 Therefore, this option conflicts with \-C option.
73 .IP
74 If \-o is not specified, the default is put an executable file in \fIa.out\fP,
75 the c++ code for \fIsource\fP.mcd in \fIsource\fP.cpp.
76
77 .SH BUGS
78 For reporting bugs, please mail to
79 <\fBjun@bopper.t.u-tokyo.ac.jp\fP>
80 , or
81 <\fBkaityo@acolyte.t.u-tokyo.ac.jp\fP>
82
83 .SH SEE ALSO
84 \fIqcpp\fP(1), \fIqcrun\fP(1), \fIQCAD\fP(?)
85
86 .SH AUTHOR
87 This document is written by J. Yamazaki.
88
89 .SH COPYRIGHT
90 Copyright (c) 2002, 2003 QCAD project at the University of Tokyo,
91 Department of Applied Physics.
92 .PP
93 Permission is granted to distribute this document only if you've not changed
94 the contents of the package.
95 I hope this software will be distributed and/or modified under the term of
96 GNU Free Documentation License in the future, but not yet.
97 Please keep it in mind.
98 For more details, please see QCAD web site.
99 .PP
100 <http://acolyte.t.u-tokyo.ac.jp/~kaityo/qcad/>

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26