Article View: gnu.misc.discuss
Article #63031Re: Commercial apps written with GCC?
From: david d `zoo' zuhn
Date: Wed, 15 Mar 1995 21:17
Date: Wed, 15 Mar 1995 21:17
26 lines
1770 bytes
1770 bytes
Yes, but of course it would link with their libraries since it uses
their standard functions (i.e. even 'printf' is part of a GNU library
with GCC).
Use of GCC does not a priori mean you are using a GNU printf(). GCC
uses the vendor's libraries (which is why GCC doesn't always provide
an ANSI C library) rather than supplying its own.
For example, on a project I worked on last year, we used GCC to
compile the application, linking with several vendor's libraries (like
Sybase and XVT and such, as well as SunOS). No GPL problems at all.
Now, had we installed GNU libc (glibc) and linked with that, we would
have been subject to the LGPL that glibc is distributed under.
Also, some system are distributed with glibc (or a variant) as their C
library, and if you hope to distribute commercial (read: proprietary)
software on such platforms you had better be linking dynamically.
--
david d `zoo' zuhn | Armadillo Zoo Enterprises, St. Paul, MN
zoo@armadillo.com | unix generalist (and occasional specialist)
| http://www.armadillo.com/ for more info
Technical Details
Message-ID:
<m0rp0Qz-000Ql7C@subzero.winternet.com>Path:
arc1-ca.pugleaf.net!bga.com!news.sprintlink.net!howland.reston.ans.net!math.ohio-state.edu!cis.ohio-state.edu!armadillo.COM!zooReferences:
zoo@armadillo.COM (david d `zoo' zuhn)Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1025b4,a0c86beb4fbc7dd X-Google-Attributes: gid1025b4,public X-Google-ArrivalTime: 1995-03-15 13:25:37 PST Path: arc1-ca.pugleaf.net!bga.com!news.sprintlink.net!howland.reston.ans.net!math.ohio-state.edu!cis.ohio-state.edu!armadillo.COM!zoo From: zoo@armadillo.COM (david d `zoo' zuhn) Newsgroups: gnu.misc.discuss Subject: Re: Commercial apps written with GCC? Date: 15 Mar 1995 16:17:12 -0500 Organization: GNUs Not Usenet Lines: 26 Sender: daemon@cis.ohio-state.edu Distribution: gnu Message-ID: <m0rp0Qz-000Ql7C@subzero.winternet.com> References: zoo@armadillo.COM (david d `zoo' zuhn)