{"id":1128,"date":"2022-08-30T15:12:51","date_gmt":"2022-08-30T15:12:51","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2013\/11\/09\/ld-unknown-unsupported-architecture-name-for-arch-i686-error-when-installing-gcc-4-0-1-on-a-mac-with-darwin-12-1-0-collection-of-common-programming-errors\/"},"modified":"2022-08-30T15:12:51","modified_gmt":"2022-08-30T15:12:51","slug":"ld-unknown-unsupported-architecture-name-for-arch-i686-error-when-installing-gcc-4-0-1-on-a-mac-with-darwin-12-1-0-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2022\/08\/30\/ld-unknown-unsupported-architecture-name-for-arch-i686-error-when-installing-gcc-4-0-1-on-a-mac-with-darwin-12-1-0-collection-of-common-programming-errors\/","title":{"rendered":"&ldquo;ld: unknown\/unsupported architecture name for: -arch i686&rdquo; error when installing gcc-4.0.1 on a mac with Darwin 12.1.0-Collection of common programming errors"},"content":{"rendered":"<p>I am trying to install gcc-4.0.1 on a mac with Darwin 12.1.0 . I did the configuration with <code>.\/configure --prefix=\/usr\/local\/gcc-4.0.1 --enable-languages=c,c++<\/code> . It gives me the following error message when I run make.<\/p>\n<pre><code>...\nln -s libgcc_s.1.0.dylib .\/libgcc_s.dylib\nld: unknown\/unsupported architecture name for: -arch i686\n\/usr\/bin\/libtool: internal link edit command failed\nmake[2]: *** [libgcc_s.dylib] Error 1\nmake[1]: *** [libgcc.a] Error 2\nmake: *** [all-gcc] Error 2\n<\/code><\/pre>\n<p>I have searched quite a while online, but I couldn&#8217;t find a solution that works well. If you encountered similar situations before or have any suggestions, please leave a response below. Thanks in advance!<\/p>\n<p id=\"rop\"><small>Originally posted 2013-11-09 23:30:58. <\/small><\/p>","protected":false},"excerpt":{"rendered":"<p>I am trying to install gcc-4.0.1 on a mac with Darwin 12.1.0 . I did the configuration with .\/configure &#8211;prefix=\/usr\/local\/gcc-4.0.1 &#8211;enable-languages=c,c++ . It gives me the following error message when I run make. &#8230; ln -s libgcc_s.1.0.dylib .\/libgcc_s.dylib ld: unknown\/unsupported architecture name for: -arch i686 \/usr\/bin\/libtool: internal link edit command failed make[2]: *** [libgcc_s.dylib] Error [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-1128","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/1128","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=1128"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/1128\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=1128"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=1128"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=1128"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}