This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: libstdc++ license
- To: egcs at cygnus dot com
- Subject: Re: libstdc++ license
- From: Nathan Myers <ncm at cygnus dot com>
- Date: Fri, 17 Jul 1998 14:37:56 -0700
- Newsgroups: cygnus.egcs
- Organization: http://www.cantrip.org/
- References: <199807161828.LAA28863.cygnus.egcs@netcom3.netcom.com>
Munagala V. S. Ramanath wrote:
> I'd like to release a demo (proprietary) program for Linux and would
> like to use static linking to avoid problems of version skew in the
> libraries. Since the C library will presumably still be LGPL, my
> question is:
>
> If a pure C++ program is built with libstdc++ will it contain LGPL parts
> from the C library (sucked in behind the scenes) assuming I don't
> explicitly use C library features like malloc, printf, strcpy etc. ?
> Or is it essentially impossible to legally do what I'd like to do ?
The C++ library will use some C library features. You can static-link
the C++ part, and dynamic-link the C library.
It may be possible to link some other C library underneath.
Nathan Myers
ncm@cantrip.org