This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [Boehm-GC] Minor configuration tweaks
- From: Alexandre Oliva <aoliva at redhat dot com>
- To: Roger Sayle <roger at eyesopen dot com>
- Cc: gcc-patches at gcc dot gnu dot org, Hans Boehm <hans_boehm at hp dot com>
- Date: 29 Jul 2003 16:14:18 -0300
- Subject: Re: [Boehm-GC] Minor configuration tweaks
- Organization: GCC Team, Red Hat
- References: <Pine.LNX.4.44.0307261805500.16443-100000@www.eyesopen.com>
On Jul 26, 2003, Roger Sayle <roger@eyesopen.com> wrote:
> Whilst testing this change on hppa2.0w-hp-hpux11.00, I notice a
> second minor problem, configure was leaking an error message that
> the gcc I was using as a host compiler didn't recognize the command
> line option -print-multi-os-directory.
But why is boehm-gc being configured with the host compiler? It
should only be compiled with GCC. Unless you're building it by
itself, separate from the unified build tree. In this case, it
deserves fixing, indeed, but the fix should be a bit better than this.
Other compilers might print error messages to stdout, and we should
try to avoid using this as multi_os_directory. I couldn't come up
with a nice way to test for that, though. Maybe test whether the
compiler is GCC first, and only issue this option if it is (along with
your patch to redirect error output to /dev/null), setting
multi_os_directory=. for non-print-multi-os-directory-capable GCC and
non-GCC?
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{redhat.com, gcc.gnu.org}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist Professional serial bug killer