(toppers-users 2015) JSP1.4 で  SH 3で開発環境の問題について、助けてください!!!

hendry steven steven168jp @ yahoo.co.jp
2005年 6月 10日 (金) 16:22:42 JST


皆さん こんにちは。

JSP1.4で、SH3(SH7750)で開発環境の問題について、助けて
ください。
サンプルプログラムの構築する時、「make depend」の
コマンドで 以下のエラーが 発生しました。

エラー:
rm -f Makefile.depend
../utils/genoffset makeoffset.s > tmpfile3
mv tmpfile3 offset.h
sh-hitachi-elf-gcc -E -I. -I../include 
-I../config/sh3/solution_engine -I../pdic/simple_sio
-I../config/sh3   
-DMS7750SE01 -DLABEL_ASM -DGDB_STUB -x c-header s
ample1.cfg > tmpfile1
../cfg/cfg -s tmpfile1 -c -obj -cpu sh3 -system
solution_engine
<The following error must be occured by lack of ';' at the
end of previous line>
../include/t_stddef.h:89:[Error] Static API [void] is not
registered in the configurator
../config/sh3/tool_config.h:53:[Error] Static API
[__asm__] is not registered in the configurator
Program failed in its process by following reason.
  sample1.cfg:29:[Error] The configuration process was
aborted due to occurence of parse error
make: *** [kernel_cfg.c] Error 1


私の環境:
Windows 2000 Pro, SP4
Cygwin: Version 1.5.17-1(1.5.5のバンショーンを 見つけな
いので、1.5.17-1を 使う) 
binutils: Version 20040127-1 (Cygwin付き)
gcc:  3.3.3-3(Cygwin付き)
gcc-core: 3.3.3-3(Cygwin付き)
gcc-g++: 3.3.3-3(Cygwin付き)
newlib: 無し
GNU Make: 3.80-1(Cygwin付き)
Perl: 5.8.6-4(Cygwin付き)

コンフィギュレーションツールの構築は 正しく 完了しまし
た。(cfgと chk Programは gcc+ と VC++6.00両方を 
使って、問題が 同じ)

後で、
http://www.toppers.jp/から SH 用の BINUTILS,GCC-CORE,GDB 
のバイナリ(gnu_cygwin_sh.tar.gz)をダウンロードして /usr/local

に インスートルしました。

次は : JSPカーネルのソースファイルを展開したディレ
クトリの下に 以下のコマンドを 実行して、sample1.h,
sample1.c, sample1.cfgが 生成しました。
mkdir OBJ
cd OBJ
perl ../configure -C sh3 -S solution_engine

最後は make depend コマンドにより、
以上の問題発生しました。
「../cfg/cfg -s tmpfile1 -c -obj -cpu sh3 -system
solution_engine
<The following error must be occured by lack of ';' at the
end of previous line>
../include/t_stddef.h:89:[Error] Static API [void] is not
registered in the configurator
../config/sh3/tool_config.h:53:[Error] Static API
[__asm__] is not registered in the configurator
Program failed in its process by following reason.
  sample1.cfg:29:[Error] The configuration process was
aborted due to occurence of parse error
」


このエラーは コンフィギュレーションツールの原因でしょう
か。 でも、コンフィギュレーションツールの構築は 正しく
 完了しました。(cfgと chk Programは gcc+
と VC++6.00
両方を 使って、問題が 同じ)


この問題の原因は 何でしょうか。 経験が あるの方が
教えて いただけないでしょうか。

宜しく お願いいたします。



__________________________________
Save the earth
http://pr.mail.yahoo.co.jp/ondanka/