最終更新:2019-09-18 (水) 17:25:57 (1683d)  

ld
Top / ld

ld - GNU リンカ

http://linuxjm.sourceforge.jp/html/GNU_binutils/man1/ld.1.html

  • $ ld -o output /lib/crt0.o hello.o -lc
  • リンクするファイルは /lib/crt0.o 、 hello.o および標準的な検索ディレクトリにあるライブラリ libc.a

リンクするファイル

strip

  • ld -s? (--strip-all)Omit all symbol information from the output file.
    ld -S? (--strip-debug)Omit debugger symbol information (but not all symbols) from the output file.

設定

パス

関連