This is the mail archive of the libc-hacker@sourceware.cygnus.com mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: A static binary patch


> 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>

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]