2003-06-18 Jesus Calvino-Fraga <jesusc@ece.ubc.ca>
- * src/SDCCglobl.h, src/SDCCmain.c:
+ * src/SDCCglobl.h, src/SDCCmain.c, doc/sdccman.lyx:
option --use-stdout sends errors to stdout instead of stderr.
- (changes to sdccman.lyx comming soon)
2003-06-18 Bernhard Held <bernhard@bernhardheld.de>
2003-06-15 Borut Razem <borut.razem@siol.net>
- * support/cpp2/sdcc.h: HAVE_DOS_BASED_FILE_SYSTEM defined for _WIN23
+ * support/cpp2/sdcc.h: HAVE_DOS_BASED_FILE_SYSTEM defined for _WIN32
* src/SDCC.lex: cloneXxx and copyAndFreeXxx functions for options and optimize stack handling
* src/SDCCglobl.h, src/SDCCmain.c, src/ds390/main.c, src/mcs51/main.c, src/z80/main.c:
fixed width array of pointers replaced with sets;
\series default
- Display the errors and warnings using MSVC style, so you can use SDCC with
+ Display errors and warnings using MSVC style, so you can use SDCC with
visual studio
+\layout List
+\labelwidthstring 00.00.0000
+
+
+\series bold
+-
+\begin_inset ERT
+status Collapsed
+
+\layout Standard
+
+\backslash
+/
+\end_inset
+
+-use-stderr
+\begin_inset LatexCommand \index{-\/-use-stdout}
+
+\end_inset
+
+
+\series default
+ Send errors and warnings to stdout instead of stderr
\layout Subsubsection
Intermediate Dump Options
Redirecting output on Windows Shells
\layout Standard
-SDCC writes it's error messages to
+By default SDCC writes it's error messages to
\begin_inset Quotes sld
\end_inset
\end_inset
.
- The windows 95/98/me shell (command or cmd) can't redirect it to a file.
- The solution is to use a reasonable shell or a helper program like redir.exe:
-\layout Standard
-
-
-\begin_inset LatexCommand \url{http://www.cygwin.com/ml/cygwin/1999-02/msg00603.html}
-
-\end_inset
-
-
-\layout Standard
-
-
-\begin_inset LatexCommand \url{ftp://ftp.xraylith.wisc.edu/pub/khan/gnu-win32/mingw32/misc/redir.zip}
-
-\end_inset
-
-
-\layout Standard
-
-
-\begin_inset LatexCommand \url{ftp://ftp.xraylith.wisc.edu/pub/khan/gnu-win32/mingw32/misc/README.redir}
-
-\end_inset
-
-
-\newline
-
-\newline
-If you are using a windows NT/2K/XP shell, you can redirect the
+ To force all messages to
\begin_inset Quotes sld
\end_inset
-standard error
+standard output
\begin_inset Quotes srd
\end_inset
- output to a file using
-\begin_inset Quotes sld
-\end_inset
-
-2>
-\begin_inset Quotes srd
-\end_inset
-
-.
- For example:
-\newline
-
+ use
\series bold
+-
+\series default
+\emph on
-\newline
-sdcc -c foo.c 2> foo.err
-\newline
+\begin_inset ERT
+status Collapsed
-\newline
+\layout Standard
-\series default
-To append the
-\begin_inset Quotes sld
+\backslash
+/
\end_inset
-standard error
-\begin_inset Quotes srd
-\end_inset
- output of SDCC to a file you can use
-\begin_inset Quotes sld
-\end_inset
+\series bold
+\emph default
+-
+\series default
+use-stdout
+\begin_inset LatexCommand \index{-\/-use-stdout}
-2>>
-\begin_inset Quotes srd
\end_inset
.
- I you happen to have visual studio installed in your windows machine, you
- can use it to compile your sources using a custom build and the SDCC -
+ Aditionaly, if you happen to have visual studio installed in your windows
+ machine, you can use it to compile your sources using a custom build and
+ the SDCC -
\emph on
\begin_inset ERT