Fork me on GitHub

2008/10/14

Recent entries from same category

  1. SSH/Gitの設定を修正しなくてもファイアウォール内からgithub.comにpushする方法 Hatena
  2. コマンドラインからGoogle Readerが使えるPeepを試した Hatena
  3. Growl For WindowsのUIを日本語化した。 Hatena
  4. Growl For Windowsがリリースされてアイコンが表示出来る様になった。 Hatena
  5. githubでHTTPプロトコルからcloneすると良くエラーが出てたのが直った。 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 ソフトウェア | WriteBacks (0) | Edit
Tagged as: windows
Bookmarks: このエントリーのtweets add to hatena add to hatena | add to delicious.com | add to livedoor.clip add to livedoor.clip | add to buzzurl add to buzzurl | add to fc2bookmark add to fc2bookmark | add to Yahoo Bookmark add to Yahoo Bookmark | add to Pookmark add to Pookmark

blog comments powered by Disqus
WriteBacks

TrackBack ping me at
Post a comment

writeback message: Ready to post a comment.