This is the mail archive of the
libc-hacker@cygnus.com
mailing list for the glibc project.
Re: playing games with symbol versions
- To: zack@rabi.columbia.edu (Zack Weinberg)
- Subject: Re: playing games with symbol versions
- From: hjl@lucon.org (H.J. Lu)
- Date: Mon, 12 Apr 1999 11:32:43 -0700 (PDT)
- Cc: libc-hacker@cygnus.com
>
>
> Is there any way, when linking a program on a libc-2.1 system, to
> force it to use only the GLIBC_2.0 symbols? I'm looking at a bug in
> the libio backward compat code, and it would make my life easier if I
> could compile testcases.
>
You also need the header files from glibc 2.0. Given that, you
can just build a cross-compiler from glibc 2.1 to glibc 2.0. It
is not that hard to do. Been there, done that.
--
H.J. Lu (hjl@gnu.org)