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

81 lines
3.8 KiB
HTML

<html lang="en">
<head>
<title>TILE-Gx Options - Using the GNU Compiler Collection (GCC)</title>
<meta http-equiv="Content-Type" content="text/html">
<meta name="description" content="Using the GNU Compiler Collection (GCC)">
<meta name="generator" content="makeinfo 4.13">
<link title="Top" rel="start" href="index.html#Top">
<link rel="up" href="Submodel-Options.html#Submodel-Options" title="Submodel Options">
<link rel="prev" href="System-V-Options.html#System-V-Options" title="System V Options">
<link rel="next" href="TILEPro-Options.html#TILEPro-Options" title="TILEPro Options">
<link href="http://www.gnu.org/software/texinfo/" rel="generator-home" title="Texinfo Homepage">
<!--
Copyright (C) 1988-2015 Free Software Foundation, Inc.
Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU Free Documentation License, Version 1.3 or
any later version published by the Free Software Foundation; with the
Invariant Sections being ``Funding Free Software'', the Front-Cover
Texts being (a) (see below), and with the Back-Cover Texts being (b)
(see below). A copy of the license is included in the section entitled
``GNU Free Documentation License''.
(a) The FSF's Front-Cover Text is:
A GNU Manual
(b) The FSF's Back-Cover Text is:
You have freedom to copy and modify this GNU Manual, like GNU
software. Copies published by the Free Software Foundation raise
funds for GNU development.-->
<meta http-equiv="Content-Style-Type" content="text/css">
<style type="text/css"><!--
pre.display { font-family:inherit }
pre.format { font-family:inherit }
pre.smalldisplay { font-family:inherit; font-size:smaller }
pre.smallformat { font-family:inherit; font-size:smaller }
pre.smallexample { font-size:smaller }
pre.smalllisp { font-size:smaller }
span.sc { font-variant:small-caps }
span.roman { font-family:serif; font-weight:normal; }
span.sansserif { font-family:sans-serif; font-weight:normal; }
--></style>
</head>
<body>
<div class="node">
<a name="TILE-Gx-Options"></a>
<a name="TILE_002dGx-Options"></a>
<p>
Next:&nbsp;<a rel="next" accesskey="n" href="TILEPro-Options.html#TILEPro-Options">TILEPro Options</a>,
Previous:&nbsp;<a rel="previous" accesskey="p" href="System-V-Options.html#System-V-Options">System V Options</a>,
Up:&nbsp;<a rel="up" accesskey="u" href="Submodel-Options.html#Submodel-Options">Submodel Options</a>
<hr>
</div>
<h4 class="subsection">3.17.46 TILE-Gx Options</h4>
<p><a name="index-TILE_002dGx-options-2582"></a>
These &lsquo;<samp><span class="samp">-m</span></samp>&rsquo; options are supported on the TILE-Gx:
<dl>
<dt><code>-mcmodel=small</code><dd><a name="index-mcmodel_003dsmall-2583"></a>Generate code for the small model. The distance for direct calls is
limited to 500M in either direction. PC-relative addresses are 32
bits. Absolute addresses support the full address range.
<br><dt><code>-mcmodel=large</code><dd><a name="index-mcmodel_003dlarge-2584"></a>Generate code for the large model. There is no limitation on call
distance, pc-relative addresses, or absolute addresses.
<br><dt><code>-mcpu=</code><var>name</var><dd><a name="index-mcpu-2585"></a>Selects the type of CPU to be targeted. Currently the only supported
type is &lsquo;<samp><span class="samp">tilegx</span></samp>&rsquo;.
<br><dt><code>-m32</code><dt><code>-m64</code><dd><a name="index-m32-2586"></a><a name="index-m64-2587"></a>Generate code for a 32-bit or 64-bit environment. The 32-bit
environment sets int, long, and pointer to 32 bits. The 64-bit
environment sets int to 32 bits and long and pointer to 64 bits.
<br><dt><code>-mbig-endian</code><dt><code>-mlittle-endian</code><dd><a name="index-mbig_002dendian-2588"></a><a name="index-mlittle_002dendian-2589"></a>Generate code in big/little endian mode, respectively.
</dl>
</body></html>