Fork me on GitHub

2008/10/14

Recent entries from same category

  1. gitリポジトリの更新をgrowlしてくれるgit dudeがWindowsで使える様になった。 Hatena
  2. 日本語ページャlvをwindowsにポーティングした。 Hatena
  3. IEとFirefoxとChromeをたった10分でチョッパヤにする方法 Hatena
  4. easter egg in aptitude Hatena
  5. SSHポートが通らなくてもbitbucket.orgにpushする方法 Hatena

このエントリーをはてなブックマークに追加
mingw32でビルド
C:¥TEMP> wget -O getclip.c "http://sources.redhat.com/cgi-bin/cvsweb.cgi/~checkout~/cygutils/src/clip/getclip.c?rev=1.2&content-type=text/plain&cvsroot=cygwin-apps"
C:¥TEMP> wget -O putclip.c "http://sources.redhat.com/cgi-bin/cvsweb.cgi/~checkout~/cygutils/src/clip/putclip.c?rev=1.2&content-type=text/plain&cvsroot=cygwin-apps"
C:¥TEMP> type common.h
#include <windows.h>
#include <stdio.h>
#include <popt.h>
#include <fcntl.h>

C:¥TEMP> gcc -o getclip.exe -I. getclip.c -lpopt
C:¥TEMP> gcc -o putclip.exe -I. putclip.c -lpopt
できあがり。
C:¥TEMP> ls *.exe | putclip
とか
C:¥TEMP> getclip | xargs rm
とか使えて便利。poptは「Gnuwin32 Popt」あたりから。
Posted at 15:16 in ソフトウェア | Edit
Tagged as: windows
Bookmarks: add to hatena add to hatena | add to delicious.com | add to livedoor.clip add to livedoor.clip

blog comments powered by Disqus