⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 setenv.htm

📁 mips架构的bootloader,99左右的版本 但源代码现在没人更新了
💻 HTM
字号:
		<title>Setting your Environment</title>		<h1 align=center>Setting your Environment</h1><!--INDEX "Setting your environment" "Out of Environment space" -->In order to use the pmcc command (or any of the other commands in thetools directory), you must set your environment correctly. How you dothis depends on the type of host you are using. Please refer to theappropriate section below:<p><h2>MSDOS Hosts</h2><!--INDEX MSDOS --><dl><dd>To set your environment, move to the directory where you unpacked thePMON5 source archive and type,<p><pre>	C> setenv</pre>(this assumes that you have already run the "Install" program).<p>The batch file SETENV.BAT creates a number of new environment variableswhich often exceeds the available environment size. If this happens,the operating system will usually respond with a message something like"Out of Environment space". To fix this problem, add the following lineto your \CONFIG.SYS file:<p><pre>	SHELL=C:\DOS\COMMAND.COM C:\DOS\ /E:1024 /p</pre>Where C:\DOS is the directory that contains COMMAND.COM andother MSDOS utilities. This expands your environment spaceto 1024 bytes.<p>This is also the stage where you might discover that your pathvariable is too long. Unfortunately the only indication isusually that the operating system echoes the new path to thescreen. So if you see a list of directories printed to thescreen after you type SETENV, it likely means that you need toshorten your path. Unfortunately the only way to do this isshorten your directory names, and move things closer to theroot directory.<p>To set the environment back the way it was before, type,<p><pre>	C> unsetenv</pre>This is especially useful if you have built more than one copy of PMON5,each with different target parameters. You can then use the UNSETENVcommand when moving from one package to another, since it is usuallyvery important to use the correct package when building a program.<p></dl><h2>UNIX Hosts</h2><!--INDEX UNIX --><dl><dd>To set your environment, move to the directory where you unpacked thePMON5 source archive and type,<p><pre>	source.csh 		-- csh or tcsh	dot.sh			-- sh or bash</pre>csh and tcsh users should note that they might need to type 'rehash'before the pmcc command is recognized.<p>Note also that this only sets the environment in the current shell. Ifyou decide to use a different window you will need to repeat thisprocedure. On the other hand, if you have built  more than one copy ofPMON5, each with different target parameters, you <b>must</b> use a differentwindow for each package, and be certain to set the enviroment of eachwindow correctly before compiling any programs.<p></dl>Note that you should not set the environment unnecessarily as it willkeep expanding your environment size and possibly cause you to runout of space. The general rule is; If you get the message "Commandnot found." (or something like that) after issuing the pmcc command,you likely need to set your environment.<p></dl><p><hr><b>Navigation:</b> <a href="index.htm">Document Home</a> | <a href="doctoc.htm">Document Contents</a> | <a href="docindex.htm">Document Index</a> <p>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -