This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Ada rts fails to build on ppc64?
- From: Laurent GUERBY <laurent at guerby dot net>
- To: Jack Howarth <howarth at bromo dot msbb dot uc dot edu>, Joel Sherrill <joel at OARcorp dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: Mon, 17 Sep 2007 22:39:17 +0200
- Subject: Re: Ada rts fails to build on ppc64?
- References: <20070917202019.GA9866@bromo.msbb.uc.edu>
This is for Joel :).
I know nothing about autoconf, near to nothing about Makefile
and I don't even know what multilib are for (I never found any
documentation about them :).
Laurent
On Mon, 2007-09-17 at 16:20 -0400, Jack Howarth wrote:
> Laurent,
> I would suggest you start over using the libgfortran as your
> example. Geoffrey Keating created the config/multi.m4 file which
> dramatically simplified how the multilib could be implemented.
> If I recall correctly from when I helped clean up some of
> the residual multilib problems (so they used multi.m4), you
> just need in configure.ac...
>
> AM_ENABLE_MULTILIB(, ..)
>
> ...and for the 'Calculate toolexeclibdir' section...
>
> toolexeclibdir='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
>
> ...and...
>
> if test ${multilib} = yes; then
> multilib_arg="--enable-multilib"
> else
> multilib_arg=
> fi
>
> ...before you write your Makefile in configure.ac. You might also
> need the lines for multi_os_directory as well. When you regenerate
> the aclocal.m4 or configure don't forget to use '-I ../config' for
> autoconf so that it can find the multi.m4 in the top level config
> directory.
> Jack
>
>