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

📄 setup-synth-i386linux.html

📁 有关ecos2。0介绍了实时嵌入式的结构以及线程调度的实现和内存的管理等
💻 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>i386/Linux Synthetic Target Setup</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="Target Setup"HREF="appendix-target-setup.html"><LINKREL="PREVIOUS"TITLE="i386 PC Hardware Setup"HREF="setup-i386-pc.html"><LINKREL="NEXT"TITLE="Real-time characterization"HREF="real-time-characterization.html"></HEAD><BODYCLASS="SECT1"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="setup-i386-pc.html"ACCESSKEY="P">Prev</A></TD><TDWIDTH="80%"ALIGN="center"VALIGN="bottom">Appendix A. Target Setup</TD><TDWIDTH="10%"ALIGN="right"VALIGN="bottom"><AHREF="real-time-characterization.html"ACCESSKEY="N">Next</A></TD></TR></TABLE><HRALIGN="LEFT"WIDTH="100%"></DIV><DIVCLASS="SECT1"><H1CLASS="SECT1"><ANAME="SETUP-SYNTH-I386LINUX">i386/Linux Synthetic Target Setup</H1><P>When building for the synthetic Linux target, the resultingbinaries are native Linux applications with the HAL providing suitablebindings between the eCos kernel and the Linux kernel.</P><DIVCLASS="NOTE"><BLOCKQUOTECLASS="NOTE"><P><B>Note: </B>Please be aware that the current implementation of the Linuxsynthetic target does not allow thread-aware debugging.</P></BLOCKQUOTE></DIV><P>These Linux applications cannot be run on a Windows system.However, it is possible to write a similar HAL emulation for theWindows kernel if such a testing target is desired.</P><DIVCLASS="SECT2"><H2CLASS="SECT2"><ANAME="AEN4471">Tools</H2><P>For the synthetic target, eCos relies on features not availablein native compilers earlier than gcc-2.95.1. It also requires version2.9.5 or later of the GNU linker. If you have gcc-2.95.1 or laterand ld version 2.9.5 or later, then you do not need to build newtools. eCos does not support earlier versions. You can check the compilerversion using <BCLASS="COMMAND">gcc -v</B> and the linker version using <BCLASS="COMMAND">ld-v</B>.</P><P>If you have native tools that are sufficiently recent foruse with eCos, you should be aware that by default eCos assumesthat the tools <BCLASS="COMMAND">i686-pc-linux-gnu-gcc</B>, <BCLASS="COMMAND">i686-pc-linux-gnu-ar</B>, <BCLASS="COMMAND">i686-pc-linux-gnu-ld</B>, and <BCLASS="COMMAND">i686-pc-linux-gnu-objcopy</B> areon your system and are the correct versions for use with eCos. Butinstead, you can tell eCos to use your native tools by editing theconfiguration value "Global command prefix" (CYGBLD_GLOBAL_COMMAND_PREFIX)in your eCos configuration. If left empty (i.e. set to the emptystring) eCos will use your native tools when building.</P><P>If you have any difficulties, it is almost certainly easiestoverall to rebuild the tools as described on: <AHREF="http://sources.redhat.com/ecos/getstart.html"TARGET="_top">http://sources.redhat.com/ecos/getstart.html</A></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="setup-i386-pc.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="real-time-characterization.html"ACCESSKEY="N">Next</A></TD></TR><TR><TDWIDTH="33%"ALIGN="left"VALIGN="top">i386 PC Hardware Setup</TD><TDWIDTH="34%"ALIGN="center"VALIGN="top"><AHREF="appendix-target-setup.html"ACCESSKEY="U">Up</A></TD><TDWIDTH="33%"ALIGN="right"VALIGN="top">Real-time characterization</TD></TR></TABLE></DIV></BODY></HTML>

⌨️ 快捷键说明

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