SSブログ

objcopy によるバイナリ組み込み [Linux]

Linuxではソース上で
_binary_brabra_start
のようにアンダースコアで始まってるが
cygwin城だと
_binary_brabra_start
のようにアンダースコアなし。
なんで?
nice!(0) 

Debian X11 on Virtual PC [Linux]

# vi /etc/X11/xorg.conf
Section "Screen"

DefaultDepth 16 # original was 24
nice!(0) 

undefined reference to `clock_getres' [Linux]

timer_* , clock_* functions are in the real time library

-lrt


nice!(0) 

ISO DVD [Linux]

$ mkisofs -r -J -input-charset cp932 -o image.iso ./resources
$ mount -t iso9660 -o loop /tmp/image.iso /mnt
追記用
$ cdrecord dev=0,0,0 -msinfo
0,12345
$ mkisofs -r -J -C 0,12345 -o ../image.iso
nice!(0) 

notify-send [Linux]

notify-send -t 2500 "hello" "test"
nice!(0) 

X Clipboard [Linux]

nice!(0) 

deep diff [Linux]

for x in `du . -a | cut -f2` ; do diff $x /path/${x#./}; done

:

grep -v Common subdirectories



diff -r . /dir
nice!(0) 

Valgrind [Linux]

http://valgrind.org/
There are Valgrind tools that can automatically detect many memory management and threading bugs, and profile your programs in detail.
nice!(0)