This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: A libgcc patch for gcc 3.0
- To: "H . J . Lu" <hjl at lucon dot org>
- Subject: Re: A libgcc patch for gcc 3.0
- From: Mark Kettenis <kettenis at science dot uva dot nl>
- Date: 23 Mar 2001 11:01:14 +0100
- Cc: GNU C Library <libc-alpha at sourceware dot cygnus dot com>
- References: <20010321143821.A28519@lucon.org>
"H . J . Lu" <hjl@lucon.org> writes:
> I am not sure if gcc 3.0 will do the right thing for glibc. Here is
> a patch. Basiscally, we treat libgcc_s.so as a system library. gcc
> will use libgcc_s.so only if it is available from system or gcc is
> configured with
>
> --enable-shared=libgcc/--enable-shared=gcc
>
> Any comments?
1. If you're "not sure if gcc 3.0 will do the right thing for glibc"
it would be a good idea to:
1. Check if it really doesn't.
2. Identify what's going wrong. And try to explain it to the rest
of us.
3. Try to come up with a fix.
Jumping straight to step 3 really isn't a good idea.
2. I think your patch introduces too much "black magic" in the GCC
configure process. I fail to understand why the things you're
doing are necessary. Apart from that, special-casing Linux should
only be done as a last resort. Since you fail to produce any
arguments why it's necessary, I don't think we should consider it
yet.
Mark