{"id":268,"date":"2012-03-26T01:39:57","date_gmt":"2012-03-25T17:39:57","guid":{"rendered":"http:\/\/newbiecoder.0ginr.com\/blog\/?p=268"},"modified":"2012-04-30T22:36:13","modified_gmt":"2012-04-30T14:36:13","slug":"%e7%bc%96%e8%af%91gcc-4-7-0","status":"publish","type":"post","link":"https:\/\/newbiecoder.0ginr.com\/blog\/?p=268","title":{"rendered":"\u7f16\u8bd1 GCC 4.7.0"},"content":{"rendered":"<p><strong>[\u6587\u4ef6\u5934]<\/strong><\/p>\n<p>GCC 4.7.0\u6e90\u4ee3\u7801\uff1a<a href=\"ftp:\/\/gcc.gnu.org\/pub\/gcc\/releases\/\">ftp:\/\/gcc.gnu.org\/pub\/gcc\/releases\/<\/a>\u3002<br \/>\n\u7f16\u8bd1\u73af\u5883\uff1aMinGW 4.6.2\uff08\u5b8c\u5168\u5b89\u88c5\uff09\uff1a<a href=\"http:\/\/sourceforge.net\/projects\/mingw\/\">http:\/\/sourceforge.net\/projects\/mingw\/<\/a>\u3002<br \/>\n\u5b89\u88c5\u540e\u4f7f\u7528%MinGW%\\msys\\1.0\\msys.bat\u73af\u5883\u7f16\u8bd1\u3002<br \/>\n\u6574\u4e2a\u8fc7\u7a0b\u9700\u8981\u5927\u7ea64G\u7684\u53ef\u7528\u78c1\u76d8\u7a7a\u95f4\u3002<\/p>\n<p><strong>[\u73af\u5883\u914d\u7f6e]<\/strong><\/p>\n<p>\u65b0\u5efa\/mingw470\u3001\/mingwlibs\uff0c\u5176\u4e2d\/mingw470\u662f\u5b58\u653e\u6211\u4eec\u65b0\u751f\u6210\u7684MinGW\uff0c\/mingwlibs\u662f\u4e00\u4e9bGCC\u4f9d\u8d56\u7684dll\u7b49\u3002<\/p>\n<p>\u4fee\u6539etc\/profile\uff0c\u5c06<br \/>\n<pre><code class=\"preserve-code-formatting\">if [ $MSYSTEM == MINGW32 ]; then\n  export PATH=&quot;.:\/usr\/local\/bin:\/mingw\/bin:\/bin:$PATH&quot;\nelse\n  export PATH=&quot;.:\/usr\/local\/bin:\/bin:\/mingw\/bin:$PATH&quot;\nfi<\/code><\/pre>\u4fee\u6539\u4e3a<pre><code class=\"preserve-code-formatting\">if [ $MSYSTEM == MINGW32 ]; then\n  export PATH=&quot;.:\/mingwlibs\/bin:\/mingw470\/bin:\/usr\/local\/bin:\/mingw\/bin:\/bin:$PATH&quot;\nelse\n  export PATH=&quot;.:\/mingwlibs\/bin:\/mingw470\/bin:\/usr\/local\/bin:\/bin:\/mingw\/bin:$PATH&quot;\nfi<\/code><\/pre><\/p>\n<p>\u8fd9\u513f\u6211\u4eec\u628a\u6211\u4eec\u81ea\u5df1\u7684bin\u76ee\u5f55\u4eec\u653e\u5728\u4e86\u7cfb\u7edf\uff08\u4ee5\u53caMinGW\uff09\u7684bin\u76ee\u5f55\u524d\u9762\uff0c\u8fd9\u4e2a\u4e3b\u8981\u662f\u56e0\u4e3a\u6211\u4eec\u7684bin\u76ee\u5f55\u4f1a\u5305\u62ec\u65b0\u751f\u6210\u7684\u4e00\u4e9bdll\uff0c\u67d0\u4e9bdll\uff08\u6bd4\u5982gmp\u7684\uff09\u4f1a\u8ddf\u7cfb\u7edf\uff08\u6216MinGW\uff09\u81ea\u5e26\u7684dll\u51b2\u7a81\uff0c\u8fd9\u79cd\u60c5\u51b5\u4e0b\u6211\u4eec\u9700\u8981\u4f7f\u7528\u6211\u4eec\u65b0\u751f\u6210\u7684dll\uff0c\u6240\u4ee5\u8981\u628a\u6211\u4eec\u7684bin\u653e\u5728\u7cfb\u7edf\u7684bin\u4e4b\u524d\u3002<\/p>\n<p>\u5728\/etc\/profile\u6700\u540e\u7684cd &#8220;$HOME&#8221;\u4e4b\u524d\u52a0\u4e0a\u4ee5\u4e0b\u5185\u5bb9\u3002<\/p>\n<p><pre><code class=\"preserve-code-formatting\">export CFLAGS=&quot;-O2 -fomit-frame-pointer -fno-exceptions -I\/mingw470\/include&quot;\nexport CXXFLAGS=&quot;-O2 -fomit-frame-pointer -mthreads -m128bit-long-double -I\/mingw470\/include&quot;\nexport LDFLAGS=&quot;-s -L\/mingw470\/lib&quot;<\/code><\/pre><\/p>\n<p>\u8fd9\u4e2a\u662f\u7f16\u8bd1\u5668\u4eec\u7684\u53c2\u6570\uff0c\u4e3b\u8981\u662f\u4f18\u5316\u7f16\u8bd1\u7ed3\u679c\u3001\u5305\u542b\u7684\u5934\u6587\u4ef6\u548c\u5e93\u4e4b\u7c7b\u7684\u3002<\/p>\n<p><strong>[\u7f16\u8bd1\u4f9d\u8d56\u9879]<\/strong><\/p>\n<p>\u4e0b\u8f7d\u4ee5\u4e0b\u5e93\u5e76\u89e3\u538b\u5230\/home\/$UserName\uff08$UserName\u4e3a\u5f53\u524d\u767b\u9646\u7684\u7528\u6237\u540d\uff0c\u5373\u7528\u6237\u4e3b\u76ee\u5f55\uff0c\u5982\u679c\u627e\u4e0d\u5230\/home\/$UserName\uff0c\u8bf7\u5148\u8fd0\u884cmsys.bat\uff0c\u4f1a\u81ea\u52a8\u521b\u5efa\/home\/$UserName\u3002\uff09\uff0c\u8fd9\u4e9b\u5e93\u662fGCC\u7684\u4f9d\u8d56\u9879\u3002<\/p>\n<ul>\n<li>gmp\uff1a\u7248\u672c5.0.4\uff0c<a href=\"http:\/\/gmplib.org\/\">http:\/\/gmplib.org\/<\/a>\u3002<\/li>\n<li>mpfr\uff1a\u7248\u672c3.1.0\uff0c<a href=\"http:\/\/www.mpfr.org\/mpfr-current\/#download\">http:\/\/www.mpfr.org\/mpfr-current\/#download<\/a>\u3002<\/li>\n<li>mpc\uff1a\u7248\u672c0.8.2\uff0c<a href=\"httphttp:\/\/www.multiprecision.org\/index.php?prog=mpc&#038;page=download\">http:\/\/www.multiprecision.org\/index.php?prog=mpc&#038;page=download<\/a>\u3002<\/li>\n<\/ul>\n<p>\u4f9d\u6b21\u7f16\u8bd1\uff08\u5e76\u5b89\u88c5\uff0c\u4e0b\u540c\uff09gmp\u3001mpfr\u3001mpc\uff0c\u5176\u4e2dmpfr\u4f9d\u8d56\u4e8egmp\uff0cmpc\u4f9d\u8d56\u4e8empfr\u3002<\/p>\n<ul>\n<li><i>\u7f16\u8bd1\uff08\u786e\u5207\u6765\u8bf4\u662f\u914d\u7f6e\uff09mpc\u65f6\u53ef\u80fd\u4f1a\u63d0\u793a\u627e\u4e0d\u5230GMP\u6216\u8005ABI\u4e0d\u5339\u914d\uff0c\u8fd9\u662fmpc\u81ea\u5e26\u7684configure\u8ddfGCC\u7684\u4e0d\u517c\u5bb9\u5bfc\u81f4\u7684\uff08\u53ef\u80fd\u662fmpc\u7684configure\u5199\u7684\u4e0d\u89c4\u8303\u3002\uff09\uff0c\u53c2\u8003<a href=\"https:\/\/newbiecoder.0ginr.com\/blog\/?p=245\">https:\/\/newbiecoder.0ginr.com\/blog\/?p=245<\/a>\u3002<\/i><\/li>\n<li><i>gmp\u5728make install\u4e4b\u540e\u8fd8\u53ef\u4ee5make check\u4e00\u4e0b\u3002\uff08\u6309\u7167gmp\u7684\u63d0\u793a\u662f\u8bf4\u7f16\u8bd1\u5668\u53ef\u80fd\u4f1a\u6709BUG\uff0ccheck\u53ef\u4ee5\u9a8c\u8bc1\u4e00\u4e0b\u7f16\u8bd1\u7ed3\u679c\u7684\u6b63\u786e\u6027\u3002\uff09<\/i><\/li>\n<\/ul>\n<p>gmp<br \/>\n<code class=\"preserve-code-formatting\">configure --enable-shared --disable-static --enable-cxx --prefix=\/mingwlibs --host=i686-pc-mingw32 &amp;&amp; make &amp;&amp; make install<\/code><\/p>\n<p>mpfr<br \/>\n<code class=\"preserve-code-formatting\">configure --enable-shared --disable-static --with-gmp=\/mingwlibs --prefix=\/mingwlibs --host=i686-pc-mingw32 &amp;&amp; make &amp;&amp; make install<\/code><\/p>\n<p>mpc<br \/>\n<code class=\"preserve-code-formatting\">configure --enable-shared --disable-static --with-gmp=\/mingwlibs --with-mpfr=\/mingwlibs --prefix=\/mingwlibs --host=i686-pc-mingw32 &amp;&amp; make &amp;&amp; make install<\/code><\/p>\n<p>\u5728\u4e0a\u97623\u4e2a\u5e93\u5168\u90e8\u7f16\u8bd1\u5b8c\u6210\u540e\uff0c\u5c31\u53ef\u4ee5\u7f16\u8bd1GCC\u4e86\u3002<\/p>\n<p><strong>[\u7f16\u8bd1GCC]<\/strong><\/p>\n<p>\u5728\u7f16\u8bd1GCC\u4e4b\u524d\uff0c\u9700\u8981\u4fee\u6539\/mingwlibs\/include\/mpc.h\uff0c\u5728\u884c#131\u4e4b\u524d\u6dfb\u52a0\uff1a<\/p>\n<p><pre><code class=\"preserve-code-formatting\">#undef __MPC_DECLSPEC\n#define __MPC_DECLSPEC extern<\/code><\/pre><\/p>\n<p>\u5426\u5219\u53ef\u80fd\u4f1a\u63d0\u793agmp\/mpfr\/mpc\u7248\u672c\u4e0d\u6b63\u786e\u3002\u5b9e\u9645\u4e0a\u662fmpc.h\u4e2d__MPC_DECLSPEC\u7684\u5b9a\u4e49\u6709\u95ee\u9898\uff08\u597d\u50cf\u5b9a\u4e49\u6210\u4e86dllimport\uff0c\u4f46\u662fmpc\u7684.a\u6587\u4ef6\u8ddf\u8fd9\u4e2a.h\u5bf9\u4e0d\u4e0a\u3002\uff09\uff0c\u8fd9\u53ef\u80fd\u662fmpc\u7684\u4e00\u4e2aBUG\u3002<\/p>\n<p>\u7136\u540e\u5c06gcc\u89e3\u538b\u5230\/home\/$UserName\u5e76\u7f16\u8bd1\u3002<\/p>\n<ul>\n<li><i>\u5982\u679c\u53ea\u9700\u8981C\/C++\u7f16\u8bd1\u5668\u53ef\u4ee5\u589e\u52a0\u53c2\u6570\u201c&#8211;enable-languages=c,c++\u201d\u3002<\/i><\/li>\n<li><i>GCC\u7f16\u8bd1\u8fc7\u7a0b\u4e2d\u52063\u4e2a\u9636\u6bb5\u3002\u7b2c\u4e00\u9636\u6bb5\u662f\u7528\u5f53\u524d\u7cfb\u7edf\u4e2d\u7684\u7f16\u8bd1\u5668\uff08\u901a\u5e38\u662f\u8001\u7248\u672cGCC\uff09\u7f16\u8bd1\u65b0\u7684GCC\uff0c\u7b2c\u4e8c\u9636\u6bb5\u662f\u7528\u65b0\u7f16\u8bd1\u51fa\u6765\u7684GCC\u518d\u7f16\u8bd1\u4e00\u6b21\u81ea\u5df1\uff0c\u8fd9\u65f6\u5019\u5982\u679c\u4e0d\u5b58\u5728BUG\u7684\u8bdd\uff0c\u4ea7\u751f\u51fa\u6765\u7684\u7ed3\u679c\u5c31\u5e94\u8be5\u662f\u6700\u7ec8\u7ed3\u679c\u4e86\uff0c\u7b2c\u4e09\u9636\u6bb5\u662f\u7b2c\u4e8c\u9636\u6bb5\u4ea7\u751f\u7684GCC\u518d\u7f16\u8bd1\u81ea\u5df1\uff0c\u8fd9\u6b21\u7684\u7ed3\u679c\u662f\u7528\u6765\u548c\u7b2c\u4e8c\u9636\u6bb5\u7684\u7ed3\u679c\u5bf9\u6bd4\u7684\uff0c\u6765\u9a8c\u8bc1\u7f16\u8bd1\u7ed3\u679c\u7684\u6b63\u786e\u6027\u7684\uff0c\u5982\u679c\u4e0d\u60f3\u8981\u8fd9\u4e2a\u9a8c\u8bc1\uff0c\u53ef\u4ee5\u589e\u52a0\u53c2\u6570\u201c&#8211;disable-bootstrap\u201d\u6765\u5173\u95ed\u5b83\uff0c\u8fd9\u6837\u53ef\u4ee5\u5feb\u4e0d\u5c11\u3002<\/i><\/li>\n<\/ul>\n<p>gcc<br \/>\n<code class=\"preserve-code-formatting\">configure --enable-nls --enable-shared --enable-static --enable-libgomp --enable-version-specific-runtime-libs --enable-lto --enable-threads=win32 --enable-cloog-backend=isl --disable-win32-registry --disable-sjlj-exceptions --disable-libstdcxx-pch --with-dwarf2 --with-mpc=\/mingwlibs --with-mpfr=\/mingwlibs --with-gmp=\/mingwlibs --without-x --prefix=\/mingw470 --host=i686-pc-mingw32 &amp;&amp; make &amp;&amp; make install<\/code><\/p>\n<p><strong>[\u5b89\u88c5\u8f85\u52a9\u5e93]<\/strong><\/p>\n<p>\u4eceMinGW\u5904\u4e0b\u8f7dw32api\uff083.17\uff09\u3001mingw-rt\uff083.20\uff09\u3001libiconv\uff081.14\uff09\u3001pthreads-w32\uff082.8.0\uff09\u3001binutils\uff082.22\uff0c\u6e90\u4ee3\u7801\uff09\u3001libintl\uff080.18.1.1\uff0c\u4f4d\u4e8e\u4e0b\u8f7d\u7f51\u9875\u4e2d\u7684gettext\u76ee\u5f55\u4e0b\uff09\uff1a<a href=\"http:\/\/sourceforge.net\/projects\/mingw\/files\/MinGW\/Base\/\">http:\/\/sourceforge.net\/projects\/mingw\/files\/MinGW\/Base\/<\/a>\uff0c\u8fd9\u4e9b\u5e93\uff08\u53ca\u4ee3\u7801\u7b49\uff09\u7528\u4e8e\u5e2e\u52a9\u6784\u9020\u5b8c\u6574\u7684\u6700\u7ec8\u7f16\u8bd1\u73af\u5883\u3002<\/p>\n<p>\u5c06w32api\u3001mingw-rt\u3001libiconv\u3001pthreads-w32\u3001libintl\u89e3\u538b\u5230\/mingw470\u3002<\/p>\n<ul>\n<li><i>\u5b98\u65b9\u7248\u53d1\u5e03\u7684\u4e8c\u8fdb\u5236\u7248\u672c\u7684binutils\u662f\u9759\u6001\u94fe\u63a5gmp\/mpfr\/mpc\u7684\uff0c\u4e3a\u4f7f\u5176\u52a8\u6001\u94fe\u63a5\uff0c\u9700\u8981\u4e0b\u8f7d\u5176\u6e90\u4ee3\u7801\uff0c\u7136\u540e\u89e3\u538b\u5230\/home\/$UserName\u5e76\u7f16\u8bd1\u3002\u5982\u679c\u4e0d\u60f3\u81ea\u884c\u7f16\u8bd1\u4e5f\u53ef\u4ee5\u76f4\u63a5\u4e0b\u8f7d\u5b98\u65b9\u53d1\u5e03\u7684\u4e8c\u8fdb\u5236\u7248\u672c\u7684binutils\u7136\u540e\u89e3\u538b\u5230\/mingw470\u3002<\/i><\/li>\n<\/ul>\n<p>binutils<br \/>\n<code class=\"preserve-code-formatting\">configure --enable-shared --disable-static --with-cloog-backend=isl --enable-nls --with-mpc=\/mingwlibs --with-mpfr=\/mingwlibs --with-gmp=\/mingwlibs --prefix=\/mingw470 --host=i686-pc-mingw32 &amp;&amp; make &amp;&amp; make install<\/code><\/p>\n<p>\u5f85\u7f16\u8bd1\u5b8c\u6210\u540e\u5373\u53ef\u5173\u95edmsys\u3002<\/p>\n<p><strong>[\u5408\u5e76]<\/strong><\/p>\n<p>\u5c06\/mingwlibs\/bin\u4e0b\u7684\u6240\u6709\u6587\u4ef6\u590d\u5236\u5230\/mingw470\/bin\u5373\u53ef\u3002<\/p>\n<p><strong>[\u5220\u9664\u8c03\u8bd5\u4fe1\u606f]<\/strong><\/p>\n<p>\u7f16\u8bd1\u5b8c\u6210\u540e\u53ef\u80fd\u4f1a\u53d1\u73b0\u6587\u4ef6\u90fd\u975e\u5e38\u5927\uff08\u6bd4\u5982\/mingw470\/libexec\/gcc\/i686-pc-mingw32\/4.7.0\/cc1.exe\u5c31\u670970M\u3002\uff09\uff0c\u8fd9\u662f\u56e0\u4e3a\u5176\u4e2d\u5305\u542b\u4e86\u8c03\u8bd5\u4fe1\u606f\u7b49\u4fe1\u606f\uff0c\u4f7f\u7528strip\u5de5\u5177\u53ef\u4ee5\u5c06\u8fd9\u4e9b\u4fe1\u606f\u5220\u9664\u6389\u3002<\/p>\n<p>\u5c06\/mingw470\u4e0b\u7684\u6240\u6709\u6587\u4ef6\u590d\u5236\u5230\u65b0\u76ee\u5f55\uff08\u6bd4\u5982F:\\MinGW32_470\u3002\uff09\uff0c\u5c06\/mingwlibs\/bin\u4e0b\u7684\u6240\u6709\u6587\u4ef6\u590d\u5236\u5230\u65b0\u76ee\u5f55\u4e0b\u7684\\bin\uff08\u6bd4\u5982F:\\MinGW32_470\\bin\uff09\u3002<\/p>\n<p>\u6253\u5f00\u547d\u4ee4\u63d0\u793a\u7b26\uff0c\u8fdb\u5165\u8fd9\u4e2a\u76ee\u5f55\uff0c\u6267\u884c\u4ee5\u4e0b\u547d\u4ee4\u3002<\/p>\n<p><pre><code class=\"preserve-code-formatting\">copy bin\\strip.exe strip.exe\nset path=.\\bin;%path%\nfor \/r %f in (*.exe, *.dll) do strip.exe --strip-all %f\nfor \/r %f in (*.a) do strip.exe --strip-debug --strip-unneeded %f\ndel strip.exe<\/code><\/pre><\/p>\n<p><strong>[\u5176\u4ed6]<\/strong><\/p>\n<p>\u5982\u679c\u9700\u8981\u4e00\u4e2a\u6279\u5904\u7406\u6765\u8bbe\u7f6e\u73af\u5883\u53d8\u91cf\u7684\u8bdd\uff0c\u76f4\u63a5\u7528TDM-GCC\u5e26\u7684mingwvars.bat\u5373\u53ef\u3002<\/p>\n<p><pre><code class=\"preserve-code-formatting\">@echo.\n@echo Setting up environment for using MinGW with GCC from %~dp0.\n@set PATH=%~dp0bin;%PATH%<\/code><\/pre><\/p>\n<p>\u53e6\u5916\uff0c\u867d\u7136\u8f85\u52a9\u5e93\u662fGCC 4.7.0\u7f16\u8bd1\u51fa\u6765\u7684\uff0c\u4f46\u662f\u4e4b\u524d\u7684gmp\u7b49\u5e93\u90fd\u662f\u7531GCC 4.6.2\u7f16\u8bd1\u7684\uff0c\u5982\u679c\u6709\u5fc5\u8981\u7684\u8bdd\u53ef\u4ee5\u73b0\u5728\u7528GCC 4.7.0\u4ece\u5934\u518d\u6765\u4e00\u6b21\uff0c\u4e0d\u8fc7\u53ea\u9700\u8981\u7f16\u8bd1\u8fd9\u4e9b\u4f9d\u8d56\u9879\uff0c\u4e0d\u9700\u8981\u518d\u7f16\u8bd1GCC\u672c\u8eab\u3002<\/p>\n<p><strong>[\u53c2\u8003]<\/strong><\/p>\n<p>[1] <a href=\"http:\/\/gcc.gnu.org\/install\/prerequisites.html\">http:\/\/gcc.gnu.org\/install\/prerequisites.html<\/a><br \/>\n[2] <a href=\"http:\/\/www.aristeia.com\/Misc\/gcc4ForWindows.html\">http:\/\/www.aristeia.com\/Misc\/gcc4ForWindows.html<\/a><br \/>\n[3] <a href=\"http:\/\/blogs.ejb.cc\/archives\/1339\/use-mingw64-compile-gcc-4-6-and-4-7\">http:\/\/blogs.ejb.cc\/archives\/1339\/use-mingw64-compile-gcc-4-6-and-4-7<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>[\u6587\u4ef6\u5934] GCC 4.7.0\u6e90\u4ee3\u7801\uff1aftp:\/\/gcc.gnu.org\/pub\/gcc\/releases\/\u3002 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-268","post","type-post","status-publish","format-standard","hentry","category-1"],"_links":{"self":[{"href":"https:\/\/newbiecoder.0ginr.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/268","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/newbiecoder.0ginr.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/newbiecoder.0ginr.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/newbiecoder.0ginr.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/newbiecoder.0ginr.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=268"}],"version-history":[{"count":108,"href":"https:\/\/newbiecoder.0ginr.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/268\/revisions"}],"predecessor-version":[{"id":382,"href":"https:\/\/newbiecoder.0ginr.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/268\/revisions\/382"}],"wp:attachment":[{"href":"https:\/\/newbiecoder.0ginr.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=268"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/newbiecoder.0ginr.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=268"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/newbiecoder.0ginr.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=268"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}