{"id":514,"date":"2024-01-25T09:42:31","date_gmt":"2024-01-25T01:42:31","guid":{"rendered":"https:\/\/www.ientertech.com\/blog\/?p=514"},"modified":"2024-02-22T20:53:07","modified_gmt":"2024-02-22T12:53:07","slug":"lazarus%e4%b8%bb%e8%a6%81%e5%ae%89%e8%a3%85%e9%97%ae%e9%a2%98%e8%ae%b0%e5%bd%95","status":"publish","type":"post","link":"https:\/\/www.ienter.com.cn\/blog\/2024\/01\/lazarus%e4%b8%bb%e8%a6%81%e5%ae%89%e8%a3%85%e9%97%ae%e9%a2%98%e8%ae%b0%e5%bd%95.html","title":{"rendered":"Lazarus\u4e3b\u8981\u5b89\u88c5\u95ee\u9898\u8bb0\u5f55"},"content":{"rendered":"<p>1. \u5b89\u88c5<br \/>\n\u5b98\u7f51\u4e0b\u8f7d\uff0c\u670932\u548c64\u4f4d\u7248\u672c\u9009\u62e9\uff0c64\u4f4d\u7684\u8fd8\u6709\u53ef\u540c\u65f6\u517c\u5bb932\/64\u7684\u7248\u672c<br \/>\nwin\u7cfb\u7edf\u76f4\u63a5\u4e0b\u8f7d\u5b89\u88c5<br \/>\nlinux\u5b98\u7f51\u4e0b\u8f7d\u7684\u8bdd\uff0c\u4e09\u4e2a\u6587\u4ef6\uff08fpc-laz,fpc-src,lazarus-project\uff09\u90fd\u8981\u4e0b\u8f7d\u5b89\u88c5\u624d\u884c<br \/>\n2. \u5408\u5e76\u7a97\u53e3<br \/>\n\u6253\u5f00IDE\uff0c\u8f6f\u4ef6\u5305\uff0c\u5b89\u88c5\/\u5378\u8f7d\u8f6f\u4ef6\u5305\uff0c\u53f3\u4fa7\u7a97\u53e3\u9009\u62e9anchordocking\u548canchordockingdsgn\uff0c\u70b9\u51fb\u4fdd\u5b58\u5e76\u91cd\u65b0\u6784\u5efaIDE\uff0cide\u4f1a\u81ea\u52a8\u91cd\u542f\uff0c\u7a97\u53e3\u5408\u5e76\u3002<br \/>\n3. \u4ee3\u7801\u8de8\u5e73\u53f0<br \/>\nwin\u4e0a\u4ee3\u7801\u53ef\u4ee5\u76f4\u63a5\u5728linux\u7f16\u8bd1\uff0c\u4f46\u662f\u53ef\u80fd\u4f1a\u62a5\u9519<br \/>\ncrtbeginS.o crtendS.o  \u8fd9\u4e24\u4e2a\u6587\u4ef6\u627e\u4e0d\u5230<br \/>\n\u9700\u8981\u624b\u52a8\u6307\u5b9a\u4e00\u4e0b<br \/>\n\u5148\u627e\u8fd9\u4e24\u4e2a\u6587\u4ef6<br \/>\n\/usr\/lib\/gcc\/x86_64-linux-gnu\/9\uff0c\u6682\u662f\u8fd9\u4e2a\uff08\u76f8\u540c\u76ee\u5f55\u4e0b\u5bfb\u627e\uff0c\u53ef\u80fd\u7248\u672c\u4e0d\u4e00\u6837\uff0c\u6709\u4e9b\u5dee\u522b\uff09<br \/>\n\u7f16\u8f91\/etc\/fpc.cfg\u6587\u4ef6<br \/>\n\u5728# path to the gcclib\u5904\u6dfb\u52a0\u4ee5\u4e0b\u4ee3\u7801<\/p>\n<p>#ifdef cpui386<br \/>\n\u8fd9\u91cc\u653e32\u4f4d\u7684\u8def\u5f84\uff0c\u6ca1\u6709\u5c31\u6ca1\u5199<br \/>\n#endif<br \/>\n#ifdef cpux86_64<br \/>\n-Fl\/usr\/lib\/gcc\/x86_64-linux-gnu\/9<br \/>\n#endif<\/p>\n<p>\u6dfb\u52a0\u4ee3\u7801\u4fdd\u5b58\uff08root\u6743\u9650\uff09\u540e\uff0c\u518d\u7f16\u8bd1\u4ee3\u7801\uff0c\u53ef\u6b63\u5e38<br \/>\nwin+linux\u540c\u4ee3\u7801\u53ef\u7528\u3002<br \/>\n4. \u5728gui\u7a0b\u5e8f\u4e2d\u589e\u52a0\u547d\u4ee4\u884c\u8c03\u5ea6\u8f93\u51fa<br \/>\nWriteLn('XXXX ', XXX);<br \/>\nWrite('XXXXXX');<br \/>\n\u8981\u8f93\u51fa\u4ee5\u4e0a\u8bed\u53e5\u9700\u8981\u5728\u6587\u4ef6\u5934\u90e8\u589e\u52a0\u4e00\u4e2a\u9884\u7f16\u8bd1\u6307\u4ee4\uff1a<br \/>\n {$APPTYPE CONSOLE}<br \/>\n\u653e\u5728\u6700\u524d\u9762\uff0cunit Unit1 \u4e0b\u9762\uff08\u6216\u7c7b\u4f3c\u540d\u79f0\uff09<\/p>\n<p>Linux\u4e0b\u63d0\u793a\u7f3a\u5c11gdb\uff0c\u53ef\u4ee5\u76f4\u63a5\u5b89\u88c5\u5c31\u53ef\u4ee5<br \/>\nsudo apt-get install gdb<\/p>\n","protected":false},"excerpt":{"rendered":"<p>1. \u5b89\u88c5 \u5b98\u7f51\u4e0b\u8f7d\uff0c\u670932\u548c...<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[10],"tags":[64],"class_list":["post-514","post","type-post","status-publish","format-standard","hentry","category-develop","tag-lazarus"],"_links":{"self":[{"href":"https:\/\/www.ienter.com.cn\/blog\/wp-json\/wp\/v2\/posts\/514","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.ienter.com.cn\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ienter.com.cn\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ienter.com.cn\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ienter.com.cn\/blog\/wp-json\/wp\/v2\/comments?post=514"}],"version-history":[{"count":5,"href":"https:\/\/www.ienter.com.cn\/blog\/wp-json\/wp\/v2\/posts\/514\/revisions"}],"predecessor-version":[{"id":598,"href":"https:\/\/www.ienter.com.cn\/blog\/wp-json\/wp\/v2\/posts\/514\/revisions\/598"}],"wp:attachment":[{"href":"https:\/\/www.ienter.com.cn\/blog\/wp-json\/wp\/v2\/media?parent=514"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ienter.com.cn\/blog\/wp-json\/wp\/v2\/categories?post=514"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ienter.com.cn\/blog\/wp-json\/wp\/v2\/tags?post=514"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}