This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PATCH [1/n] X32: Add initial -x32 support


On Wed, Jul 6, 2011 at 4:48 PM, H.J. Lu <hjl.tools@gmail.com> wrote:
> Hi Paolo, DJ, Nathanael, Alexandre, Ralf,
>
> Is the change
> .
> ? ? ? ?* configure.ac: Support --enable-x32.
> ? ? ? ?* configure: Regenerated.
>
> diff --git a/gcc/configure.ac b/gcc/configure.ac
> index 5f3641b..bddabeb 100644
> --- a/gcc/configure.ac
> +++ b/gcc/configure.ac
> @@ -611,6 +611,11 @@ AC_ARG_ENABLE(multilib,
> ?[], [enable_multilib=yes])
> ?AC_SUBST(enable_multilib)
>
> +# With x32 support
> +AC_ARG_ENABLE(x32,
> +[ ?--enable-x32 ? ? ? ? ? ?enable x32 library support for multiple ABIs],

Looks like a very very generic switch for a global configury ... we already
have --with-multilib-list (SH only), why not extend that to also work
for x86_64?

Richard.

> +[], [enable_x32=no])
> +
> ?# Enable __cxa_atexit for C++.
> ?AC_ARG_ENABLE(__cxa_atexit,
> ?[AS_HELP_STRING([--enable-__cxa_atexit], [enable __cxa_atexit for C++])],
>
> OK?
>
> Thanks.
>
> --
> H.J.
> ---
>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]