]> oss.titaniummirror.com Git - nesc.git/blobdiff - doc/nescc.1
Merge branch 'upstream' (nesc-1.3.2)
[nesc.git] / doc / nescc.1
index a3d2671faa407d5eb8047deec0c35f383158e932..c557f8628a4df25c9899a708b89e13e4f943c9af 100644 (file)
@@ -4,11 +4,11 @@
 nescc - nesC compiler
 .SH SYNOPSIS
 
-\fBnescc\fR [\fB-gcc=\fIgcc-name\fR] [\fB-fnesc-target=\fIarchitecture\fR]
+\fBnescc\fR [\fB-gcc=\fIgcc-name\fR] [\fB-mingw-gcc\fR] [\fB-fnesc-target=\fIarchitecture\fR]
     [\fB-docdir=\fIdir\fR] [\fB-topdir=\fIdir\fR] [\fB-graphviz=y\fI|\fBn\fR]
     [\fB-fnesc-simulate\fR] 
     [\fB-fnesc-nido-tosnodes=\fIn\fR] [\fB-fnesc-nido-motenumber=\fIexpression\fR]
-    [\fB-conly\fR] [\fB-fnesc-cfile=\fIfile\fR] 
+    [\fB-conly\fR] [\fB-fnesc-cfile=\fIfile\fR] [\fB-fnesc-gccize\fR]
     [\fB-fnesc-cppdir=\fIdirectory\fR] [\fB-fnesc-separator=\fIseparator\fR]
     [\fB-fnesc-no-inline\fR] [\fB-fnesc-optimize-atomic\fR]
     [\fB--version\fR] [\fB-fnesc-verbose\fR] [\fB-Wnesc-\fI...\fR]
@@ -20,8 +20,8 @@ nescc - nesC compiler
 \fBnescc\fR is an extension to \fBgcc\fR that knows how to compile nesC
 applications. If invoked on regular C files, it behaves exactly like
 \fBgcc\fR. When invoked on a nesC component or interface (\fB.nc\fR
-extension) file it compiles and links (except if the usual \fB-c\fR,
-\fB-S\fR, \fB-E\fR or \fB-fsyntax-only\fR options are used) that component
+extension) file it compiles and links (except if the \fB-c\fR,
+\fB-S\fR, \fB-conly\fR, \fB-E\fR or \fB-fsyntax-only\fR options are used) that component
 with the other files specified on the command line.
 .SH OPTIONS
 
@@ -34,6 +34,11 @@ explicitly specified, or generated as the output of the nesC-to-C compiler.
 This option supports cross-compilation of nesC code (the usual mode of
 operation...).
 .TP
+\fB-mingw-gcc\fR
+Pass this option if the gcc version specified with \fB-gcc=...\fR was
+compiled for Window's mingw environment, and hence expects Windows-style
+rather than Unix-style paths.
+.TP
 \fB-fnesc-target=\fIarchitecture\fR
 Specify the target architecture to compile for. Currently supported
 platforms are \fBavr\fR (the Atmel AVR family), \fBmsp430\fR (the TI MSP430
@@ -76,6 +81,12 @@ Specify a file in which to save the C code generated when compiling a
 component. Note: if you specify two components on the command line, then
 the C code from the second one will overwrite the C code from the first.
 .TP
+\fB-fnesc-gccize\fR
+Output target-specific extensions as gcc-style attributes rather than using
+the target's original syntax. Can help if using \fB-conly\fR and sending the
+nesC output from some other tool that understands gcc attributes but not the
+target-specific extensions.
+.TP
 \fB-fnesc-cppdir=\fIdirectory\fR
 Save all preprocessing results in \fIdirectory\fR. The directory is created
 if it doesn't exist. This can be helpful to track down preprocessor-related