Răsfoiți Sursa

+ Fixed some references

michael 25 ani în urmă
părinte
comite
74c2940049
2 a modificat fișierele cu 42 adăugiri și 36 ștergeri
  1. 21 18
      docs/ide.tex
  2. 21 18
      docs/user.tex

+ 21 - 18
docs/ide.tex

@@ -1397,7 +1397,7 @@ A list of watches and their present value is available in the watches
 window, which can be opened with the \menu{Debug|Watches} menu.
 \begin{htmlonly}
 The watch list window looks as follows:
-\fpcaddimg{../pics/ide/watch.png}
+\fpcaddimg{../pics/ide/watchlst.png}
 \end{htmlonly}
 \begin{latexonly}
 The watch list window is shown in \seefig{brklist}
@@ -2026,17 +2026,17 @@ The directories dialog is shown in \seefig{odirs}.
 The following directories can be specified:
 \begin{description}
 \item[EXE \& PPU directories] Specifies where the compiled units and
-executables will go. (\seeo{-FE} on the command line.)
+executables will go. (\seeo{FE} on the command line.)
 \item[Object directories] Specifies where the compiler looks for external
-object files. (\seeo{-Fo} on the command line.)
+object files. (\seeo{Fo} on the command line.)
 \item[Library directories] Specifies where the compiler (more exactly, the
-linker) looks for external libraries. (\seeo{-Fl} on the command line.)
+linker) looks for external libraries. (\seeo{Fl} on the command line.)
 \item[Include directories] Specifies where the compiler will look for 
 include files, included with the \var{\{\$i \}} directive. 
-(\seeo{-Fi} or \seeo{-I} on the command line.)
+(\seeo{Fi} or \seeo{I} on the command line.)
 \item[Unit directories] Specifies where the compiler will look for compiled
 units. The compiler always looks first in the current directory, and also in
-some standard directories. (\seeo{-Fu} on the command line.)
+some standard directories. (\seeo{Fu} on the command line.)
 \end{description}
 %
 % The target operating system.
@@ -2046,7 +2046,7 @@ The menu item \menu{Compile|Target} allows to specify the target
 operating system for which the sources will be compiled. 
 Changing the target doesn't affect any compiler switches or 
 directories. It does affect some defines defined by the compiler.
-The settings here correspond to the option \seeo{-T}
+The settings here correspond to the option \seeo{T}
 on the command-line.
 \begin{htmlonly}
 The target dialog looks as follows:
@@ -2058,9 +2058,9 @@ The compilation target dialog is shown in \seefig{target}.
 \begin{center}
 \caption{The compilation target dialog.}\label{fig:target}
 \ifpdf
-\epsfig{file=pics/ide/target.png}%,width=\textwidth}
+\epsfig{file=pics/ide/target.png}
 \else
-\epsfig{file=pics/ide/target.eps,width=\textwidth}
+\epsfig{file=pics/ide/target.eps}
 \fi
 \end{center}
 \end{figure}
@@ -2402,9 +2402,9 @@ The memory sizes dialog is shown in \seefig{omemsize}.
 \begin{center}
 \caption{The memory sizes dialog.}\label{fig:omemsize}
 \ifpdf
-\epsfig{file=pics/ide/omemsize.png}%,width=\textwidth}
+\epsfig{file=pics/ide/omemsize.png}
 \else
-\epsfig{file=pics/ide/omemsize.eps}%,width=\textwidth}
+\epsfig{file=pics/ide/omemsize.eps}
 \fi
 \end{center}
 \end{figure}
@@ -2511,9 +2511,9 @@ The switches mode dialog is shown in \seefig{oswitch}.
 \begin{center}
 \caption{The switches mode dialog.}\label{fig:oswitch}
 \ifpdf
-\epsfig{file=pics/ide/oswitch.png}%,width=\textwidth}
+\epsfig{file=pics/ide/oswitch.png}
 \else
-\epsfig{file=pics/ide/oswitch.eps}%,width=\textwidth}
+\epsfig{file=pics/ide/oswitch.eps}
 \fi
 \end{center}
 \end{figure}
@@ -2615,9 +2615,9 @@ The desktop preferences dialog is shown in \seefig{odesktop}.
 \begin{center}
 \caption{The desktop preferences dialog.}\label{fig:odesktop}
 \ifpdf
-\epsfig{file=pics/ide/oedesk.png}%,width=\textwidth}
+\epsfig{file=pics/ide/oedesk.png}
 \else
-\epsfig{file=pics/ide/oedesk.eps,width=\textwidth}
+\epsfig{file=pics/ide/oedesk.eps}
 \fi
 \end{center}
 \end{figure}
@@ -2657,7 +2657,7 @@ Several aspects of the editor window behaviour can be set in this dialog.
 
 \begin{htmlonly}
 The editor preferences dialog looks as follows:
-\fpcaddimg{../pics/ide/oeprefs.png}
+\fpcaddimg{../pics/ide/oeeditor.png}
 \end{htmlonly}
 \begin{latexonly}
 The editor preferences dialog is shown in \seefig{oeeditor}.
@@ -2821,7 +2821,7 @@ The colors dialog is shown in \seefig{ocolors}.
 \ifpdf
 \epsfig{file=pics/ide/oecolors.png,width=\textwidth}
 \else
-\epsfig{file=pics/ide/oemouse.eps,width=\textwidth}
+\epsfig{file=pics/ide/oecolors.eps,width=\textwidth}
 \fi
 \end{center}
 \end{figure}
@@ -3126,7 +3126,10 @@ Undo & \key{Alt-Backspace} & \\
 \end{FPCltable}
 %
 %  $Log$
-%  Revision 1.1.2.17  2000-12-08 16:55:54  michael
+%  Revision 1.1.2.18  2000-12-08 20:41:50  michael
+%  + Fixed some references
+%
+%  Revision 1.1.2.17  2000/12/08 16:55:54  michael
 %  + Some remarks corrected
 %
 %  Revision 1.1.2.16  2000/12/08 12:57:21  michael

+ 21 - 18
docs/user.tex

@@ -496,8 +496,8 @@ look for compiled versions of these units in the following way:
 (not under \linux)
 \item It will look in all the directories specified in the unit search path.
 \end{enumerate}
-You can add a directory to the unit search path with the \var{-Fu} option
-(\seeo{Fu}). Every occurrence of one of this options will {\em insert}
+You can add a directory to the unit search path with the (\seeo{Fu})
+option. Every occurrence of one of this options will {\em insert}
 a directory to the unit search path. i.e. last path on the command line
 will be searched first.
 
@@ -580,9 +580,8 @@ directive, the compiler will look for it in the following places:
 \item it will look in all directories specified in the include file search
 path.
 \end{enumerate}
-You can add files to the include file search
- path with the \var{-I} (\seeo{I})
-option.
+You can add files to the include file search path with the \seeo{I} or
+\seeo{Fi} options.
 
 As an example, consider the following include statement in a file
 \file{units/foo.pp}:
@@ -614,13 +613,12 @@ files:
 \item It will look in the directory where the current source file is.
 \item it will look in all directories specified in the object file search path.
 \end{enumerate}
-You can add files to the object file search path with the \var{-Fo} (\seeo{Fo})
-option.
+You can add files to the object file search path with the \seeo{Fo} option.
 
 % Configuration file
 \subsection{Configuration file}
 \label{searchconfig}
-Unless you specify the \var{-n} (\seeo{n}) option, the compiler will look
+Unless you specify the \seeo{n} option, the compiler will look
 for a configuration file \file{ppc386.cfg} in the following places:
 
 \begin{itemize}
@@ -863,14 +861,14 @@ full in the programmers guide.
 \begin{itemize}
 \item \textbf{IO-error -2 at ...} : Under \linux you can get this message at
 compiler startup. It means typically that the compiler doesn't find the
-error definitions file. You can correct this mistake with the \var{-Fr}
-option under \linux. (\seeo{Fr})
+error definitions file. You can correct this mistake with the \seeo{Fr}
+option under \linux. 
 \item \textbf {Error : File not found : xxx} or \textbf{Error: couldn't compile
 unit xxx}: This typically happens when
 your unit path isn't set correctly. Remember that the compiler looks for
 units only in the current directory, and in the directory where the compiler
 itself is. If you want it to look somewhere else too, you must explicitly
-tell it to do so using the \var{-Fu} option (\seeo{Fu}). Or you must set op
+tell it to do so using the \seeo{Fu} option. Or you must set op
 a configuration file.
 \end{itemize}
 
@@ -1013,8 +1011,8 @@ the file named \file{xxx}.
 \item [-FExxx] tells the compiler to write the executable and units in
 directory \file{xxx} instead of th current directory.
 \olabel{FE}
-\item [-FIxxx] Adds \var{xxx} to the include file search path.
-\olabel{FI}
+\item [-Fixxx] Adds \var{xxx} to the include file search path.
+\olabel{Fi}
 \item [-Flxxx] Adds \var{xxx} to the library searching path, and is passed
 to the linker.
 \olabel{Fl}
@@ -1045,6 +1043,7 @@ the compiler on \ostwo and \linux. Only with assemblers (such as \gnu
 
 % Options controlling the kind of output.
 \subsection{Options controlling the kind of output.}
+\label{se:codegen}
 for more information on these options, see also \progref
 \begin{description}
 \item [-a] \olabel{a} Tells the compiler not to delete the assembler files
@@ -1152,13 +1151,14 @@ can be one of the following:
 \begin{itemize}
 % \item \textbf{e} : (\linux only) Create an \file{ELF} executable (default).
 \item \textbf{c} : (\linux only) Link with the C library. You should only use this when
-  you start to port \fpc to another operating system.
+  you start to port \fpc to another operating system. \olabel{Xe}
 \item \textbf{D} : Link with dynamic libraries (defines the
-\var{FPC\_LINK\_DYNAMIC} symbol)
-\item \textbf{s} : Strip the symbols from the executable.
+\var{FPC\_LINK\_DYNAMIC} symbol) \olabel{XD}
+\item \textbf{s} : Strip the symbols from the executable. \olabel{Xs}
 \item \textbf{S} : Link with static units (defines the \var{FPC\_LINK\_STATIC} symbol)
+\olabel{XS}
 \item \textbf{X} : Link with smartlinked units (defines the
-\var{FPC\_LINK\_SMART} symbol)
+\var{FPC\_LINK\_SMART} symbol) \olabel{XX}
 \end{itemize}
 \end{description}
 
@@ -1168,6 +1168,7 @@ can be one of the following:
 % Options concerning the sources (language options)
 
 \subsection{Options concerning the sources (language options)}
+\label{se:sourceoptions}
 for more information on these options, see also \progref
 \begin{description}
 \item [-Rxxx] \olabel{R} Specifies what kind of assembler you use in
@@ -1186,6 +1187,7 @@ from \var{-Sd} because some \fpc constructs are still available to you.
 -=}.
 \item [-Sd] Tells the compiler to be Delphi compatible. This is more strict
 than the \var{-S2} option, since some \var{fpc} extensions are switched off.
+\olabel{Sd}
 \item [-SeN] \olabel{Se} The compiler stops after the N-th error. Normally,
 the compiler tries to continue compiling after an error, until 50 errors are
 reached, or a fatal error is reached, and then it stops. With this switch,
@@ -1471,7 +1473,7 @@ which are not supported by \fpc. Where possible, we indicate the reason.
 and will not be changed.
 \item Parameter lists of previously defined functions and procedures must
 match exactly. The reason for this is the function overloading mechanism of
-\fpc. (however, the \var{-So} switch solves this. \seeo{So})
+\fpc. (however, the \seeo{So} option solves this.)
 \item \var {(* ... *)} as comment delimiters are not allowed in versions
 older than 0.9.1. This can easily be remedied with a grown-up editor.
 \item The \var{MEM, MEMW, MEML} and \var{PORT} variables for memory and port
@@ -2267,6 +2269,7 @@ which you can debug it using \gnu \var{gdb}.
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 % Using gdb
 \section{Using \var{gdb} to debug your program}
+\label{se:usinggdb}
 
 To use gdb to debug your program, you can start the debugger, and give it as
 an option the {\em full} name of your program: