📄 linuxenv.htm
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!-- Linux Environment -->
<HTML>
<HEAD>
<TITLE>Linux Environment</TITLE>
</HEAD>
<BODY BACKGROUND="spiral.gif" BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#0000FF" VLINK="#990099" ALINK="#FF0000">
<TABLE WIDTH="98%">
<TR><TD WIDTH=60 VALIGN=BOTTOM NOWRAP>
<IMG SRC="transp.gif" ALT="" WIDTH=60 HEIGHT=20>
</TD><TD>
<!-- Ab hier Seitentext: -->
<BIG>
<BR>
<P>
<STRONG><U>II.2.4 Linux Environment</U></STRONG>
</P>
<P>
To specify a search path for include files, an optional environment variable
ASEM51INC can be defined:
</P>
<P>
1.) For bash, ksh, and sh:
<BLOCKQUOTE>
<STRONG><PRE>
ASEM51INC=<path>
export ASEM51INC
</PRE></STRONG>
</BLOCKQUOTE>
</P>
<P>
2.) For csh, tcsh, and zsh:
<BLOCKQUOTE>
<STRONG><PRE>
setenv ASEM51INC <path>
</PRE></STRONG>
</BLOCKQUOTE>
</P>
<P>
<path> may be any number of directories separated by ':' characters.
Be sure that the whole definition doesn't contain any blanks or tabs!<BR>
If ASEM51INC is defined, the assembler searches the specified <path> for
include files that can neither be found in the working directory, nor in
the search path specified with the <NOBR>--includes</NOBR> option.<BR>
The <path> directories will be searched from left to right.
</P>
<P>
<BR>
<STRONG>Examples:</STRONG>
<BLOCKQUOTE>
1.) bash:
<STRONG><PRE>
ASEM51INC=/usr/local/include/asem-51:~/micros/mcs51/inc
export ASEM51INC
</PRE></STRONG>
<BLOCKQUOTE>
If include files can neither be found in the working directory,
nor in the <NOBR>--includes</NOBR> path (if specified), the assembler searches
next <NOBR>/usr/local/include/asem-51</NOBR> and finally ~/micros/mcs51/inc.
</BLOCKQUOTE>
2.) csh:
<STRONG><PRE>
setenv ASEM51INC /usr/local/include/asem-51
</PRE></STRONG>
<BLOCKQUOTE>
If ASEM51INC is defined as above in .login, the assembler finally searches
the directory <NOBR>/usr/local/include/asem-51</NOBR> for include files.
</BLOCKQUOTE>
</BLOCKQUOTE>
</P>
<P>
The maximum length of <path> is limited to 255 characters.
</P>
</BIG>
<!-- Seitentext Ende -->
<P>
<BR>
<BR>
<CENTER>
<TABLE WIDTH="70%">
<TR><TH><A HREF="contents.htm"><IMG SRC="home.gif" ALT="[contents]" BORDER=0 WIDTH=32 HEIGHT=32></A></TH>
<TH><A HREF="linux.htm"><IMG SRC="up.gif" ALT="[up]" BORDER=0 WIDTH=32 HEIGHT=32></A></TH>
<TH><A HREF="linuxcmd.htm"><IMG SRC="back.gif" ALT="[back]" BORDER=0 WIDTH=32 HEIGHT=32></A></TH>
<TH><A HREF="hexbinl.htm"><IMG SRC="next.gif" ALT="[next]" BORDER=0 WIDTH=32 HEIGHT=32></A></TH>
</TR>
</TABLE>
</CENTER>
</P>
</TD></TR>
</TABLE>
</BODY>
</HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -