git: crunchgen(1): Support building and linking internal libraries

Aaron LI aly at crater.dragonflybsd.org
Wed Jul 4 02:50:50 PDT 2018


commit 8fc53a872217653179856c575dff4ec379710830
Author: Aaron LI <aly at aaronly.me>
Date:   Sat Jun 30 21:36:54 2018 +0800

    crunchgen(1): Support building and linking internal libraries
    
    Some programs (e.g., grep, diff, telnet) use internal libraries.  In
    order to crunch such programs, the corresponding internal libraries
    must be built together with the programs and then are used to create
    the <progname>.lo.
    
    Extend the crunchgen(1)'s "special" command by adding the "lib_int"
    keyword, which specifies the internal libraries to be used to create
    the <progname>.lo.
    
    The "libs_int" command is also implemented to support building the
    needed internal libraries which will be statically linked to create
    the final crunched executable.

Summary of changes:
 usr.bin/crunch/crunchgen/crunchgen.1 |  22 +++++-
 usr.bin/crunch/crunchgen/crunchgen.c | 137 ++++++++++++++++++++++++++++++++++-
 2 files changed, 155 insertions(+), 4 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/8fc53a872217653179856c575dff4ec379710830


-- 
DragonFly BSD source repository



More information about the Commits mailing list