タグ

GNUに関するmirのブックマーク (2)

  • automake

    GNU Automake This manual is for GNU Automake (version 1.10.1, 21 January 2008), a program that creates GNU standards-compliant Makefiles from template files. Copyright © 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation

    mir
    mir 2007/12/06
    リファレンスマニュアル
  • ホワット・ア・ワンダフル・ワールド GAS から目覚める僕らのプログラミング

    GAS ってのは,GNU ASsembler のことで,Debian/GNU Linux では as とかいうコマンドです.gcc の裏では,こいつが .S ファイルからオブジェクトファイルを作ってくれて,リンカが libc とかと o ファイルをくっつけてくれて,実行可能ファイル a.out ができるわけですな. というわけで,さっそく gasの2つの例 を参考にしつつ (というかまんま.変えたのは文字列の中身だけ) 書いた,素朴すぎる hello, gas ! .text message: .ascii "hello, gas!\n" .align 4 .globl entryPoint entryPoint : movl $4, %eax movl $1, %ebx movl $message, %ecx movl $12, %edx int $0x80 movl $1, %eax

  • 1