You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

103 satır
4.1KB

  1. <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
  2. <html>
  3. <!-- Copyright (C) 1991-2020 Free Software Foundation, Inc.
  4. Permission is granted to copy, distribute and/or modify this document
  5. under the terms of the GNU Free Documentation License, Version 1.3
  6. or any later version published by the Free Software Foundation;
  7. with no Invariant Sections, with no Front-Cover Texts, and with no
  8. Back-Cover Texts. A copy of the license is included in the
  9. section entitled "GNU Free Documentation License".
  10. -->
  11. <!-- Created by GNU Texinfo 6.5, http://www.gnu.org/software/texinfo/ -->
  12. <head>
  13. <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  14. <title>Architecture Selection (GNU Binary Utilities)</title>
  15. <meta name="description" content="Architecture Selection (GNU Binary Utilities)">
  16. <meta name="keywords" content="Architecture Selection (GNU Binary Utilities)">
  17. <meta name="resource-type" content="document">
  18. <meta name="distribution" content="global">
  19. <meta name="Generator" content="makeinfo">
  20. <link href="index.html#Top" rel="start" title="Top">
  21. <link href="Binutils-Index.html#Binutils-Index" rel="index" title="Binutils Index">
  22. <link href="index.html#SEC_Contents" rel="contents" title="Table of Contents">
  23. <link href="Selecting-the-Target-System.html#Selecting-the-Target-System" rel="up" title="Selecting the Target System">
  24. <link href="debuginfod.html#debuginfod" rel="next" title="debuginfod">
  25. <link href="Target-Selection.html#Target-Selection" rel="prev" title="Target Selection">
  26. <style type="text/css">
  27. <!--
  28. a.summary-letter {text-decoration: none}
  29. blockquote.indentedblock {margin-right: 0em}
  30. blockquote.smallindentedblock {margin-right: 0em; font-size: smaller}
  31. blockquote.smallquotation {font-size: smaller}
  32. div.display {margin-left: 3.2em}
  33. div.example {margin-left: 3.2em}
  34. div.lisp {margin-left: 3.2em}
  35. div.smalldisplay {margin-left: 3.2em}
  36. div.smallexample {margin-left: 3.2em}
  37. div.smalllisp {margin-left: 3.2em}
  38. kbd {font-style: oblique}
  39. pre.display {font-family: inherit}
  40. pre.format {font-family: inherit}
  41. pre.menu-comment {font-family: serif}
  42. pre.menu-preformatted {font-family: serif}
  43. pre.smalldisplay {font-family: inherit; font-size: smaller}
  44. pre.smallexample {font-size: smaller}
  45. pre.smallformat {font-family: inherit; font-size: smaller}
  46. pre.smalllisp {font-size: smaller}
  47. span.nolinebreak {white-space: nowrap}
  48. span.roman {font-family: initial; font-weight: normal}
  49. span.sansserif {font-family: sans-serif; font-weight: normal}
  50. ul.no-bullet {list-style: none}
  51. -->
  52. </style>
  53. </head>
  54. <body lang="en">
  55. <a name="Architecture-Selection"></a>
  56. <div class="header">
  57. <p>
  58. Previous: <a href="Target-Selection.html#Target-Selection" accesskey="p" rel="prev">Target Selection</a>, Up: <a href="Selecting-the-Target-System.html#Selecting-the-Target-System" accesskey="u" rel="up">Selecting the Target System</a> &nbsp; [<a href="index.html#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="Binutils-Index.html#Binutils-Index" title="Index" rel="index">Index</a>]</p>
  59. </div>
  60. <hr>
  61. <a name="Architecture-Selection-1"></a>
  62. <h3 class="section">17.2 Architecture Selection</h3>
  63. <p>An <em>architecture</em> is a type of <small>CPU</small> on which an object file is
  64. to run. Its name may contain a colon, separating the name of the
  65. processor family from the name of the particular <small>CPU</small>.
  66. </p>
  67. <p>The command to list valid architecture values is &lsquo;<samp>objdump -i</samp>&rsquo; (the
  68. second column contains the relevant information).
  69. </p>
  70. <p>Sample values: &lsquo;<samp>m68k:68020</samp>&rsquo;, &lsquo;<samp>mips:3000</samp>&rsquo;, &lsquo;<samp>sparc</samp>&rsquo;.
  71. </p>
  72. <a name="objdump-Architecture"></a>
  73. <h4 class="subheading"><code>objdump</code> Architecture</h4>
  74. <p>Ways to specify:
  75. </p>
  76. <ol>
  77. <li> command-line option: <samp>-m</samp> or <samp>--architecture</samp>
  78. </li><li> deduced from the input file
  79. </li></ol>
  80. <a name="objcopy_002c-nm_002c-size_002c-strings-Architecture"></a>
  81. <h4 class="subheading"><code>objcopy</code>, <code>nm</code>, <code>size</code>, <code>strings</code> Architecture</h4>
  82. <p>Ways to specify:
  83. </p>
  84. <ol>
  85. <li> deduced from the input file
  86. </li></ol>
  87. </body>
  88. </html>