newlib licence restrictions

Guest #1171946
Alex wrote:
> I have a question about licence restrictions then using WinARM.

WinARM is just a collection. Of cause any licenses of the components in
WinARM are still valid.

> Can I build proprietary code with newlib and newlib-lpc libraries?
> What restrictions are there?

See: http://sources.redhat.com/newlib/COPYING.NEWLIB and the comments at
the beginning of the newlib-lpc source-files
#1171947
I am only using a few libraries, such as libc.a and libgcc.a. Are these
part of newlib? If so where can I find what specific copywrite
statements I need. The header files (such as string.h) list no copywrite
information. The Redhat link only lists all possible.
#1171948
Pete Gasper wrote:
> I am only using a few libraries, such as libc.a and libgcc.a. Are these
> part of newlib? If so where can I find what specific copywrite
> statements I need. The header files (such as string.h) list no copywrite
> information. The Redhat link only lists all possible.

The libc.a and libm.a supplied with WinARM are newlib (but beware, the
same names are used for GNU libraries, which are LGPL libraries, and
possibly other standard library implementations - because GCC uses these
names by default if -nostdlibs is not used). libgcc.a is part of GCC
itself because the compiler generates code that makes calls to code in
this library - think of it as minimal runtime support.

As I understand it building code with GCC does not make that code
subject to GPL restrictions - GCC is  a code generator, the generated
code does not contain GPL code, it is simply a translation of your
source. Code that statically links newlib code is freely distributable
under any licence terms you choose. You should check the licences of any
other code individually. I stress this is my understanding of the
situation - I am not a lawyer, you must satisfy yourself that you are
operating within the terms of the license.

Clifford
#1171949
Clifford Slocombe wrote:
> source. Code that statically links newlib code is freely distributable
> under any licence terms you choose. You should check the licences of any

That seems correct, provided the copywrite notices are left intact and
included in the manual. Is that your understanding?

Reply

A question of your own? This thread is over 20 years old. Ask it in a thread of its own – more people read along there, and it gets answered more often and sooner.

Start a new thread

A fix, an addition or feedback on this thread? Then reply here.

Formatting
  • [c]C-Code[/c]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]
  • [[Title]] – link to an article
  • Link to another post: right-click its post ID (#8078628), copy the address, paste it into the text

More about formatting

Post long source code as an attachment, not in the text.

Already registered? Log in

Not shown to anyone. We send you a link; your post appears once you confirm it there.

By submitting you create a free account and accept the terms of use.