From 05f6ec84cd23d517cd020877dad69d09861f3fce Mon Sep 17 00:00:00 2001 From: jesusc Date: Wed, 18 Jun 2003 23:48:40 +0000 Subject: [PATCH] described option --use-stderr in sdccman.lyx git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2705 4a8a32a2-be11-0410-ad9d-d568d2c75423 --- ChangeLog | 5 +-- doc/sdccman.lyx | 107 ++++++++++++++++++++---------------------------- 2 files changed, 47 insertions(+), 65 deletions(-) diff --git a/ChangeLog b/ChangeLog index 721f8707..a2b44ed1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -4,9 +4,8 @@ 2003-06-18 Jesus Calvino-Fraga - * 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 @@ -14,7 +13,7 @@ 2003-06-15 Borut Razem - * 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; diff --git a/doc/sdccman.lyx b/doc/sdccman.lyx index 0ddd6b83..09123715 100644 --- a/doc/sdccman.lyx +++ b/doc/sdccman.lyx @@ -6249,8 +6249,31 @@ status Collapsed \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 @@ -9959,7 +9982,7 @@ when 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 @@ -9968,83 +9991,43 @@ standard error \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 -- 2.39.5