Re: [問題] 手動安裝gcc 發生 no such file,但改뤠…

看板LinuxDev作者 (澎湖.仙人掌.234)時間17年前 (2007/04/14 18:04), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串6/7 (看更多)
※ 引述《aprotoss (咖啡阿宅)》之銘言: : ※ 引述《FFz (澎湖.仙人掌.234)》之銘言: : : 回 aprotoss大 : : 我安裝套件的順序是 : : binutils-2.16.1.tar.gz,其configure的參數如下 : : ../binutils-2.16.1/configure --target=arm-elf --prefix=/foo : : 接著安裝gcc-3.3.6.tar.gz,其configure的參數如下 : : ../gcc-3.3.6/configure --target=arm-elf --prefix=/foo : : --enable-languages=c,c++ --with-newlibCI.jpg : ^^^^^^^^^^^^^^^^^^^^^^^ : 印象中看過的資料,許多都是先做出中介compiler(bootstrap compiler), : 而bootstrap compiler一般只需用到c compiler... --enable-languages=c , : 再做full compiler的! 請問 "許多都是先做出中介complier(bootstrap complier)" 這句的意思 說要先裝 toolchain的gcc前先得在 toolchain安裝目錄裡 安裝好一個complier是嗎? 就如 gcc安裝手冊中 (gcc-3.4.3/INSTALL/prerequisites.html) 的 Prerequisites for GCCtool 此節中有一段講到 Tools/packages necessary for building GCC ISO C90 compiler Necessary to bootstrap the GCC package, although versions of GCC prior to 3.4 also allow bootstrapping with a traditional (K&R) C compiler. To make all languages in a cross-compiler or other configuration where 3-stage bootstrap is not performed, you need to start with an existing GCC binary (version 2.95 or later) because source code for language frontends other than C might use GCC extensions. 沒錯吧? 還有我看 Linux From Scratch 的教學 ( http://man.chinaunix.net/linux/lfs/htmlbook/index.html) 裡頭也是前前後後安裝了幾次的gcc 那麼這些都是在說同樣的事情嗎 我在安裝toolchain時到時沒有先裝一個中介complier 而是直接裝只有 c 或 c,c++ 的 gcc 接著就裝 newlib 及 gdb -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 211.74.251.159
文章代碼(AID): #168ASIlk (LinuxDev)
討論串 (同標題文章)
本文引述了以下文章的的內容:
以下文章回應了本文
完整討論串 (本文為第 6 之 7 篇):
文章代碼(AID): #168ASIlk (LinuxDev)