1 <!-- Copyright (C) 2003 Red Hat, Inc. -->
2 <!-- This material may be distributed only subject to the terms -->
3 <!-- and conditions set forth in the Open Publication License, v1.0 -->
4 <!-- or later (the latest version is presently available at -->
5 <!-- http://www.opencontent.org/openpub/). -->
6 <!-- Distribution of the work or derivative of the work in any -->
7 <!-- standard (paper) book form is prohibited unless prior -->
8 <!-- permission is obtained from the copyright holder. -->
12 >i386/Linux Synthetic Target Setup</TITLE
13 ><meta name="MSSmartTagsPreventParsing" content="TRUE">
16 CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
19 TITLE="eCos User Guide"
20 HREF="ecos-user-guide.html"><LINK
23 HREF="appendix-target-setup.html"><LINK
25 TITLE="i386 PC Hardware Setup"
26 HREF="setup-i386-pc.html"><LINK
28 TITLE="Real-time characterization"
29 HREF="real-time-characterization.html"></HEAD
40 SUMMARY="Header navigation table"
57 HREF="setup-i386-pc.html"
65 >Appendix A. Target Setup</TD
71 HREF="real-time-characterization.html"
85 NAME="SETUP-SYNTH-I386LINUX">i386/Linux Synthetic Target Setup</H1
87 >When building for the synthetic Linux target, the resulting
88 binaries are native Linux applications with the HAL providing suitable
89 bindings between the eCos kernel and the Linux kernel.</P
97 >Please be aware that the current implementation of the Linux
98 synthetic target does not allow thread-aware debugging.</P
102 >These Linux applications cannot be run on a Windows system.
103 However, it is possible to write a similar HAL emulation for the
104 Windows kernel if such a testing target is desired.</P
110 NAME="AEN4471">Tools</H2
112 >For the synthetic target, eCos relies on features not available
113 in native compilers earlier than gcc-2.95.1. It also requires version
114 2.9.5 or later of the GNU linker. If you have gcc-2.95.1 or later
115 and ld version 2.9.5 or later, then you do not need to build new
116 tools. eCos does not support earlier versions. You can check the compiler
121 and the linker version using <B
127 >If you have native tools that are sufficiently recent for
128 use with eCos, you should be aware that by default eCos assumes
131 >i686-pc-linux-gnu-gcc</B
134 >i686-pc-linux-gnu-ar</B
138 >i686-pc-linux-gnu-ld</B
141 >i686-pc-linux-gnu-objcopy</B
143 on your system and are the correct versions for use with eCos. But
144 instead, you can tell eCos to use your native tools by editing the
145 configuration value "Global command prefix" (CYGBLD_GLOBAL_COMMAND_PREFIX)
146 in your eCos configuration. If left empty (i.e. set to the empty
147 string) eCos will use your native tools when building.</P
149 >If you have any difficulties, it is almost certainly easiest
150 overall to rebuild the tools as described on: <A
151 HREF="http://sources.redhat.com/ecos/getstart.html"
153 >http://sources.redhat.com/ecos/getstart.html</A
162 SUMMARY="Footer navigation table"
173 HREF="setup-i386-pc.html"
182 HREF="ecos-user-guide.html"
191 HREF="real-time-characterization.html"
201 >i386 PC Hardware Setup</TD
207 HREF="appendix-target-setup.html"
215 >Real-time characterization</TD