From 56d239cb0d0bc4c6ad3c2a7d8f49a42d60c5ab42 Mon Sep 17 00:00:00 2001 From: bernhardheld Date: Tue, 1 Apr 2003 19:52:21 +0000 Subject: [PATCH] Section install and search path fixed git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2460 4a8a32a2-be11-0410-ad9d-d568d2c75423 --- doc/sdccman.lyx | 269 +++++++++++++++++++++++++++++------------------- 1 file changed, 165 insertions(+), 104 deletions(-) diff --git a/doc/sdccman.lyx b/doc/sdccman.lyx index a3b7e600..a5117d20 100644 --- a/doc/sdccman.lyx +++ b/doc/sdccman.lyx @@ -655,6 +655,8 @@ $PREFIX/$BIN_DIR_SUFFIX \backslash sdcc +\backslash +bin \end_inset @@ -1180,7 +1182,7 @@ include \layout Standard -path(arv[0])/../ +path(argv[0])/../ \newline \emph on @@ -1206,7 +1208,7 @@ $INCLUDE_DIR_SUFFIX \layout Standard -path(arv[0]) +path(argv[0]) \backslash .. \backslash @@ -1220,7 +1222,11 @@ include \layout Standard + +\emph on $DATADIR/ +\emph default + \newline \emph on @@ -1232,9 +1238,9 @@ $INCLUDE_DIR_SUFFIX \layout Standard -/usr/local/share/ +/usr/local/share/sdcc/ \newline -sdcc/include +include \end_inset @@ -1259,22 +1265,33 @@ sdcc/include \newline 3. - Library files (the + Library files +\newline +With the exception of +\begin_inset Quotes sld +\end_inset + +---L dir +\begin_inset Quotes srd +\end_inset + + the \shape italic model \shape default - is auto-appended by the compiler, e.g. - small, large, z80, ds390 etc.) -\newline + is auto-appended by the compiler (e.g. + small, large, z80, ds390 etc.). +\newline + \begin_inset Tabular - - + + - + \begin_inset Text \layout Standard @@ -1282,7 +1299,7 @@ model Search path \end_inset - + \begin_inset Text \layout Standard @@ -1300,7 +1317,7 @@ Win32 default - + \begin_inset Text \layout Standard @@ -1308,7 +1325,7 @@ Win32 default ---L dir \end_inset - + \begin_inset Text \layout Standard @@ -1326,28 +1343,28 @@ Win32 default - + \begin_inset Text \layout Standard -$SDCC_LIB_PATH/< -\shape italic -model -\shape default -> +$SDCC_LIB_PATH/ +\newline + +\emph on + \end_inset - + \begin_inset Text \layout Standard -$SDCC_LIB_PATH/< -\shape italic -model -\shape default -> +$SDCC_LIB_PATH/ +\newline + +\emph on + \end_inset @@ -1357,11 +1374,11 @@ model $SDCC_LIB_PATH \backslash -< -\shape italic -model -\shape default -> + +\newline + +\emph on + \end_inset @@ -1377,13 +1394,7 @@ $SDCC_HOME/ \emph on $SEARCH_SUFFIX/ \newline -$LIB_DIR_SUFFIX -\emph default -/< -\shape italic -model -\shape default -> +$LIB_DIR_SUFFIX/ \end_inset @@ -1395,14 +1406,12 @@ $SDCC_HOME/ \newline share/sdcc/ \newline -lib/< -\shape italic -model -\shape default -> +lib/ +\emph on + \end_inset - + \begin_inset Text \layout Standard @@ -1411,45 +1420,75 @@ $SDCC_HOME \backslash lib \backslash -< -\shape italic -model -\shape default -> + +\emph on + +\newline + \end_inset - + \begin_inset Text \layout Standard -path(arv[0])/../ -\emph on - -\newline -$SEARCH_SUFFIX/ -\emph default - +path(argv[0]/../ \newline \emph on -$LIB_DIR_SUFFIX/ -\emph default -< -\shape italic -model -\shape default -> +$SEARCH_SUFFIX/ +\newline +$LIB_DIR_SUFFIX/ \end_inset - + \begin_inset Text \layout Standard (not on *nix) +\newline +\SpecialChar ~ +\SpecialChar ~ +\SpecialChar ~ +\SpecialChar ~ +\SpecialChar ~ +\SpecialChar ~ +\SpecialChar ~ +\SpecialChar ~ +\SpecialChar ~ +\SpecialChar ~ +\SpecialChar ~ +\SpecialChar ~ +\SpecialChar ~ +\SpecialChar ~ +\SpecialChar ~ +\SpecialChar ~ +\SpecialChar ~ +\SpecialChar ~ +\SpecialChar ~ +\SpecialChar ~ +\SpecialChar ~ +\SpecialChar ~ +\SpecialChar ~ +\SpecialChar ~ +\SpecialChar ~ +\SpecialChar ~ +\SpecialChar ~ +\SpecialChar ~ +\SpecialChar ~ +\SpecialChar ~ +\SpecialChar ~ +\SpecialChar ~ +\SpecialChar ~ +\SpecialChar ~ +\SpecialChar ~ +\SpecialChar ~ +\SpecialChar ~ +\SpecialChar ~ + \end_inset @@ -1457,17 +1496,58 @@ model \layout Standard -path(arv[0]) +path(argv[0] \backslash .. \backslash lib \backslash -< -\shape italic -model -\shape default -> + +\emph on + +\newline + +\newline + +\emph default +\SpecialChar ~ +\SpecialChar ~ +\SpecialChar ~ +\SpecialChar ~ +\SpecialChar ~ +\SpecialChar ~ +\SpecialChar ~ +\SpecialChar ~ +\SpecialChar ~ +\SpecialChar ~ +\SpecialChar ~ +\SpecialChar ~ +\SpecialChar ~ +\SpecialChar ~ +\SpecialChar ~ +\SpecialChar ~ +\SpecialChar ~ +\SpecialChar ~ +\SpecialChar ~ +\SpecialChar ~ +\SpecialChar ~ +\SpecialChar ~ +\SpecialChar ~ +\SpecialChar ~ +\SpecialChar ~ +\SpecialChar ~ +\SpecialChar ~ +\SpecialChar ~ +\SpecialChar ~ +\SpecialChar ~ +\SpecialChar ~ +\SpecialChar ~ +\SpecialChar ~ +\SpecialChar ~ +\SpecialChar ~ +\SpecialChar ~ +\SpecialChar ~ + \end_inset @@ -1481,27 +1561,19 @@ model \emph on $DATADIR/ \newline -$LIB_DIR_SUFFIX/ -\emph default -< -\shape italic -model -\shape default -> +$LIB_DIR_SUFFIX/ \end_inset - + \begin_inset Text \layout Standard /usr/local/share/sdcc/ \newline -lib/< -\shape italic -model -\shape default -> +lib/ +\emph on + \end_inset @@ -1509,17 +1581,7 @@ model \layout Standard - -\backslash -sdcc -\backslash -lib -\backslash -< -\shape italic -model -\shape default -> +(not on Win32) \end_inset @@ -1528,17 +1590,16 @@ model \end_inset -\newline - -\newline -The option ---nostdlib disables the last two search paths. -\newline +\layout Comment + +Don't delete any of the stray spaces in the table line 5 without checking + the HTML output (last line)! +\layout Standard + +\SpecialChar ~ \newline -So, for windoze it is highly recommended to set the environment variable - SDCC_HOME to prevent needless usage of -I and -L options. - For *nix-builds SDCC_HOME should only be set when sdcc is installed in - non-standard paths. +The option ---nostdlib disables the last two search paths. \layout Subsection Linux and other gcc-based systems (cygwin, mingw32, osx) -- 2.47.2