(toppers-users 645) Re: libiberty.h $B$,$J$$(B

koizumi yoshiyuki.koizumi @ toshiba.co.jp
2002年 11月 26日 (火) 15:02:38 JST


koisanです。

 結局、最新版のcygwinでは何か有りそうです。ma2takさんのコメントは
実行時の問題ですよね。私のほうはconfigueのcfgのコンパイルでつまずいて
います。無理やり、usr/local/i386-elf/bfdを追加して、binutilで作った
*.aをコピーしたら、リンクエラーが出たので、名前を調べたらlibintlらしいの
で、makefile.templateのライブラリ指定に-lintlを追加したらconfigureは通
るようになりました。
しかし、-C i386にはstart.Sは有りません。windowsで実行だから、makeファイ
ルをi386からwindowsに修正して、.Sを.cに直し、コンパイラのpathを修正して
makeを行う。しかし、コンフィグで大量のエラーが出ます。

$ make
gcc -c -DGDB_STUB -I. -I../jsp/include -I../jsp/config/windows
-I../jsp/config/windows/ -g -Wall -I../jsp/kernel ../
jsp/config/windows/start.c
In file included from /usr/include/w32api/windows.h:48,
from ../jsp/config/windows/vwindows.h:54,
from ../jsp/config/windows/cpu_defs.h:49,
from ../jsp/include/kernel.h:61,
from ../jsp/kernel/jsp_kernel.h:54,
from ../jsp/config/windows/start.c:39:
/usr/include/w32api/windef.h:232: warning: redefinition of `INT'
../jsp/include/itron.h:107: warning: `INT' previously declared here
/usr/include/w32api/windef.h:233: warning: redefinition of `UINT'
../jsp/include/itron.h:108: warning: `UINT' previously declared here
../jsp/config/windows/start.c: In function `WinMain':
../jsp/config/windows/start.c:327: warning: passing arg 4 of
`CreateDialogParamA' from incompatible pointer type
cpp -I. -I../jsp/include -I../jsp/config/windows
-I../jsp/config/windows/ -DGDB_STUB sample1.cfg | ../jsp/cfg/cfg -s -
c \
-cpu windows -system -obj
--- mITRON4.0 Kernel Configurator (ver 9.0) for [TOPPERS/JSP rel 1.3] ---
Error : [/usr/lib/gcc-lib/i686-pc-cygwin/3.2/include/stdarg.h:44] Static
API [typedef] is not registered in the configur
ator
Error : [/usr/lib/gcc-lib/i686-pc-cygwin/3.2/include/stdarg.h:111]
Static API [typedef] is not registered in the configu
rator
Error : [/usr/include/w32api/windef.h:211] Static API [typedef] is not
registered in the configurator
Error : [/usr/include/w32api/windef.h:212] Static API [typedef] is not
registered in the configurator
Error : [/usr/include/w32api/windef.h:216] Static API [typedef] is not
registered in the configurator
Error : [/usr/include/w32api/windef.h:220] Static API [typedef] is not
registered in the configurator
Error : [/usr/include/w32api/windef.h:222] Static API [typedef] is not
registered in the configurator
Error : [/usr/include/w32api/windef.h:223] Static API [typedef] is not
registered in the configurator
Error : [/usr/include/w32api/windef.h:224] Static API [typedef] is not
registered in the configurator
Error : [/usr/include/w32api/windef.h:225] Static API [typedef] is not
registered in the configurator

何かやり方がまだ、おかしいようです。Cygwinのバージョンにより、何かが変わ
り、toppersでは手が回っていないように見えます。
 ここで、取りあえず断念。



 VC++で再挑戦

コンフィグとビルドは出来ているようだが、実行時にMSVCRTD.dllが
無いとしかられます。
MSVCRTD.dllとはなんでしょうか?
MSのツールの使い方は全く分からないので、これから調べてみます。といっても
どこから手をつければよいのか見当がつきません。

 以上


ma2tak @ ma2tak.dyndns.org wrote:

> ma2takと申します。
> 
>> toppersをCygwinで動作させるのは通常ではないのでしょうか。現状ではMSの
>> コンパイラしかサポートされていないのですか。(疑問6)
> 
> 
> 私が多少手を加えたTOPPERSは、*一応* Cygwin上で動作します。
> 但し、Cygwin上での非同期I/O(SIGIO)処理がうまくいかなかったので、
> sample.cを動かすと
> 落ちることがあります。

** Cut quoted 6 lines by the mail filter. **

-- 
====================================================
 198−8710  東京都 青梅市 末広町 2−9
 株式会社 東芝 デジタルメディアネットワーク社
 コアテクノロジセンタ COS開発センタ 第三担当
  小泉 義行
 TEL 0428-34-3091(直通) FAX 0428-30-7370
====================================================