Cygwinをいれる


DESC Cygwin の Setup 方法


Cygwin.とは


http://www.kawaz.jp/pukiwiki/?Cygwin( Cygwin とは ) Windows で Unix 環境を利用する UNIX Tool 群 のセット
0. DL すみの package は /mydata/cygpack 1. Install from LocalDirectory
2. パッケージの選択で、default から Install に変換 WARNING   デフォルトだと必要な TOOL、man などがインストールされない cygwin とはUNIX環境を再現した cygwin.dll とUNIXツールの集合から成る install はパッケージから選べる Base Devil( compiler... ) http://www.mogami.com/unix/unix-bg.html(UNIXのバックグラウンド)


環境設定のための.file


DESC /home/<usr>/ bash_profile : bash boot ( login 時によみこみ ) .bashrc : ( session 毎に ) ) .bash_logout cygwin 起動時の設定ファイル(c:/cygwin/etc/profile)


Directory.構成


DESC
FHS bin : 基本cmd boot : boot に必要なファイル dev : デバイスファイル( SpecialFile ) etc : 設定ファイル : 各host 固有のdata home : usr home dir : 各ユーザのhome dir の場所 lib : 共有library : DLL に相当 ( libc.a とか ) mnt : 一時的なmnt opt : 追加 appli proc : process info root : root 用 home dir : super user 用 home dir sbin : system 管理 cmd : system recovery 用 cmd tmp : tmp file : reboot 時に消去される usr : 各種 Program ----- local : site local( 個人用 ) var : 変更されるdata
# user が独自で install した Program は / # usr/local/inlude # usr/local/lib # cd /CUnit-2.1-0 make install /usr/local | +-- /doc/CUnit/ ... HTML ドキュメント群 | +-- /include/CUnit/ ... インクルードファイル群 | +-- /lib/ ... ライブラリファイル群 | +-- /man/man3/ ... MAN ドキュメント | +-- /share/CUnit/ ... XML 関係のファイル群
# passwd file /etc/passwd # group file /etc/group