<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"> <!--Converted with LaTeX2HTML 2008 (1.71) original version by: Nikos Drakos, CBLU, University of Leeds * revised and updated by: Marcus Hennecke, Ross Moore, Herb Swan * with significant contributions from: Jens Lippmann, Marek Rouchal, Martin Wilck and others --> <HTML> <HEAD> <TITLE>2.2 Install paths</TITLE> <META NAME="description" CONTENT="2.2 Install paths"> <META NAME="keywords" CONTENT="sdccman"> <META NAME="resource-type" CONTENT="document"> <META NAME="distribution" CONTENT="global"> <META NAME="Generator" CONTENT="LaTeX2HTML v2008"> <META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css"> <LINK REL="STYLESHEET" HREF="sdccman.css"> <LINK REL="next" HREF="node13.html"> <LINK REL="previous" HREF="node11.html"> <LINK REL="up" HREF="node10.html"> <LINK REL="next" HREF="node13.html"> </HEAD> <BODY > <!--Navigation Panel--> <A NAME="tex2html773" HREF="node13.html"> <IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="next.png"></A> <A NAME="tex2html767" HREF="node10.html"> <IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="up.png"></A> <A NAME="tex2html761" HREF="node11.html"> <IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="prev.png"></A> <A NAME="tex2html769" HREF="node1.html"> <IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="contents.png"></A> <A NAME="tex2html771" HREF="node191.html"> <IMG WIDTH="43" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="index" SRC="index.png"></A> <BR> <B> Next:</B> <A NAME="tex2html774" HREF="node13.html">2.3 Search Paths</A> <B> Up:</B> <A NAME="tex2html768" HREF="node10.html">2. Installing SDCC</A> <B> Previous:</B> <A NAME="tex2html762" HREF="node11.html">2.1 Configure Options</A> <B> <A NAME="tex2html770" HREF="node1.html">Contents</A></B> <B> <A NAME="tex2html772" HREF="node191.html">Index</A></B> <BR> <BR> <!--End of Navigation Panel--> <H1><A NAME="SECTION00320000000000000000"></A><A NAME="sub:Install-paths"></A><A NAME="289"></A> <BR> 2.2 Install paths </H1> <P> <P> <BR> <P> <DIV ALIGN="CENTER"> <TABLE CELLPADDING=3 BORDER="1"> <TR><TH ALIGN="LEFT"><B>Description</B></TH> <TH ALIGN="LEFT" VALIGN="TOP" WIDTH=128> <B>Path</B> </TH> <TH ALIGN="LEFT" VALIGN="TOP" WIDTH=113> <B>Default</B> </TH> <TH ALIGN="LEFT" VALIGN="TOP" WIDTH=113> <B>Win32 builds</B></TH> </TR> <TR><TD ALIGN="LEFT">Binary files*</TD> <TD ALIGN="LEFT" VALIGN="TOP" WIDTH=128> <I>$EXEC_PREFIX</I> </TD> <TD ALIGN="LEFT" VALIGN="TOP" WIDTH=113> /usr/local/bin </TD> <TD ALIGN="LEFT" VALIGN="TOP" WIDTH=113> \sdcc\bin</TD> </TR> <TR><TD ALIGN="LEFT">Include files</TD> <TD ALIGN="LEFT" VALIGN="TOP" WIDTH=128> <I>$DATADIR/</I></TD> <TD ALIGN="LEFT" VALIGN="TOP" WIDTH=113> </TD> <TD ALIGN="LEFT" VALIGN="TOP" WIDTH=113> </TD> </TR> <TR><TD ALIGN="LEFT"><I>$INCLUDE_DIR_SUFFIX</I></TD> <TD ALIGN="LEFT" VALIGN="TOP" WIDTH=128> /usr/local/share/</TD> <TD ALIGN="LEFT" VALIGN="TOP" WIDTH=113> </TD> <TD ALIGN="LEFT" VALIGN="TOP" WIDTH=113> </TD> </TR> <TR><TD ALIGN="LEFT">sdcc/include</TD> <TD ALIGN="LEFT" VALIGN="TOP" WIDTH=128> \sdcc\include</TD> <TD ALIGN="LEFT" VALIGN="TOP" WIDTH=113> </TD> <TD ALIGN="LEFT" VALIGN="TOP" WIDTH=113> </TD> </TR> <TR><TD ALIGN="LEFT">Non-free include files</TD> <TD ALIGN="LEFT" VALIGN="TOP" WIDTH=128> <I>$DATADIR/non-free/</I></TD> <TD ALIGN="LEFT" VALIGN="TOP" WIDTH=113> </TD> <TD ALIGN="LEFT" VALIGN="TOP" WIDTH=113> </TD> </TR> <TR><TD ALIGN="LEFT"><I>$INCLUDE_DIR_SUFFIX</I></TD> <TD ALIGN="LEFT" VALIGN="TOP" WIDTH=128> /usr/local/share/</TD> <TD ALIGN="LEFT" VALIGN="TOP" WIDTH=113> </TD> <TD ALIGN="LEFT" VALIGN="TOP" WIDTH=113> </TD> </TR> <TR><TD ALIGN="LEFT">sdcc/non-free/include</TD> <TD ALIGN="LEFT" VALIGN="TOP" WIDTH=128> \sdcc\non-free\include</TD> <TD ALIGN="LEFT" VALIGN="TOP" WIDTH=113> </TD> <TD ALIGN="LEFT" VALIGN="TOP" WIDTH=113> </TD> </TR> <TR><TD ALIGN="LEFT">Library file**</TD> <TD ALIGN="LEFT" VALIGN="TOP" WIDTH=128> <I>$DATADIR/</I></TD> <TD ALIGN="LEFT" VALIGN="TOP" WIDTH=113> </TD> <TD ALIGN="LEFT" VALIGN="TOP" WIDTH=113> </TD> </TR> <TR><TD ALIGN="LEFT"><I>$LIB_DIR_SUFFIX</I></TD> <TD ALIGN="LEFT" VALIGN="TOP" WIDTH=128> /usr/local/share/</TD> <TD ALIGN="LEFT" VALIGN="TOP" WIDTH=113> </TD> <TD ALIGN="LEFT" VALIGN="TOP" WIDTH=113> </TD> </TR> <TR><TD ALIGN="LEFT">sdcc/lib</TD> <TD ALIGN="LEFT" VALIGN="TOP" WIDTH=128> \sdcc\lib</TD> <TD ALIGN="LEFT" VALIGN="TOP" WIDTH=113> </TD> <TD ALIGN="LEFT" VALIGN="TOP" WIDTH=113> </TD> </TR> <TR><TD ALIGN="LEFT">Library file**</TD> <TD ALIGN="LEFT" VALIGN="TOP" WIDTH=128> <I>$DATADIR/non-free/</I></TD> <TD ALIGN="LEFT" VALIGN="TOP" WIDTH=113> </TD> <TD ALIGN="LEFT" VALIGN="TOP" WIDTH=113> </TD> </TR> <TR><TD ALIGN="LEFT"><I>$LIB_DIR_SUFFIX</I></TD> <TD ALIGN="LEFT" VALIGN="TOP" WIDTH=128> /usr/local/share/</TD> <TD ALIGN="LEFT" VALIGN="TOP" WIDTH=113> </TD> <TD ALIGN="LEFT" VALIGN="TOP" WIDTH=113> </TD> </TR> <TR><TD ALIGN="LEFT">sdcc/non-free/lib</TD> <TD ALIGN="LEFT" VALIGN="TOP" WIDTH=128> \sdcc\non-free\lib</TD> <TD ALIGN="LEFT" VALIGN="TOP" WIDTH=113> </TD> <TD ALIGN="LEFT" VALIGN="TOP" WIDTH=113> </TD> </TR> <TR><TD ALIGN="LEFT">Documentation</TD> <TD ALIGN="LEFT" VALIGN="TOP" WIDTH=128> <I>$DOCDIR</I> </TD> <TD ALIGN="LEFT" VALIGN="TOP" WIDTH=113> /usr/local/share/</TD> <TD ALIGN="LEFT" VALIGN="TOP" WIDTH=113> </TD> </TR> <TR><TD ALIGN="LEFT">sdcc/doc</TD> <TD ALIGN="LEFT" VALIGN="TOP" WIDTH=128> \sdcc\doc</TD> <TD ALIGN="LEFT" VALIGN="TOP" WIDTH=113> </TD> <TD ALIGN="LEFT" VALIGN="TOP" WIDTH=113> </TD> </TR> </TABLE> </DIV> <P> <DIV ALIGN="CENTER"> </DIV> <BLOCKQUOTE> <FONT SIZE="-1">*compiler, preprocessor, assembler, and linker</FONT> <BR><FONT SIZE="-1">**the </FONT><I><FONT SIZE="-1">model</FONT></I><FONT SIZE="-1"> is auto-appended by the compiler, e.g. small, large, z80, ds390 etc</FONT></BLOCKQUOTE> <P> <BLOCKQUOTE> </BLOCKQUOTE> The install paths can still be changed during `make install' with e.g.: <P> <DL COMPACT> <DT> <DD>make install prefix=$(HOME)/local/sdcc </DD> </DL>Of course this doesn't change the search paths compiled into the binaries. <BR> <BR> Moreover the install path can be changed by defining DESTDIR<A NAME="344"></A>: <P> <DL COMPACT> <DT> <DD>make install DESTDIR=$(HOME)/sdcc.rpm/ </DD> </DL>Please note that DESTDIR must have a trailing slash! <P> <HR> <!--Navigation Panel--> <A NAME="tex2html773" HREF="node13.html"> <IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="next.png"></A> <A NAME="tex2html767" HREF="node10.html"> <IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="up.png"></A> <A NAME="tex2html761" HREF="node11.html"> <IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="prev.png"></A> <A NAME="tex2html769" HREF="node1.html"> <IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="contents.png"></A> <A NAME="tex2html771" HREF="node191.html"> <IMG WIDTH="43" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="index" SRC="index.png"></A> <BR> <B> Next:</B> <A NAME="tex2html774" HREF="node13.html">2.3 Search Paths</A> <B> Up:</B> <A NAME="tex2html768" HREF="node10.html">2. Installing SDCC</A> <B> Previous:</B> <A NAME="tex2html762" HREF="node11.html">2.1 Configure Options</A> <B> <A NAME="tex2html770" HREF="node1.html">Contents</A></B> <B> <A NAME="tex2html772" HREF="node191.html">Index</A></B> <!--End of Navigation Panel--> <ADDRESS> 2011-03-20 </ADDRESS> </BODY> </HTML>