Architecture-Selection.html 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  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-2017 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 5.2, http://www.gnu.org/software/texinfo/ -->
  12. <head>
  13. <title>GNU Binary Utilities: Architecture Selection</title>
  14. <meta name="description" content="GNU Binary Utilities: Architecture Selection">
  15. <meta name="keywords" content="GNU Binary Utilities: Architecture Selection">
  16. <meta name="resource-type" content="document">
  17. <meta name="distribution" content="global">
  18. <meta name="Generator" content="makeinfo">
  19. <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  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="Reporting-Bugs.html#Reporting-Bugs" rel="next" title="Reporting Bugs">
  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.smallquotation {font-size: smaller}
  30. div.display {margin-left: 3.2em}
  31. div.example {margin-left: 3.2em}
  32. div.indentedblock {margin-left: 3.2em}
  33. div.lisp {margin-left: 3.2em}
  34. div.smalldisplay {margin-left: 3.2em}
  35. div.smallexample {margin-left: 3.2em}
  36. div.smallindentedblock {margin-left: 3.2em; font-size: smaller}
  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.nocodebreak {white-space:nowrap}
  48. span.nolinebreak {white-space:nowrap}
  49. span.roman {font-family:serif; font-weight:normal}
  50. span.sansserif {font-family:sans-serif; font-weight:normal}
  51. ul.no-bullet {list-style: none}
  52. -->
  53. </style>
  54. </head>
  55. <body lang="en" bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#800080" alink="#FF0000">
  56. <a name="Architecture-Selection"></a>
  57. <div class="header">
  58. <p>
  59. 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>
  60. </div>
  61. <hr>
  62. <a name="Architecture-Selection-1"></a>
  63. <h3 class="section">18.2 Architecture Selection</h3>
  64. <p>An <em>architecture</em> is a type of <small>CPU</small> on which an object file is
  65. to run. Its name may contain a colon, separating the name of the
  66. processor family from the name of the particular <small>CPU</small>.
  67. </p>
  68. <p>The command to list valid architecture values is &lsquo;<samp>objdump -i</samp>&rsquo; (the
  69. second column contains the relevant information).
  70. </p>
  71. <p>Sample values: &lsquo;<samp>m68k:68020</samp>&rsquo;, &lsquo;<samp>mips:3000</samp>&rsquo;, &lsquo;<samp>sparc</samp>&rsquo;.
  72. </p>
  73. <a name="objdump-Architecture"></a>
  74. <h4 class="subheading"><code>objdump</code> Architecture</h4>
  75. <p>Ways to specify:
  76. </p>
  77. <ol>
  78. <li> command line option: <samp>-m</samp> or <samp>--architecture</samp>
  79. </li><li> deduced from the input file
  80. </li></ol>
  81. <a name="objcopy_002c-nm_002c-size_002c-strings-Architecture"></a>
  82. <h4 class="subheading"><code>objcopy</code>, <code>nm</code>, <code>size</code>, <code>strings</code> Architecture</h4>
  83. <p>Ways to specify:
  84. </p>
  85. <ol>
  86. <li> deduced from the input file
  87. </li></ol>
  88. </body>
  89. </html>