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