新型 HS-DHGL にハックキット(10)開発環境のインストール

HS-DHGL

新型 HS-DHGL も旧形や 新型 LS-GL と同じ手順で ハックキットがインストールできるとは思うが、 念のために検証しておく。

続いて 開発環境のインストール

開発環境のインストール

gin:~# apt-get install make gcc libc6-dev
Reading package lists... Done
Building dependency tree... Done
The following extra packages will be installed:
  binutils cpp cpp-4.1 gcc-4.1 libssp0 linux-kernel-headers
Suggested packages:
  binutils-doc cpp-doc gcc-4.1-locales manpages-dev autoconf automake1.9 libtool flex bison gdb gcc-doc gcc-4.1-doc
  glibc-doc make-doc-non-dfsg
Recommended packages:
  libmudflap0-dev
The following NEW packages will be installed:
  binutils cpp cpp-4.1 gcc gcc-4.1 libc6-dev libssp0 linux-kernel-headers make
0 upgraded, 9 newly installed, 0 to remove and 0 not upgraded.
Need to get 9294kB of archives.
After unpacking 33.1MB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://ftp2.jp.debian.org etch/main binutils 2.17-3 [2485kB]
Get:2 http://ftp2.jp.debian.org etch/main cpp-4.1 4.1.1-21 [2006kB]
Get:3 http://ftp2.jp.debian.org etch/main cpp 4:4.1.1-15 [11.6kB]
Get:4 http://ftp2.jp.debian.org etch/main libssp0 4.1.1-21 [4224B]
Get:5 http://ftp2.jp.debian.org etch/main gcc-4.1 4.1.1-21 [403kB]
Get:6 http://ftp2.jp.debian.org etch/main gcc 4:4.1.1-15 [5062B]
Get:7 http://ftp2.jp.debian.org etch/main linux-kernel-headers 2.6.18-7 [1986kB]
Get:8 http://ftp2.jp.debian.org proposed-updates/main libc6-dev 2.3.6.ds1-13etch5 [2012kB]
Get:9 http://ftp2.jp.debian.org etch/main make 3.81-2 [381kB]
Fetched 9294kB in 11s (796kB/s)
Selecting previously deselected package binutils.
(Reading database ... 11937 files and directories currently installed.)
Unpacking binutils (from .../binutils_2.17-3_arm.deb) ...
Selecting previously deselected package cpp-4.1.
Unpacking cpp-4.1 (from .../cpp-4.1_4.1.1-21_arm.deb) ...
Selecting previously deselected package cpp.
Unpacking cpp (from .../cpp_4%3a4.1.1-15_arm.deb) ...
Selecting previously deselected package libssp0.
Unpacking libssp0 (from .../libssp0_4.1.1-21_arm.deb) ...
Selecting previously deselected package gcc-4.1.
Unpacking gcc-4.1 (from .../gcc-4.1_4.1.1-21_arm.deb) ...
Selecting previously deselected package gcc.
Unpacking gcc (from .../gcc_4%3a4.1.1-15_arm.deb) ...
Selecting previously deselected package linux-kernel-headers.
Unpacking linux-kernel-headers (from .../linux-kernel-headers_2.6.18-7_arm.deb) ...
Selecting previously deselected package libc6-dev.
Unpacking libc6-dev (from .../libc6-dev_2.3.6.ds1-13etch5_arm.deb) ...
Selecting previously deselected package make.
Unpacking make (from .../archives/make_3.81-2_arm.deb) ...
Setting up binutils (2.17-3) ...

Setting up cpp-4.1 (4.1.1-21) ...
Setting up cpp (4.1.1-15) ...

Setting up libssp0 (4.1.1-21) ...

Setting up gcc-4.1 (4.1.1-21) ...
Setting up gcc (4.1.1-15) ...

Setting up linux-kernel-headers (2.6.18-7) ...
Setting up libc6-dev (2.3.6.ds1-13etch5) ...
Setting up make (3.81-2) ...
gin:~#

確認

gin:~# cd /tmp
gin:/tmp# echo 'main() { printf("Why DO NOT you hack HS-DHGL?\n");}'>a.c
gin:/tmp# cc a.c
a.c: In function 'main':
a.c:1: warning: incompatible implicit declaration of built-in function 'printf'
gin:/tmp# ./a.out
Why DO NOT you hack HS-DHGL?
gin:/tmp#
OK.


HS-DH320GL
楽天市場
Yahoo!ショッピング
somap.com
TSUKUMO ネットショップ
ValuMore!
ムラウチドットコム
アット・ニフティストア icon
Joshin web icon


新型 HS-DHGL にハックキット(9)Windows 向けプリンタサーバ(2)
ハックの記録
LinkStation/玄箱 をハックしよう

ホームサーバ機能搭載”LinkStation Living”など計9製品の価格改定を実施

Copyright (C) 2003-2008 Yasunari Yamashita. All Rights Reserved.
yasunari @ yamasita.jp 山下康成@京都府向日市