Thread: How to compile proprietary soft with glibc LGPL license

  1. #1
    Registered User
    Join Date
    Nov 2005

    How to compile proprietary soft with glibc LGPL license


    I would to like to know how to compile program to obtain a proprietary executable. The license of glibc is Lesser GPL and it say that if you want to build a proprietary software (no distribution of source code) you must not link the LGPL library in your executable.

    What kind of linking I have to use ? Could some one tell me how to build proprietary with glibc?

    I use ncurses and glibc (especially math.h) as main library and I compile like this:
    gcc -lncurses -lm myprog.c -o myprog.bin

    Thank you.

  2. #2
    Cat without Hat CornedBee's Avatar
    Join Date
    Apr 2003
    You must use shared linking, which is the default anyway.
    All the buzzt!

    "There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code."
    - Flon's Law

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. The Bludstayne Open Works License
    By frenchfry164 in forum A Brief History of
    Replies: 8
    Last Post: 11-26-2003, 11:05 AM
  2. fopen();
    By GanglyLamb in forum C Programming
    Replies: 8
    Last Post: 11-03-2002, 12:39 PM