{"id":44396,"date":"2016-11-05T22:05:03","date_gmt":"2016-11-05T13:05:03","guid":{"rendered":"http:\/\/www.softantenna.com\/wp\/?p=44396"},"modified":"2016-11-05T22:05:03","modified_gmt":"2016-11-05T13:05:03","slug":"darling","status":"publish","type":"post","link":"https:\/\/softantenna.com\/blog\/darling\/","title":{"rendered":"Darling - Linux\u3067macOS\u30a2\u30d7\u30ea\u3092\u76f4\u63a5\u5b9f\u884c\u3059\u308b\u305f\u3081\u306e\u30e9\u30f3\u30bf\u30a4\u30e0\u74b0\u5883"},"content":{"rendered":"<p><img decoding=\"async\" style=\"display:block; margin-left:auto; margin-right:auto;\" src=\"https:\/\/softantenna.com\/blog\/wp-content\/uploads\/2016\/11\/Is_20161105_113007.jpg\" alt=\"S 20161105 113007\" title=\"s_20161105_113007.jpg\" border=\"0\" width=\"1127\" height=\"490\" \/><\/p>\n<p>Linux\u74b0\u5883\u3067macOS\u306e\u5b9f\u884c\u30d5\u30a1\u30a4\u30eb\u3092\u76f4\u63a5\u5b9f\u884c\u3059\u308b\u305f\u3081\u306e\u5909\u63db\u30ec\u30a4\u30e4\u30fc\u300c<a href=\"https:\/\/www.darlinghq.org\/\">Darling<\/a>\u300d\u3002Windows\u7528\u30d0\u30a4\u30ca\u30ea\u3092Linux\u3067\u76f4\u63a5\u5b9f\u884c\u3059\u308b\u300cWine\u300d\u306emacOS\u7248\u3068\u8003\u3048\u308b\u3068\u5206\u304b\u308a\u3084\u3059\u3044\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3002GPL 3.0\u304c\u63a1\u7528\u3055\u308c\u305f\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u304c<a href=\"https:\/\/github.com\/darlinghq\/darling\">GitHub<\/a>\u3067\u914d\u5e03\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u73fe\u6bb5\u968e\u3067\u306fGUI\u3092\u4f7f\u7528\u3057\u305fmacOS\u30a2\u30d7\u30ea\u306b\u306f\u5bfe\u5fdc\u3057\u3066\u304a\u3089\u305a\u3001Apple\u306e\u30c4\u30fc\u30eb\u30c1\u30a7\u30a4\u30f3\u3084Midnight Commander\u3068\u3044\u3063\u305fRudix.org\u304b\u3089\u53d6\u5f97\u3067\u304d\u308b\u5404\u7a2e\u30bf\u30fc\u30df\u30ca\u30eb\u30d9\u30fc\u30b9\u306e\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u304c\u5b9f\u884c\u53ef\u80fd\u3068\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<p><img decoding=\"async\" style=\"display:block; margin-left:auto; margin-right:auto;\" src=\"https:\/\/softantenna.com\/blog\/wp-content\/uploads\/2016\/11\/Imc-darling.jpg\" alt=\"Mc darling\" title=\"mc-darling.jpg\" border=\"0\" width=\"655\" height=\"429\" \/><\/p>\n<p><a href=\"http:\/\/www.darlinghq.org\/build-instructions\/\">Build Instructions<\/a>\u306b\u3088\u308b\u306832bit\/64bit\u3069\u3061\u3089\u306eLinux\u74b0\u5883\u306b\u3082\u5bfe\u5fdc\u3057\u3066\u3044\u308b\u3088\u3046\u3067\u3059\u3002\u672c\u65e5\u306f\u30d3\u30eb\u30c9\u304c\u78ba\u8a8d\u3055\u308c\u3066\u3044\u308b\u300164bit\u7248\u306eUbuntu 16.04\u306bDarling\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066macOS\u30d0\u30a4\u30ca\u30ea\u3092\u5b9f\u884c\u3059\u308b\u65b9\u6cd5\u3092\u8aac\u660e\u3057\u307e\u3059\u3002<\/p>\n<h2>Darling\u306e\u5c0e\u5165\u65b9\u6cd5<\/h2>\n<p><a href=\"http:\/\/www.darlinghq.org\/build-instructions\/\">Build Instructions<\/a>\u306b\u5f93\u3063\u3066\u4f5c\u696d\u3057\u307e\u3059\u3002<\/p>\n<p>\u6700\u521d\u306bapt-get\u3067\u5fc5\u8981\u306a\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002<\/p>\n<pre>\nsudo apt-get install make clang bison flex xz-utils libfuse-dev libxml2-dev libicu-dev libssl-dev libbz2-dev zlib1g-dev libudev-dev linux-headers-generic\n<\/pre>\n<p>\u6b21\u306bDarling\u3092\u30d3\u30eb\u30c9\u3057\u307e\u3059\u3002git clone\u3084\u30d3\u30eb\u30c9\u306b\u304b\u306a\u308a\u6642\u9593\u304c\u304b\u304b\u308a\u307e\u3059\u306e\u3067\u3054\u6ce8\u610f\u304f\u3060\u3055\u3044(\u30c7\u30a3\u30b9\u30af\u30b5\u30a4\u30ba\u30821.5GB\u7a0b\u5fc5\u8981\u3067\u3059)\u3002<\/p>\n<pre>\ngit clone --recurse-submodules https:\/\/github.com\/darlinghq\/darling.git\ncd darling\nmkdir -p build\/x86-64\ncd build\/x86-64\ncmake ..\/.. -DCMAKE_TOOLCHAIN_FILE=..\/..\/Toolchain-x86_64.cmake\nmake\nsudo make install\n\n# src\/lkm\u306b\u79fb\u52d5\u3057\u3066kernel module\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\ncd ..\/..\/src\/lkm\nmake\nsudo make install\n<\/pre>\n<p>\u306a\u304a<a href=\"https:\/\/github.com\/darlinghq\/darling\/issues\/152\">\u30ab\u30fc\u30cd\u30eb\u30e2\u30b8\u30e5\u30fc\u30eb\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306b\u5931\u6557\u3059\u308b<\/a>\u5834\u5408\u304c\u3042\u308b\u3088\u3046\u3067\u3059\u3002\u30e2\u30b8\u30e5\u30fc\u30eb\u306e\u7f72\u540d\u306b\u95a2\u9023\u3057\u305f\u554f\u984c\u3089\u3057\u304f\u3001\u4f8b\u3048\u3070\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u3059\u308c\u3070\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3067\u304d\u307e\u3059\u3002<\/p>\n<pre>\ninsmod \/home\/sora\/evaluate\/darling\/src\/lkm\/darling-mach.ko\n<\/pre>\n<h2>Darling\u306e\u5b9f\u884c<\/h2>\n<p>Darling\u306e\u5b9f\u884c\u65b9\u6cd5\u306b\u95a2\u3057\u3066\u306f<a href=\"https:\/\/www.darlinghq.org\/introduction\/\">Introduction<\/a>\u30da\u30fc\u30b8\u3067\u89e3\u8aac\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>Darling\u3067\u306fchroot\u306b\u3088\u3063\u3066\u4f5c\u3089\u308c\u305f\u4eee\u60f3\u7684\u306aroot\u304c\u4f7f\u308f\u308c\u307e\u3059(\/home\u306f\u5171\u6709\u3055\u308c\u307e\u3059)\u3002Bash\u3084coreutils\u306e\u3088\u3046\u306a\u57fa\u672c\u7684\u306a\u30d0\u30a4\u30ca\u30ea\u306f\u542b\u307e\u308c\u3066\u3044\u3066\u3059\u3050\u306b\u5b9f\u884c\u3059\u308b\u3053\u3068\u304c\u53ef\u80fd\u3067\u3059\u3002<\/p>\n<pre>\n$ darling shell\nDarling [~]$ \n<\/pre>\n<p>darling\u3067macOS\u306eBash\u3092\u5229\u7528\u3057\u3066\"Hello World\"\u3092\u8868\u793a\u3059\u308b\u306b\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u5b9f\u884c\u3057\u307e\u3059\u3002<\/p>\n<pre>\n$ darling shell echo \"Hello world\"\n<\/pre>\n<p>Rudix\u3067\u63d0\u4f9b\u3055\u308c\u3066\u3044\u308bmacOS\u7528\u306e\u30d0\u30a4\u30ca\u30ea\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u5834\u5408\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3067\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3067\u304d\u307e\u3059\u3002<\/p>\n<pre>\n$ darling shell\nDarling [~]$ installer -pkg mc-4.8.7-0.pkg -target \/\n<\/pre>\n<p>\u30d5\u30a1\u30a4\u30eb\u30de\u30cd\u30fc\u30b8\u30e3mc\u3092\u5b9f\u884c\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n<p><img decoding=\"async\" style=\"display:block; margin-left:auto; margin-right:auto;\" src=\"https:\/\/softantenna.com\/blog\/wp-content\/uploads\/2016\/11\/Is_20161105_120004.jpg\" alt=\"S 20161105 120004\" title=\"s_20161105_120004.jpg\" border=\"0\" width=\"782\" height=\"490\" \/><\/p>\n<p>Ubuntu\u3067macOS\u7528mc\u304c\u5b9f\u884c\u3067\u304d\u307e\u3057\u305f\u3002<\/p>\n<h2>\u4eca\u5f8c\u306b\u6ce8\u76ee\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8<\/h2>\n<p>Darling\u3092\u4f7f\u7528\u3059\u308c\u3070\u3001Linux\u74b0\u5883\u3067macOS\u7528\u30d0\u30a4\u30ca\u30ea\u3092\u76f4\u63a5\u5b9f\u884c\u3059\u308b\u3053\u3068\u304c\u53ef\u80fd\u3067\u3059\u3002\u73fe\u6bb5\u968e\u3067\u306fmacOS\u306e\u6700\u5927\u306e\u5229\u70b9\u3067\u3042\u308bGUI\u30a2\u30d7\u30ea\u3092\u5b9f\u884c\u3059\u308b\u3053\u3068\u306f\u3067\u304d\u307e\u305b\u3093\u304c\u3001\u4eca\u5f8c\u306b\u6ce8\u76ee\u306e\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u3067\u3042\u308b\u3053\u3068\u306f\u9593\u9055\u3044\u3042\u308a\u307e\u305b\u3093\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Linux\u74b0\u5883\u3067macOS\u306e\u5b9f\u884c\u30d5\u30a1\u30a4\u30eb\u3092\u76f4\u63a5\u5b9f\u884c\u3059\u308b\u305f\u3081\u306e\u5909\u63db\u30ec\u30a4\u30e4\u30fc\u300cDarling\u300d\u3002Windows\u7528\u30d0\u30a4\u30ca\u30ea\u3092Linux\u3067\u76f4\u63a5\u5b9f\u884c\u3059\u308b\u300cWine\u300d\u306emacOS\u7248\u3068\u8003\u3048\u308b\u3068\u5206\u304b\u308a\u3084\u3059\u3044\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3002GPL 3.0 [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":44397,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"swell_btn_cv_data":"","footnotes":""},"categories":[3459],"tags":[37,3480,3592],"class_list":["post-44396","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-review","tag-linux","tag-macos","tag-winodws"],"_links":{"self":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/posts\/44396","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/comments?post=44396"}],"version-history":[{"count":0,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/posts\/44396\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/media\/44397"}],"wp:attachment":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/media?parent=44396"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/categories?post=44396"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/tags?post=44396"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}