(toppers-users 1318) H8/3048の開発環境の構築
YOSHIDA
yoshida @ lineeye.co.jp
2003年 12月 18日 (木) 15:55:14 JST
いつもお世話になります
吉田と申します
LinuxやリアルタイムOSなど今まで一切使ったことがない
まったくの初心者で申し訳御座いませんが、
TOPPERSについて勉強しようとしているところで
試しにH8/3048Fをターゲットとしてマニュアルを基に
ロードモジュールを生成を行なおうとしたのですが
jsp.exeまたはjsp.Sが出来ません
過去MLを見たのですが良く分からず
同じ質問になっているかもしれませんが
アドバイスいただければ幸いです
行なった手順といたしましては
まずgnu_install.txtの「GNU開発環境増築マニュアル」に沿って順に
BINUTILS、GCC-CORE、GDB、NEWLIBのインストールを行なったのですが、
NEWLIBのところで
$mkdir /usr/src/itron/newlib-obj
$cd /usr/src/itron/newlib-obj
$../newlib-1.9.0/configure --target=h8300-hms --prefix=/usr/local
と入力しEnterとしたところ以下のメッセージがでました
Configuring for a i686-pc-cygwin host.
*** This configuration is not supported in the following subdirectories:
target-libgloss
(Any other directories should still work fine.)
Created "Makefile" in /usr/src/itron/newlib-obj using "mh-frag"
Configuring etc...
creating cache ../config.cache
checking for a BSD compatible install... /usr/bin/install -c
updating cache ../config.cache
creating ./config.status
creating Makefile
一応Makefileが出来上がっていましたのでそのまま続けて
$make
$make install
「3.3.2ソースからのインストール」の修正を行い
user.txtの「7.3サンプルプログラムの構築」に従って
$mkdir /usr/src/jsp/OBJ
$cd /usr/src/jsp/OBJ
$../configure -C h8 -S akih8300-hms -P /usr/local
h8.txtの「4.2Makefileの設定」に従って
CYGWIN=trueを有効にし
all: $(JSPOBJ)をコメントアウトしてall: jsp.Sを有効にし
$make depend
$make
とすると以下のメッセージが表示され
(一部省略)
/usr/local/bin/h8300-hms-gcc -c -mh -mint32 -mrelax -O2 -DLABEL_ASM -DCPU_C
LOCK
=16000000 -DGDB_STUB -I. -I../include -I../config/h8 -I../config/h8/akih8_30
48f
-g -Wall -I../kernel ../kernel/exception.c
rm -f libkernel.a
/usr/local/bin/h8300-hms-ar -rcs libkernel.a cpu_support.o sys_support.o
startup
.o cpu_config.o sys_config.o task.o wait.o time_event.o syslog.o
task_manage.o t
ask_sync.o task_except.o semaphore.o eventflag.o dataqueue.o mailbox.o
mempfix.o
time_manage.o cyclic.o sys_manage.o interrupt.o exception.o
/usr/local/bin/h8300-hms-gcc -c -mh -mint32 -mrelax -O2 -DLABEL_ASM -DCPU_C
LOCK
=16000000 -DGDB_STUB -I. -I../include -I../config/h8 -I../config/h8/akih8_30
48f
-g -Wall -I../kernel ../kernel/banner.c
/usr/local/bin/h8300-hms-gcc -S -mh -mint32 -mrelax -O2 -DLABEL_ASM -DCPU_C
LOCK
=16000000 -DGDB_STUB -I. -I../include -I../config/h8 -I../config/h8/akih8_30
48f
-g -Wall -I../kernel kernel_chk.c
../utils/gencheck kernel_chk.s > jsp.chk
/usr/local/bin/h8300-hms-gcc -mh -mint32 -mrelax -O2 -DLABEL_ASM -DCPU_CLOC
K=16
000000 -DGDB_STUB -I. -I../include -I../config/h8 -I../config/h8/akih8_3048f
-g
-Wall -nostdlib -Wl,-Map,jsp.map -T ../config/h8/akih8_3048f/release.ld -o
jsp.
exe start.o banner.o kernel_cfg.o timer.o serial.o logtask.o vasyslog.o
jsp_per
ror.o strerror.o sample1.o libkernel.a -lgcc
../cfg/h8300-hms-chk jsp.exe -cs jsp.chk \
-cpu h8 -system akih8_3048f -obj
--- TOPPERS/JSP Configuration Checker (ver 2.0) ---
Target architecture : coff-h8300
make: *** [jsp.exe] Segmentation fault (core dumped)
make: *** Deleting file `jsp.exe'
となりOBJフォルダーにはjsp.exe、jsp.Sはできませんでした
環境は
Windows2000
Cygwin 2.416
binutils-2.13.2
gcc-core-2.95.3
gdb-5.2.1
newlib-1.9.0
jsp-1.3.tar.gz
を使っております
御手数ですが
説明不足、勉強不足等あると思いますが宜しくお願い致します。
** Cannot accept Content Type: text/html
** An attached file or an HTML part was eliminated. **