?? 00000004.htm
字號:
<?xml version="1.0" encoding="gb2312"?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=gb2312"/><title>linux for ppc chapter 4 jacobw </title></head><body><center><h1>BBS 水木清華站∶精華區</h1></center><a name="top"></a>發信人: plato (純真年代), 信區: Embedded <br />標 題: linux for ppc chapter 4 <br />發信站: BBS 水木清華站 (Wed May 30 23:10:16 2001) <br /> <br />Next Previous Contents <br />---------------------------------------------------------------------------- <br />---- <br />4. Host Development Platform <br />Embedded Linux's compelling advantage over other Embedded OS's is that your <br />development host and target are the same. While you could theoretically deve <br />lop your embedded Linux target system software on any host OS, Linux is the <br />only sensible choice. Even Cygwin/UWIN is likely to waste more of your time. <br /> <br />4.1 PowerPC <br />Using a PowerPC based development development host platform makes life easie <br />r, since the same binaries will run on your host and target. However, if you <br />r choice of host platform is restricted to non-PowerPC, cross compiling adds <br /> some minor inconvenience, primarily in finding or building your own toolset <br />. <br />You can take binaries from a standard PowerPC-based G4 Macintosh Linux distr <br />ibution and run them unmodified on a PowerPC embedded system provided: <br />The binaries are dynamically linked. <br />You use the modified dynamic runtime glibc C library, but compiled with -mha <br />rd-float. <br />You include the floating point math emulator in the kernel for processors su <br />ch as the 8xx series that lack a real floating point unit. <br />Note that for floating-point intensive applications this will invoke a perfo <br />rmance penalty over re-compiling all the binaries and libraries; but recompi <br />ling is what you're trying to avoid, right? <br />Also note that standard Macintosh binaries won't work with the runtime libra <br />ry in the Hard Hat distribution on 8xx processors, because they've been comp <br />iled with -msoft-float to give optimum performance. In this case just use th <br />e equivalent Hard Hat binaries instead. <br />4.2 x86 <br />Doing it this way is slightly more painful, but it's what most people use. <br />---------------------------------------------------------------------------- <br />---- <br />Next Previous Contents <br /> <br />-- <br /> <br />※ 來源:·BBS 水木清華站 smth.org·[FROM: 166.111.161.8] <br /><a href="00000003.htm">上一篇</a><a href="javascript:history.go(-1)">返回上一頁</a><a href="index.htm">回到目錄</a><a href="#top">回到頁首</a><a href="00000005.htm">下一篇</a></h1></center><center><h1>BBS 水木清華站∶精華區</h1></center></body></html>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -