[PATCH] Determine libgcc_s version

Ulrich Drepper drepper@redhat.com
Mon Sep 21 14:57:00 GMT 2009


On 09/20/2009 04:45 AM, Andreas Schwab wrote:
> Add configure test to determine the version of the libgcc_s library and
> use that instead of hardcoding libgcc_s.so.1.

I think we need a second header file or just an internal wrapper around 
gnu/lib-names.h.

There are two problems:

- on bi-arch systems, you'd have to check the version of both 
architectures (e.g., on x86-64 the x86 is currently assumed to be the same)

- we export in glibc headers info about the gcc DSO although we don't 
control it.


As I said, either a separate header or somehow get <gnu/lib-names.h> 
intercepted similar to how the include/ subdir works.

-- 
➧ Ulrich Drepper ➧ Red Hat, Inc. ➧ 444 Castro St ➧ Mountain View, CA ❖



More information about the Libc-alpha mailing list