https://gcc.gnu.org/bugzilla/show_bug.cgi?id=37036
--- Comment #6 from jayk123 at hotmail dot com --- I'm sorry the Python is surely very long gone. It was so many years ago. It was a wrapper around a series of configure + make to build several gcc toolsets, i.e. native, cross, etc. At the time I had Solaris and/or VMS sysroots. I was probably hosting on Cygwin, and was annoyed with gmp/mpfr as well. If it was today, well, I'd probably just Zig as a cc/ld driver. :) I'll login later and put that in the bug once I reset password etc. - Jay ________________________________ From: egallager at gcc dot gnu.org <gcc-bugzi...@gcc.gnu.org> Sent: Wednesday, May 25, 2022 12:29 AM To: jay.kr...@cornell.edu <jay.kr...@cornell.edu> Subject: [Bug other/37036] fixincludes does not understand sysroot! https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgcc.gnu.org%2Fbugzilla%2Fshow_bug.cgi%3Fid%3D37036&data=05%7C01%7C%7Cfd6b614185194903936a08da3de59679%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637890353549095738%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=jt7%2FzPlbZJeavNvBU2sSYf1QE%2FG8WEACPtkV598CvZQ%3D&reserved=0 --- Comment #5 from Eric Gallager <egallager at gcc dot gnu.org> --- (In reply to Jay from comment #4) > Here is a lame workaround that works, from my Python wrapper: > > if (Host == Target) and (Host != Build): > ExtraConfig += " -with-sysroot=/" > ExtraConfig += " -with-build-sysroot=" + DefaultSysroot To be clear, is that a wrapper around GCC or fixincludes? In either case, can you link us to your Python wrapper? -- You are receiving this mail because: You reported the bug.