A static binary patch
Geoff Keating
geoffk@ozemail.com.au
Tue Aug 24 20:21:00 GMT 1999
> Date: Tue, 24 Aug 1999 07:32:49 -0700 (PDT)
> From: hjl@lucon.org (H.J. Lu)
> My c_stubs addon has tests linked statically. When you run "make check"
> in c_stubs, it will try to run it with
>
> # ........./ld-linux.so.2 the_c_stubs_test .....
>
> Since the_c_stubs_test is linked statically, it doesn't work. If you
> can find a better way to fix it, I will appreciate it.
Why not just use 'make' to handle all this? Create a rule that knows
how to run static programs, variables to list the static programs, and
so on. I wouldn't be surprised to find that this already exists
somewhere in glibc.
You surely must already have some rule which knows how to build static
tests.
--
Geoffrey Keating <geoffk@cygnus.com>
More information about the Libc-hacker
mailing list