{"id":2931,"date":"2011-11-28T19:36:17","date_gmt":"2011-11-28T10:36:17","guid":{"rendered":"http:\/\/umezawa.dyndns.info\/wordpress\/?p=2931"},"modified":"2011-11-28T21:27:24","modified_gmt":"2011-11-28T12:27:24","slug":"xcode-%e3%81%8c%e4%bd%bf%e3%81%86-nasm-%e3%82%92%e5%85%a5%e3%82%8c%e6%9b%bf%e3%81%88%e3%82%8b","status":"publish","type":"post","link":"http:\/\/umezawa.dyndns.info\/wordpress\/?p=2931","title":{"rendered":"[MacOSX] Xcode \u304c\u4f7f\u3046 NASM \u3092\u5165\u308c\u66ff\u3048\u308b"},"content":{"rendered":"<p>Xcode \u306f\uff08\u3068\u3044\u3046\u304b Mac OS X \u304c\u3001\u304b\uff1f\uff09\u30c4\u30fc\u30eb\u30bb\u30c3\u30c8\u304c gcc \/ llvm \u306a\u306e\u3067\u30a2\u30bb\u30f3\u30d6\u30e9\u3068\u3057\u3066 gas \u304c\u4f7f\u3048\u307e\u3059\u304c\u3001\u3082\u3046 1 \u3064 NASM \u3082\u6a19\u6e96\u3067\u5165\u3063\u3066\u3044\u3066\u3001\u597d\u304d\u306a\u307b\u3046\u3092\u4f7f\u3046\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u3068\u3053\u308d\u304c\u3053\u306e NASM\u3001\u5165\u3063\u3066\u3044\u308b\u30d0\u30fc\u30b8\u30e7\u30f3\u304c\u300c\u53e4\u3044\u300d\u3067\u3059\u3002<\/p>\n<p><!--more--><\/p>\n<blockquote>\n<pre>[umezawa@metis:ttys000 ~]$ nasm -v\r\nNASM version 0.98.40 (Apple Computer, Inc. build 11) compiled on Oct 24 2010\r\n[umezawa@metis:ttys000 ~]$<\/pre>\n<\/blockquote>\n<p>0.98.40 \u3068\u3044\u3046\u30d0\u30fc\u30b8\u30e7\u30f3\u306f NASM \u672c\u5bb6\u306b\u306f\u3042\u308a\u307e\u305b\u3093\uff080.x \u7cfb\u5217\u306f 0.98.39 \u304c\u6700\u7d42\u30d0\u30fc\u30b8\u30e7\u30f3\uff09\u3002\u304a\u305d\u3089\u304f\u3001Apple \u304c\u4fee\u6b63\u3057\u3066\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u3064\u3051\u305f\u3082\u306e\u306a\u306e\u3067\u3057\u3087\u3046\u3002\u79c1\u304c\u4f7f\u3063\u3066\u3044\u308b\u306e\u306f Xcode 3.2.6 \u3067\u3059\u304c\u3001Xcode 4.1 \u3067\u3082\u540c\u69d8\u3067\u3057\u305f\uff08Xcode 4.2 \u3067\u3069\u3046\u306a\u3063\u3066\u308b\u304b\u306f\u672a\u8abf\u67fb\uff09\u3002<\/p>\n<p>Windows \u4e0a\u3067 NASM 2.9.10 \uff08\u73fe\u6642\u70b9\u3067\u306e\u6700\u65b0\uff09\u3092\u524d\u63d0\u3068\u3057\u3066\u66f8\u3044\u305f\u30bd\u30fc\u30b9\u3092 Mac OS X \u306b\u6301\u3063\u3066\u304d\u305f\u3089\u76db\u5927\u306b\u30a8\u30e9\u30fc\u304c\u51fa\u3066\u304d\u305f\u306e\u3067\u3001Mac OS X \u306e\u65b9\u3082 NASM \u3092 2.9.10 \u306b\u3057\u307e\u3057\u3087\u3046\u3002\uff08\u3061\u306a\u307f\u306b\u30b0\u30b0\u308b\u3068\u3061\u3087\u3063\u3068\u524d\u306f Mac OS X \u5411\u3051\u306b Mach-O \u30d0\u30a4\u30ca\u30ea\u3092\u5410\u304f\u3068\u304a\u304b\u3057\u306a\u30b3\u30fc\u30c9\u306b\u306a\u308b\u3068\u3044\u3046\u30d0\u30b0\u304c\u3042\u3063\u305f\u3088\u3046\u306a\u8a18\u8ff0\u304c\u898b\u3064\u304b\u308b\u306e\u3067\u3059\u304c\u3001NASM \u306e\u66f4\u65b0\u5c65\u6b74\u3092\u898b\u308b\u9650\u308a\u4eca\u306f\u305d\u3093\u306a\u3053\u3068\u306f\u306a\u3044\u3088\u3046\u306b\u898b\u3048\u307e\u3059\uff09<\/p>\n<p>\u3067\u3001NASM \u672c\u5bb6\u304b\u3089 Mac OS X \u7528\u30d0\u30a4\u30ca\u30ea\u3092\u6301\u3063\u3066\u304d\u3066 \/usr\/local\/bin \u306b\u5c55\u958b\u3057\u305f\u306e\u3067\u3059\u304c\u2026\u4f7f\u308f\u308c\u307e\u305b\u3093\uff08\u3082\u3061\u308d\u3093\u30d1\u30b9\u306f \/usr\/bin \u3088\u308a\u512a\u5148\u3055\u308c\u308b\u3088\u3046\u306b\u3057\u3066\u3042\u308b\uff09\u3002\u305d\u308c\u3069\u3053\u308d\u304b \/usr\/bin \u306b\u3042\u308b\u3082\u306e\u3092\u7f6e\u304d\u63db\u3048\u3066\u3082\u4f7f\u308f\u308c\u3066\u3044\u307e\u305b\u3093\u3002\u306a\u3093\u3067\u304b\u306a\u30fc\u3068\u601d\u3063\u3066\u3044\u308b\u3068\u3001<\/p>\n<blockquote>\n<pre>[umezawa@metis:ttys000 ~]$ find \/ -name nasm 2>\/dev\/null\r\n\/Developer\/Documentation\/DocSets\/com.apple.adc.documentation.AppleSnowLeopard.CoreReference.docset\/Contents\/Resources\/Documents\/documentation\/DeveloperTools\/nasm\r\n\/Developer\/Documentation\/DocSets\/com.apple.ADC_Reference_Library.DeveloperTools.docset\/Contents\/Resources\/Documents\/documentation\/DeveloperTools\/nasm\r\n<b>\/Developer\/usr\/bin\/nasm<\/b>\r\n\/Developer\/usr\/share\/doc\/nasm\r\n\/Users\/umezawa\/Downloads\/nasm-2.09.10\/nasm\r\n\/usr\/bin\/nasm\r\n\/usr\/local\/bin\/nasm\r\n\/usr\/share\/doc\/nasm\r\n[umezawa@metis:ttys000 ~]$<\/pre>\n<\/blockquote>\n<p>\u3053\u308c\u304b\u3002<\/p>\n<p>\u3068\u3044\u3046\u308f\u3051\u3067 \/Developer\/usr\/bin\/nasm \u3092\u7f6e\u304d\u63db\u3048\u3066\u7d42\u4e86\u3002\u526f\u4f5c\u7528\u304c\u6c17\u306b\u306a\u308b\u3068\u3053\u308d\u3067\u306f\u3042\u308a\u307e\u3059\u304c\u3001\u554f\u984c\u306a\u304f\u52d5\u3044\u3066\u3044\u308b\u3088\u3046\u306b\u898b\u3048\u307e\u3059\u3002\u3069\u3046\u305b\u81ea\u5206\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3067\u3042\u308b\u30b3\u30fc\u30c7\u30c3\u30af\u958b\u767a\u306b\u3057\u304b\u4f7f\u308f\u306a\u3044\u3057\u3002\uff08\u914d\u5e03\u30bd\u30fc\u30b9\u304b\u3089\u81ea\u5206\u3067\u30d3\u30eb\u30c9\u3059\u308b\u4ed6\u4eba\u306e\u4e8b\u306f\u3042\u307e\u308a\u8003\u3048\u3066\u3044\u306a\u3044\uff09<\/p>\n<blockquote>\n<pre>[root@metis:ttys000 ~]# cd \/Developer\/usr\/bin\r\n[root@metis:ttys000 ~]# mv nasm nasm-0.98.40\r\n[root@metis:ttys000 ~]# cp -a \/Users\/umezawa\/Downloads\/nasm-2.09.10\/nasm .\/\r\n[root@metis:ttys000 ~]#<\/pre>\n<\/blockquote>\n<p>\u3082\u3046\u3061\u3087\u3063\u3068\u30de\u30b7\u306a\u65b9\u6cd5\u3068\u3057\u3066\u3001\/usr\/local\/bin \u306b\u65b0\u3057\u3044 nasm \u3092\u7f6e\u3044\u3066\u3001Xcode \u5074\u3067\u65b0\u3057\u3044 nasm \u3092\u4f7f\u3046\u30d3\u30eb\u30c9\u30eb\u30fc\u30eb\u3092\u4f5c\u308b\u3001\u3068\u3044\u3046\u306e\u304c\u8003\u3048\u3089\u308c\u308b\u306e\u3067\u3059\u304c\u3001\u305d\u308c\u3092\u3084\u308b\u65b9\u6cd5\u304c\u5206\u304b\u3089\u306a\u304b\u3063\u305f\uff08\u3068\u3044\u3046\u304b\u75b2\u308c\u3066\u3066\u63a2\u3059\u6c17\u304c\u8d77\u304d\u306a\u304b\u3063\u305f\uff09\u306e\u3067\u3084\u3063\u3066\u3044\u307e\u305b\u3093\u3002\u8ab0\u304b\u6559\u3048\u3066\u304f\u3060\u3055\u3044 :-p<\/p>\n<p>\u3066\u3044\u3046\u304b\u3001\u53e4\u3044\u30d0\u30fc\u30b8\u30e7\u30f3\u3092 Apple \u304c\u4fee\u6b63\u3057\u305f\u3082\u306e\u3067\u306f\u306a\u304f\u3001\u672c\u5bb6\u306e\u65b0\u3057\u3044\u30d0\u30fc\u30b8\u30e7\u30f3\uff08\u3092 Apple \u304c\u4fee\u6b63\u3057\u305f\u3082\u306e\u3067\u3082\u3044\u3044\uff09\u304c Xcode \u306b\u4ed8\u3044\u3066\u304f\u308c\u3070\u3044\u3044\u3093\u3067\u3059\u304c\u306d\u3047\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Xcode \u306f\uff08\u3068\u3044\u3046\u304b Mac OS X \u304c\u3001\u304b\uff1f\uff09\u30c4\u30fc\u30eb\u30bb\u30c3\u30c8\u304c gcc \/ llvm \u306a\u306e\u3067\u30a2\u30bb\u30f3\u30d6\u30e9\u3068\u3057\u3066 gas \u304c\u4f7f\u3048\u307e\u3059\u304c\u3001\u3082\u3046 1 \u3064 NASM \u3082\u6a19\u6e96\u3067\u5165\u3063\u3066\u3044\u3066\u3001\u597d\u304d\u306a\u307b\u3046\u3092\u4f7f\u3046\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002 \u3068\u3053 [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[],"class_list":["post-2931","post","type-post","status-publish","format-standard","hentry","category-programming"],"_links":{"self":[{"href":"http:\/\/umezawa.dyndns.info\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/2931","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/umezawa.dyndns.info\/wordpress\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/umezawa.dyndns.info\/wordpress\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/umezawa.dyndns.info\/wordpress\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/umezawa.dyndns.info\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2931"}],"version-history":[{"count":15,"href":"http:\/\/umezawa.dyndns.info\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/2931\/revisions"}],"predecessor-version":[{"id":2952,"href":"http:\/\/umezawa.dyndns.info\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/2931\/revisions\/2952"}],"wp:attachment":[{"href":"http:\/\/umezawa.dyndns.info\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2931"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/umezawa.dyndns.info\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2931"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/umezawa.dyndns.info\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2931"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}