lkml.org 
[lkml]   [2003]   [Jun]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [EVIL-PATCH] getting rid of lib/lib.a and breaking many archs in the processes (was Re: [PATCH] fixed: CRC32=y && 8193TOO=m unresolved symbols)

    On Sat, 7 Jun 2003, Stewart Smith wrote:
    >
    > This patch needs a couple of extra things before it drops it's evil
    > status, and I'm not sure how to do them exactly.

    How about making the lib/ directory separate out the "these are optional"
    pieces from the "these are basic libs that got explicitly enabled by the
    user", and leave the archive usage for the truly optional stuff?

    There's nothing inherently wrong with using the archive format per se, and
    it still makes sense to just let the linker do the simple stuff instead of
    adding unnecessary code to the configuration management to do stuff that
    the linker would give us for free.

    The _clean_ way to do this (I think) might be to make the normal build
    rules understand a "obj-l" for "library objects", and always build a
    "lib.a" for those, instead of having the magic "if there is a L_TARGET,
    use obj-y and make a library of them" special case rule.

    Sam, can you try to sprinkle the proper Makefile magic pixie-dust around?


    Linus


    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2005-03-22 13:36    [W:0.021 / U:247.256 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site