sil:~# 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 9284kB 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 etch/main libc6-dev 2.3.6.ds1-13etch2 [2002kB] Get:9 http://ftp2.jp.debian.org etch/main make 3.81-2 [381kB] Fetched 9284kB in 1m39s (93.4kB/s) Selecting previously deselected package binutils. (Reading database ... 11833 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-13etch2_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-13etch2) ... Setting up make (3.81-2) ... sil:~#
yasunari@sil:/tmp$ echo 'main() { printf("Why DO NOT you hack HS-DHGL?\n");}' >a.c yasunari@sil:/tmp$ cc a.c a.c: In function 'main': a.c:1: warning: incompatible implicit declaration of built-in function 'printf' yasunari@sil:/tmp$ ./a.out Why DO NOT you hack HS-DHGL? yasunari@sil:/tmp$Unix は寡黙が好き。いちいち警告せんといて。
|
← KURO-RS リモコンデータの学習 |
ハックの記録 LinkStation/玄箱 をハックしよう |
→ HS-DHGL ソース CD |