(toppers-users 729) RE: コンフィグレーションチェッカのエラーと COFF 形式について
yasuo moriya
yasuo_m @ mve.biglobe.ne.jp
2003年 1月 8日 (水) 02:21:11 JST
Moriyaと申します。
若林さん、尾形さん、岸本さんレスありがとうございます。
岸本さんご指摘の方法をとろうとしたのですが。
(% sh-hitachi-elf-objcopy -O coff-sh jsp.exe jsp-coff.exe)
再度、コンフィグレーションスクリプトからやり直すとwarningがでることが
わかりました。どうも日本語文字列が処理できていないみたいなのですが。
(以下はエラーの一部)
$ ../configure -C SH3 -S card_e09a -P /usr/local/sh-elf
configure: Generating Makefile from ../sample/Makefile.
configure: Generating sample1.c from ../sample/sample1.c.
configure: Generating sample1.h from ../sample/sample1.h.
configure: Generating sample1.cfg from ../sample/sample1.cfg.
configure: Generating ../cfg/Makefile.SH3-card_e09a from
../cfg/Makefile.template.
configure: Generating configuration tools.
g++ -O2 -Wall -I/usr/local/sh-elf/sh-hitachi-elf/bfd -I/cygdrive/f/prj/node_
lan/jsp-1.3/myobjelf/.. -I. -I./jsp -c parser.cpp
parser.cpp:272:249: warning: unknown escape sequence: '\220'
parser.cpp:273:95: warning: unknown escape sequence: '\220'
parser.cpp:884:13: warning: unknown escape sequence: '\216'
parser.cpp:951:132: warning: unknown escape sequence: '\220'
warningは出ますが、コンフィグレーションスクリプトは完了してMakefileが
生成されています。
make dependを行うと、
$ make depend
cpp -I. -I../include -I../config/SH3 -I../config/SH3/card_e09a -DLABEL_ASM
-DGDB_STUB sample1.cfg | ../cfg/cfg -s -c \
-cpu SH3 -system card_e09a -obj
--- mITRON4.0 Kernel Configurator (ver 9.0) for [TOPPERS/JSP rel 1.3] ---
Program failed in its process by following reason.
Error : [Standard Input:1] Kernel requires one or more task objects.
make: *** [kernel_cfg.c] Error 1
となり、すぐにエラーになってしまいます。
WIN2000+Cygwin環境を私用していますが、この環境だとなにか問題が
あるのでしょうか
その他、使用したVerは次のものです。
Binutils binutils-2.13.tar1.gz
GCC-CORE gcc-core-2.95.3.tar.gz
GCC gcc-g++-2.95.3.tar.gz
NEWLIB newlib-1.9.0.tar.gz
参考になるご意見を、どうぞよろしくお願いいたします。