{"id":10,"date":"2008-02-13T03:50:05","date_gmt":"2008-02-12T18:50:05","guid":{"rendered":"https:\/\/hiro7216.mydns.jp\/blog\/?p=10"},"modified":"2024-01-30T23:41:23","modified_gmt":"2024-01-30T14:41:23","slug":"eabi%e7%92%b0%e5%a2%83%e3%81%a7iptables%e3%82%b3%e3%83%b3%e3%83%91%e3%82%a4%e3%83%ab","status":"publish","type":"post","link":"https:\/\/hiro7216.mydns.jp\/blog\/?p=10","title":{"rendered":"EABI\u74b0\u5883\u3067iptables\u30b3\u30f3\u30d1\u30a4\u30eb"},"content":{"rendered":"\n<p>\u3044\u3088\u3044\u3088\u554f\u984c\u306eiptables\u30b3\u30f3\u30d1\u30a4\u30eb\u3067\u3059\u3002<br>\u307e\u305a\u306fiptables\u306e\u30bd\u30fc\u30b9\u3092web\u304b\u3089\u53d6\u5f97\u3057\u307e\u3059\u3002<br><a href=\"https:\/\/www.linuxfromscratch.org\/blfs\/view\/svn\/postlfs\/iptables.html\" target=\"_blank\" rel=\"noopener noreferrer\">Iptables-1.3.8<\/a><br>\u30bd\u30fc\u30b9\u3092\u9069\u5f53\u306a\u5834\u6240\u306b\u89e3\u51cd\u3057\u307e\u3059\u3002<br>\u305d\u306e\u307e\u307e\u30b3\u30f3\u30d1\u30a4\u30eb\u3059\u308c\u3070\u666e\u901a\u306b\u30d3\u30eb\u30c9\u3055\u308c\u307e\u3059\u3002<br>\u3057\u304b\u3057\u30a8\u30e9\u30fc\u304c\u51fa\u3066\u52d5\u304d\u307e\u305b\u3093\uff01\uff08apt-get\u3067\u306einstall\u3068\u540c\u3058\u30a8\u30e9\u30fc\u304c\u51fa\u307e\u3059\uff09<\/p>\n\n\n\n<p>\u3053\u308c\u3092\u89e3\u6c7a\u3059\u308b\u306e\u306b\u8abf\u3079\u306b\u8abf\u3079\u3066\u3042\u308b\u30b5\u30a4\u30c8\u306b\u8fbf\u308a\u7740\u304d\u307e\u3057\u305f\u3002\uff08\u30de\u30b8\u3067\u60c5\u5831\u5c11\u306a\u304f\u3066\u82e6\u52b4\u3057\u307e\u3057\u305f\u30fb\u30fb\u30fb\uff09<br>ARM gcc \u30d0\u30c3\u30c9\u30ce\u30a6\u30cf\u30a6\u96c6<br>\u3053\u306e\u30b5\u30a4\u30c8\u306e\u300c8. EABI \u3068 legacy ABI\u300d\u306bgcc\u30b3\u30f3\u30d1\u30a4\u30eb\u6642\u306e\u30aa\u30d7\u30b7\u30e7\u30f3\u6307\u5b9a\u65b9\u6cd5\u304c\u8f09\u3063\u3066\u3044\u308b\u3058\u3083\u306a\u3044\u3067\u3059\u304b\uff01<br>\uff08\u3053\u306e\u30b5\u30a4\u30c8\u306b\u306f\u672c\u5f53\u306b\u611f\u8b1d\u3057\u3066\u3044\u307e\u3059\uff09<\/p>\n\n\n\n<p>\u30b3\u30f3\u30d1\u30a4\u30eb\u6642\u306bgcc\u306e\u30b3\u30de\u30f3\u30c9\u30aa\u30d7\u30b7\u30e7\u30f3\u306bEABI\u306a\u4e8b\u3092\u4f1d\u3048\u308c\u3070\u826f\u3044\u3088\u3046\u3067\u3059\u3002<br>gcc -mabi=aapcs-linux<br>\u3067\u306fMakefile\u306b\u3053\u306e\u8a2d\u5b9a\u3092\u53cd\u6620\u3055\u305b\u308b\u65b9\u6cd5\u306f\u3068\u30fb\u30fb\u30fb<br>\u5148\u982d\u884c\u306b\u3053\u306e\u4e00\u884c\u3092\u8ffd\u52a0\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n\n\n\n<p>CC = gcc -mabi=aapcs-linux<\/p>\n\n\n\n<p>\u3053\u3046\u3059\u308b\u3053\u3068\u3067make\u3057\u305f\u6642\u306b\u81ea\u52d5\u7684\u306b $(CC) \u3092 gcc -mabi=aapcs-linux \u306b\u7f6e\u304d\u63db\u3048\u3066\u304f\u308c\u307e\u3059\u3002<br>\u65e9\u901f\u30b3\u30f3\u30d1\u30a4\u30eb\u958b\u59cb\u3067\u3059\uff01<br>\u4f55\u306e\u30a8\u30e9\u30fc\u3082\u7121\u304f\u7121\u4e8b\u30b3\u30f3\u30d1\u30a4\u30eb\u304c\u7d42\u4e86\u3057\u307e\u3057\u305f\u3002<br>\u3067\u306fmake install \u3057\u3066\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3057\u3087\u3046\u3002<br>depmod -a &amp; \u518d\u8d77\u52d5\u5f8c\u306biptables\u304c\u52d5\u304f\u304b\u78ba\u8a8d\u3057\u3066\u307f\u307e\u3059\u3002<\/p>\n\n\n\n<p>iptables -L<\/p>\n\n\n\n<p>\u4e0a\u306e\u30b3\u30de\u30f3\u30c9\u3067\u30a8\u30e9\u30fc\u304c\u51fa\u306a\u3051\u308c\u3070\u7121\u4e8b\u30b3\u30f3\u30d1\u30a4\u30eb\uff06\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306f\u5b8c\u4e86\u3067\u3059\uff01<\/p>\n\n\n\n<p>\u3053\u3053\u307e\u3067\u6765\u308b\u306e\u306b\u4e00\u9031\u9593\u304f\u3089\u3044\u306f\u8003\u3048\u8fbc\u3093\u3058\u3083\u3044\u307e\u3057\u305f(\u7b11)<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u3044\u3088\u3044\u3088\u554f\u984c\u306eiptables\u30b3\u30f3\u30d1\u30a4\u30eb\u3067\u3059\u3002\u307e\u305a\u306fiptables\u306e\u30bd\u30fc\u30b9\u3092web\u304b\u3089\u53d6\u5f97\u3057\u307e\u3059\u3002Iptables-1.3.8\u30bd\u30fc\u30b9\u3092\u9069\u5f53\u306a\u5834\u6240\u306b\u89e3\u51cd\u3057\u307e\u3059\u3002\u305d\u306e\u307e\u307e\u30b3\u30f3\u30d1\u30a4\u30eb\u3059\u308c\u3070\u666e\u901a\u306b\u30d3\u30eb\u30c9\u3055\u308c\u307e\u3059\u3002\u3057\u304b\u3057\u30a8\u30e9\u30fc\u304c &hellip; <a href=\"https:\/\/hiro7216.mydns.jp\/blog\/?p=10\" class=\"more-link\">\u7d9a\u304d\u3092\u8aad\u3080 <span class=\"screen-reader-text\">EABI\u74b0\u5883\u3067iptables\u30b3\u30f3\u30d1\u30a4\u30eb<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2,287],"tags":[166],"class_list":["post-10","post","type-post","status-publish","format-standard","hentry","category-linkstation","category-nas","tag-linkstation"],"_links":{"self":[{"href":"https:\/\/hiro7216.mydns.jp\/blog\/index.php?rest_route=\/wp\/v2\/posts\/10","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hiro7216.mydns.jp\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hiro7216.mydns.jp\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hiro7216.mydns.jp\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/hiro7216.mydns.jp\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=10"}],"version-history":[{"count":0,"href":"https:\/\/hiro7216.mydns.jp\/blog\/index.php?rest_route=\/wp\/v2\/posts\/10\/revisions"}],"wp:attachment":[{"href":"https:\/\/hiro7216.mydns.jp\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=10"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hiro7216.mydns.jp\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=10"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hiro7216.mydns.jp\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=10"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}