https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87769
Mateusz Zych <mte.zych at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |UNCONFIRMED Resolution|INVALID |--- --- Comment #5 from Mateusz Zych <mte.zych at gmail dot com> --- I read numerous articles describing how to build standalone GCC for source: - https://solarianprogrammer.com/2018/05/06/building-gcc-cross-compiler-raspberry-pi/ - https://preshing.com/20141119/how-to-build-a-gcc-cross-compiler/ - https://wiki.osdev.org/GCC_Cross-Compiler - https://wiki.osdev.org/Building_GCC - https://gist.github.com/maoueh/14ef25a03d5722bc1e03 None of above approaches worked for me. ;( I'm always ending up with some obscure compilation / linking issue. Can someone just explain to me, how to build GCC using configuration option "--with-sysroot="? I would really appreciate it. PS. I am treating this as a bug, because I couldn't find any official documentation explaining how to build GCC using configuration option "--with-sysroot=". I just think that the whole process of doing so shouldn't be that hard. Thanks, Mateusz