I'm really confuesd and frustrated Please Help

Jonathan Wakely jwakely.gcc@gmail.com
Thu Jun 11 08:39:07 GMT 2020


On Thu, 11 Jun 2020 at 02:28, JacobK622 via Gcc-help
<gcc-help@gcc.gnu.org> wrote:
>
> To gcc-help@gcc.gnu.org
>
>      Firstly I'd like to preface this by saying a few things:
>
>     1. I don't always know what is or isn't socially appropriate to say/ask/do, so please don't get mad at me if I say/ask/do something inappropriate just let me know and I'll try to do better
>
>     2. Sometimes I word things oddly so if a phrase sounds weird or doesn't make sense please let me know and I'll try to explain
>
>     3. I want to make it VERY clear that the above statement should in no way be misinterpreted to say that 'I think you're dumb' because I don't.)
>
>     4. I'm not sure this is the correct email to send this to if it isn't:
>         a. I'm sorry
>         b. Would you please give me the correct email address? Thanks
>
>     5. I've been trying to find a solution to this for well over a month now and I'm getting a bit frustrated.
> Anyway...
>
> Right now, I have the standard C library and the standard C++ library as installed by gcc and g++,

No you don't. The  C standard library (libc) is a separate project
from gcc, and is not "installed by gcc".

(On the other hand, the C++ standard library *is* provided as part of
GCC, so libstdc++ is typically installed as part of installing g++.)

> but it appears that I have multiple copies right now on my computer. ( I'm not sure if I have multiple copies, or if just looks that way because it's spread across the computer, or if it's something different.) (I think gcc did this automatically or it could be relatitd to the fact i have both gcc, g++, and mingw installed) This makes it very difficult to know what files are under what licenses, and what files are being included, because I have multiple copies of the same file under different directories. For instance, stdio.h. How do I download the standard C library and the standard C++ library as a separate download so I can put it in a single folder so that it's in one place?

You don't. It wouldn't work anyway.

> I need to keep track of what files I have under what license, and I can be sure that the license is compatible with the license I'd like to distribute my code under.

Why do you think the license of the C or C++ library affects the
license of your code? Using the standard libraries on GNU/Linux or
MinGW, it doesn't affect it.

>      I know how to make it ignore the standard search paths and redirect it to a new or add a new search path, I just need to know where I can get a copy of the standard C library and the standard C++ library (gnu gpl with runtime exception or a different non-copyleft license (MIT, BSD(0, 2, or 3 clause), etc)) so i can put them in a single folder.
>
> I have the same questions as applicable to Mingw.

You're wasting your time. Don't bother.


More information about the Gcc-help mailing list