[lkml]   [1998]   [Jul]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: DLLs ... [OFFTOPIC]
    On Thu, Jul 16, 1998 at 12:29:09PM +0530, Somnath Roy wrote:
    > Is there any guideline for writing DLLs in Linux ?

    What you want to use are shared libraries in Un*x/Linux land, probably,
    like /lib/ ... (so = shared object)

    gcc -fPIC -O2 -c file1.c
    gcc -fPIC -O2 -c file2.c
    gcc -shared -Wl,-soname, -o file1.o file2.o ...
    ln -s
    ln -s

    Linking to library:
    gcc -o executable -L/path/to/lib -lXY exec1.o exec2.o ...

    Kurt Garloff, Dortmund
    PGP key on

    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    Please read the FAQ at

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