begriffs / libc

Implementing the C standard library
5 stars 0 forks source link

Add license #1

Open Chaman-veteran opened 3 months ago

Chaman-veteran commented 3 months ago

Hey,

I was wondering if I could take in you're code as is, do you mind adding a license to your project to know if I can do so?

Thanks :)

begriffs commented 3 months ago

To help me choose the right license, can you describe how you'd like to use the code?

Chaman-veteran commented 3 months ago

Well, I'm on a (public) research project and trying to do an easily portable version of a program. As I can use a "naive" version of the libc, I was thinking of using your project, so basically any license would do as long as I can use it, it doesn't bother me to use copyleft license if you prefers over MIT-like licenses :)

begriffs commented 3 months ago

To follow up on this, I should mention that the license may not be super clear. Portions of the code are derived from Plauger's book. The preface says the code is not in the public domain, not shareware, and not protected by a copyleft agreement.

The book says transcribing the code is OK for personal use. It's also allowed to link executables with the code as long as the executable specifies that "Portions of this work are derived from The Standard C Library, copyright (c) 1992 by P.J. Plauger, published by Prentice Hall, and are used with permission."

So I don't know what we can do with this in the world at large. I just experimented with it for a personal learning project.

Also, my implementation is rather meager, it doesn't offer much. And files such as limits.h are specific to my particular environment, whereas they should be provided by the compiler toolchain.

You might consider https://keithp.com/picolibc/ instead. I use that for embedded development.

Chaman Vétéran wrote:

Well, I'm on a (public) research project and trying to do an easily portable version of a program. As I can use a "naive" version of the libc, I was thinking of using your project, so basically any license would do as long as I can use it, it doesn't bother me to use copyleft license if you prefers over MIT-like licenses :)

-- Reply to this email directly or view it on GitHub: https://github.com/begriffs/libc/issues/1#issuecomment-2163521083 You are receiving this because you commented.

Message ID: @.***>

Chaman-veteran commented 2 months ago

Oh you're right, we should ask the author first :/

Well, thanks a lot for the alternative!