{"id":169,"date":"1997-09-09T01:36:29","date_gmt":"1997-09-09T09:36:29","guid":{"rendered":"http:\/\/www.birdhouse.org\/betips\/?p=169"},"modified":"1997-09-09T01:36:29","modified_gmt":"1997-09-09T09:36:29","slug":"compiling-unix-utils","status":"publish","type":"post","link":"https:\/\/www.betips.net\/?p=169","title":{"rendered":"Compiling Unix utils"},"content":{"rendered":"<p>Ever download an archive full of code, follow the instructions to type &#8222;make&#8220; at the command line&#8230; and get absolutely nowhere? It may be because the OS referred to in the Makefile is referencing a target OS other than BeOS, or because its referencing the wrong compiler for your platform.<br \/>\nLook in the same directory for a file called &#8222;Makefile.&#8220; Open the Makefile in a text editor and look for lines near the top that look like this:<\/p>\n<pre>\nCC = gcc\nOS = UNIX\n<\/pre>\n<p>These lines may not be right next to each other, but they should both be near the top somewhere. Edit them so they reference the right operating system and compiler instead:<br \/>\n<code><br \/>\nCC = cc<br \/>\nOS = BEOS<br \/>\n<\/code><br \/>\nOn BeOS\/x86, either <code>cc<\/code> or <code>gcc<\/code> should work on the compiler  line. If you&#8217;re using BeOS\/PowerPC, you may need to change this to<br \/>\n <code>mwcc<\/code>.<br \/>\nSave the file and run &#8222;make&#8220; again &#8212; you should be golden.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Ever download an archive full of code, follow the instructions to type &#8222;make&#8220; at the command line&#8230; and get absolutely nowhere? It may be because the OS referred to in the Makefile is referencing a target OS other than BeOS, or because its referencing the wrong compiler for your platform. Look in the same directory [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[8],"class_list":["post-169","post","type-post","status-publish","format-standard","hentry","tag-misc"],"_links":{"self":[{"href":"https:\/\/www.betips.net\/index.php?rest_route=\/wp\/v2\/posts\/169","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.betips.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.betips.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.betips.net\/index.php?rest_route=\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.betips.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=169"}],"version-history":[{"count":0,"href":"https:\/\/www.betips.net\/index.php?rest_route=\/wp\/v2\/posts\/169\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.betips.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=169"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.betips.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=169"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.betips.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=169"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}