No subject


Fri Oct 23 15:07:09 PDT 2015


x86-64 C/C++ compiler predefines macro__LP64__ while x32 C/C++ compiler
predefines macro __ILP32__.

--001a11c233d24c5ef505280f90c9
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<p dir=3D"ltr"><br>
Le=C2=A029 d=C3=A9c. 2015 20:31, &quot;Erik de Castro Lopo&quot; &lt;<a hre=
f=3D"mailto:mle%2Bla at mega-nerd.com">mle+la at mega-nerd.com</a>&gt; a =C3=A9cr=
it=C2=A0:<br>
&gt;<br>
&gt; Rafa=C3=ABl Carr=C3=A9 wrote:<br>
&gt;<br>
&gt; &gt; That would need a special case for Linux x32 which is x86_64 with=
 32<br>
&gt; &gt; bits pointers<br>
&gt;<br>
&gt; It won&#39;t be wrong for x32, just sub-optimal.<br>
&gt;<br>
&gt; Please feel free to suggest a way to detect x32.</p>
<p dir=3D"ltr">From <a href=3D"https://sourceware.org/glibc/wiki/x32">https=
://sourceware.org/glibc/wiki/x32</a></p>
<p dir=3D"ltr">x86-64 C/C++ compiler predefines macro<tt>__LP64__</tt>=C2=
=A0while x32 C/C++ compiler predefines macro=C2=A0<tt>__ILP32__</tt>.</p>

--001a11c233d24c5ef505280f90c9--


More information about the flac-dev mailing list