📄 notation-and-conventions.html
字号:
<!-- Copyright (C) 2003 Red Hat, Inc. --><!-- This material may be distributed only subject to the terms --><!-- and conditions set forth in the Open Publication License, v1.0 --><!-- or later (the latest version is presently available at --><!-- http://www.opencontent.org/openpub/). --><!-- Distribution of the work or derivative of the work in any --><!-- standard (paper) book form is prohibited unless prior --><!-- permission is obtained from the copyright holder. --><HTML><HEAD><TITLE>Notation and Conventions</TITLE><meta name="MSSmartTagsPreventParsing" content="TRUE"><METANAME="GENERATOR"CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+"><LINKREL="HOME"TITLE="eCos User Guide"HREF="ecos-user-guide.html"><LINKREL="UP"TITLE="Introduction"HREF="user-guide-introduction.html"><LINKREL="PREVIOUS"TITLE="Previous License"HREF="ecos-licensing-previous.html"><LINKREL="NEXT"TITLE="Directory and File System Conventions"HREF="directory-and-file-system-conventions.html"></HEAD><BODYCLASS="CHAPTER"BGCOLOR="#FFFFFF"TEXT="#000000"LINK="#0000FF"VLINK="#840084"ALINK="#0000FF"><DIVCLASS="NAVHEADER"><TABLESUMMARY="Header navigation table"WIDTH="100%"BORDER="0"CELLPADDING="0"CELLSPACING="0"><TR><THCOLSPAN="3"ALIGN="center">eCos User Guide</TH></TR><TR><TDWIDTH="10%"ALIGN="left"VALIGN="bottom"><AHREF="ecos-licensing-previous.html"ACCESSKEY="P">Prev</A></TD><TDWIDTH="80%"ALIGN="center"VALIGN="bottom"></TD><TDWIDTH="10%"ALIGN="right"VALIGN="bottom"><AHREF="directory-and-file-system-conventions.html"ACCESSKEY="N">Next</A></TD></TR></TABLE><HRALIGN="LEFT"WIDTH="100%"></DIV><DIVCLASS="CHAPTER"><H1><ANAME="NOTATION-AND-CONVENTIONS">Chapter 4. Notation and Conventions</H1><DIVCLASS="TOC"><DL><DT><B>Table of Contents</B></DT><DT><AHREF="notation-and-conventions.html#GDB-AND-GCC-COMMAND-NOTATION">GDB and GCC Command Notation</A></DT><DT><AHREF="directory-and-file-system-conventions.html">Directory and File System Conventions</A></DT><DT><AHREF="version-conventions.html">Version Conventions</A></DT></DL></DIV><P>Since there are many supported target architectures, notationconventions are used in this manual to avoid repeating instructionsthat are very similar.</P><DIVCLASS="SECT1"><H1CLASS="SECT1"><ANAME="GDB-AND-GCC-COMMAND-NOTATION">GDB and GCC Command Notation</H1><P>Cross-development commands like <BCLASS="COMMAND">gcc</B> and<BCLASS="COMMAND">gdb</B> will be shown with a<TTCLASS="REPLACEABLE"><I>TARGET-</I></TT> prefix. You need to replace<TTCLASS="REPLACEABLE"><I>TARGET-</I></TT> with the correct prefix beforeusing the command. Just using <BCLASS="COMMAND">gcc</B> or<BCLASS="COMMAND">gdb</B> will use the tools for the host, which is not(usually) what you want.</P><P>For example use <BCLASS="COMMAND">arm-elf-gcc</B> and<BCLASS="COMMAND">arm-elf-gdb</B> for ARM, Thumb, and StrongARM targets.Use <BCLASS="COMMAND">xscale-elf-gcc</B> and<BCLASS="COMMAND">xscale-elf-gdb</B> for Intel Xscale targets.Use <BCLASS="COMMAND">i386-elf-gcc</B> and<BCLASS="COMMAND">i386-elf-gdb</B> for IA32 targets. And so on, the exactprefix to use is shown in the documentation for each target.</P><P>Note that some versions of the GCC cross compiler generateexecutable files with the <TTCLASS="FILENAME">.exe</TT> suffix on Windows,but not on Linux. The suffix <TTCLASS="FILENAME">.exe</TT> will be omittedfrom executable file names, so you will see <TTCLASS="FILENAME">hello</TT>instead of <TTCLASS="FILENAME">hello.exe</TT>.</P></DIV></DIV><DIVCLASS="NAVFOOTER"><HRALIGN="LEFT"WIDTH="100%"><TABLESUMMARY="Footer navigation table"WIDTH="100%"BORDER="0"CELLPADDING="0"CELLSPACING="0"><TR><TDWIDTH="33%"ALIGN="left"VALIGN="top"><AHREF="ecos-licensing-previous.html"ACCESSKEY="P">Prev</A></TD><TDWIDTH="34%"ALIGN="center"VALIGN="top"><AHREF="ecos-user-guide.html"ACCESSKEY="H">Home</A></TD><TDWIDTH="33%"ALIGN="right"VALIGN="top"><AHREF="directory-and-file-system-conventions.html"ACCESSKEY="N">Next</A></TD></TR><TR><TDWIDTH="33%"ALIGN="left"VALIGN="top">Previous License</TD><TDWIDTH="34%"ALIGN="center"VALIGN="top"><AHREF="user-guide-introduction.html"ACCESSKEY="U">Up</A></TD><TDWIDTH="33%"ALIGN="right"VALIGN="top">Directory and File System Conventions</TD></TR></TABLE></DIV></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -