[Uclinux-h8-devel] userlandのmake について

Back to archive index

nagao kin'ichiro nagao****@dht-j*****
2003年 6月 30日 (月) 09:53:20 JST


大変お世話になっております。
長尾です。

自己レスです
> 現在、sato様のuserlandをCVSにて取得後Makefile(userland直下のもの)の内容を変更しユーザランドを構築しようと試みています。
> しかしながら、コンパイル、リンクともに上手くいきません。

結局、Makefileを使用せず手入力でコンパイルいたしました。
ご参考までにinitのコマンドを以下に書きます。
(Clinux-H8.xをinitのディレクトリに置いた状態で行いました)

-----------ここから----------
# h8300-uclinux-hms-gcc -fsigned-char -mh -mint32 \
  -static -Wall  -I/usr/local/h8300-uclinux-hms/include \
  -c -o simpleinit.o simpleinit.c
# h8300-uclinux-hms-gcc  -fsigned-char -mh -mint32 \
  -static -Wall -nostartfiles /usr/local/h8300-uclinux-hms/lib/crt0.o \
  -I/usr/local/h8300-uclinux-hms/include simpleinit.o getpass.o   \
  -o init.coff -Wl,-lcrypt -Wl,-T uClinux-H8.x -Wl,--embedded-relocs 
# coff2flt -o init init.coff
-----------ここまで----------

以上でなんとかinitを作成することができました。


/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/

        株式会社デジタル・ヒュージ・テクノロジー
                    [ R&D センター ]
        〒343-0041 埼玉県越谷市千間台西1-12-1-217
                 TEL/FAX 048-971-1209
                     長尾 謹一郎
                nagao****@dht-j*****
              http://www.dht-jpn.co.jp

/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/




Uclinux-h8-devel メーリングリストの案内
Back to archive index