[Bug driver/87769] GCC build from source uses headers and libraries from directories host machine.

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sat Oct 27 01:29:00 GMT 2018


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87769

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |INVALID

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
GCC is not independent from the libc's headers.  GCC DOES NOT INCLUDE A LIBC. 
Glibc is the libc that is used on many Linux distro (but not the only one out
there).  If you want to build a completely self contained compiler/libraries,
there are many directions on the internet for that.

NOTE the standard C++ headers include the standard C headers in the end.


More information about the Gcc-bugs mailing list