tag:blogger.com,1999:blog-5393693761509999841.post7651633285463544379..comments2022-03-26T04:39:12.360+08:00Comments on jjhuang's Random Notes: 如何在 MacOSX 上安裝 RTEMS toolchainAlbert Huanghttp://www.blogger.com/profile/15756607906352002721noreply@blogger.comBlogger4125tag:blogger.com,1999:blog-5393693761509999841.post-22411545898085252992015-08-28T15:10:10.509+08:002015-08-28T15:10:10.509+08:00不知道你是怎麼結束 python 程式碼的輸入呢?輸入的流程是這樣的:
(gdb) python 按...不知道你是怎麼結束 python 程式碼的輸入呢?輸入的流程是這樣的:<br />(gdb) python 按 ENTER<br />> print('test') 按 ENTER<br />> 按 CTRL-D<br />當你 Ctrl-D 輸入之後,代表結束 python 程式碼的輸入,然後就會執行剛剛輸入的 python code,結果就會出現下面這樣:<br />> test<br />(gdb) _ <- 提示列回到這裡Albert Huanghttps://www.blogger.com/profile/09910403631033610841noreply@blogger.comtag:blogger.com,1999:blog-5393693761509999841.post-38144438619762675912015-08-28T15:08:50.340+08:002015-08-28T15:08:50.340+08:00This comment has been removed by the author.Albert Huanghttps://www.blogger.com/profile/09910403631033610841noreply@blogger.comtag:blogger.com,1999:blog-5393693761509999841.post-58889748851800408432015-08-05T11:21:20.470+08:002015-08-05T11:21:20.470+08:00我進入 arm-rtems4.11-gdb 裡再進入 python 命令列,
輸入 print(&#...我進入 arm-rtems4.11-gdb 裡再進入 python 命令列,<br />輸入 print('hello') 並沒有印出字串,也沒有錯誤訊息,<br />另外試了一下 Lubuntu 標準的 gdb 裡的 python 命令列也是如此,<br />就不知道是為什麼了。brchiuhttps://www.blogger.com/profile/15086100148781360372noreply@blogger.comtag:blogger.com,1999:blog-5393693761509999841.post-87659751338821314482015-08-03T02:22:45.987+08:002015-08-03T02:22:45.987+08:00我在 Lubuntu 15.04 上編譯 toolchain ,
同樣在編譯 gdb 前的 conf...我在 Lubuntu 15.04 上編譯 toolchain ,<br />同樣在編譯 gdb 前的 configure 過程中出現找不到 python 的錯誤訊息,<br />按照版主建議的修改方式無效,後來在 stackoverflow 上找到一篇:<br /><br />http://stackoverflow.com/questions/10792844/python-missing-or-unusable-error-while-cross-compiling-gdb<br /><br />用 apt-get 安裝 python2.7-dev 後編譯成功,供大家參考。brchiuhttps://www.blogger.com/profile/15086100148781360372noreply@blogger.com