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: Link tests after GCC_NO_EXECUTABLES


On Sat, 1 Dec 2007, Rask Ingemann Lambertsen wrote:

> On Sat, Dec 01, 2007 at 02:37:38PM +0100, Andreas Schwab wrote:
> >
> > Only variables subject to AC_SUBST are available in the generated
> > Makefile.  There is extra_host_args which includes --with-newlib, but
> > this is only passed to configure scripts in host directories (via
> > host_configargs), not target directories.
>
>    Thanks. I frequently configure using --with-newlib --without-newlib and
> configure gets it right, so I won't just grep the configure args for
> --with-newlib. Instead I use AC_SUBST to export with_newlib to the
> Makefile.

Does it work without --with-newlib, i.e. is it automatically
added and works with your change?

If not, passing --with-newlib didn't use to be a requirement,
and I don't think it should be, if it's an *-elf target and
newlib is in the tree.

Or at least let's make it target-dependent.

brgds, H-P


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