hns - 日記自動生成システム - Version 2.19.9

先月 2013年03月 来月
1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
31
Namazu for hns による簡易全文検索
詳しくは 詳細指定/ヘルプを参照して下さい
検索式:

2013年03月20日(水) 旧暦 [n年日記] [更新:"2013/05/04 18:58:37"]

#1 [Windows][Cygwin] Adding C:\cygwin\bin onto Path (Windows XP)

たまたま cygwin の上で cc で作ったすごく小さなプログラムを、 bat でなく、直接ダブルクリックで実行出来るようにするには、 という話で、何も考えないと Cygwin1.dll が見つからない というので regtool set を使って path に ;C:\Cygwin\bin を加えて見た。
tc2120@makoto 15:19:20/130320(~/perl)% \
regtool get '\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment\Path'
%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem
tc2120@makoto 15:44:33/130320(~)%  \
regtool set '\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment\Path'
 '%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\Cygwin\bin'
tc2120@makoto 15:45:00/130320(~)%  \
regtool get '\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment\Path' 
%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\Cygwin\bin

DependencyWalker で確認::

普通外部参照は ldd で調べるが、その代りになるものとして
Dependency Walker
がある。これを使って調べて見る。



最近の日記
2024年05月05日
Windows 10 version
serial connection
bc bench
2024年05月04日
Trial on 10.99.10
another version (later trial) to succeed
2024年04月29日
dkim
2024年03月10日
停電 (瞬電)
2024年03月03日
the second try on bare-metal
useradd
以上、1 日分です。
タイトル一覧
カテゴリ分類
Powered by hns-2.19.9, HyperNikkiSystem Project

Count.cgi (since 2000/02/05)