- 論壇徽章:
- 0
|
回復(fù) #2 ziggler 的帖子
多謝ziggler 兄提供的鏈接,
最近看了幾天OS400自帶的ILE C手冊(cè), 編譯選項(xiàng)與GCC大相徑庭, 決定還是放棄ILE C編譯方式,
準(zhǔn)備在OS400的QSHELL下安裝GCC, 找到了一個(gè)適用于OS400的GCC(實(shí)際就是AIX5.2系統(tǒng)的GCC的二進(jìn)制和include文件) 相關(guān)的鏈接 http://www.deloli.net/distrib-2.1.php
解壓拷貝到OS400上后 gcc, g++ 可以編譯運(yùn)行helloworld.
不過(guò)在進(jìn)行我工程代碼的configure 時(shí)有錯(cuò)誤, 提示如下:
> ./configure --build=powerpc-ibm-aix5.2.0.0 --host=powerpc-ibm-aix5.2.0.0
checking build system type... powerpc-ibm-aix5.2.0.0
checking host system type... powerpc-ibm-aix5.2.0.0
checking target system type... powerpc-ibm-aix5.2.0.0
checking for a BSD-compatible install... ./install-sh -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking whether /QOpenSys/usr/bin/make sets \(MAKE)... no
checking for style of include used by /QOpenSys/usr/bin/make... none
checking for powerpc-ibm-aix5.2.0.0-gcc... /QOpenSys/usr/local/bin/gcc
checking for C compiler default output... configure: error: C compiler cannot create executables
See `config.log' for more details.
搜索了下類(lèi)似的問(wèn)題解決辦法, 都不起作用, 有遇到類(lèi)似問(wèn)題的兄弟么?
最近會(huì)繼續(xù)在OS400上做代碼移植并更新改貼, 最終有結(jié)果后再結(jié)貼 |
|