public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug other/37036] fixincludes does not understand sysroot!
       [not found] <bug-37036-4@http.gcc.gnu.org/bugzilla/>
@ 2022-05-25  0:29 ` egallager at gcc dot gnu.org
  2022-05-25  0:43 ` jayk123 at hotmail dot com
  1 sibling, 0 replies; 6+ messages in thread
From: egallager at gcc dot gnu.org @ 2022-05-25  0:29 UTC (permalink / raw)
  To: gcc-bugs

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

--- 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?

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug other/37036] fixincludes does not understand sysroot!
       [not found] <bug-37036-4@http.gcc.gnu.org/bugzilla/>
  2022-05-25  0:29 ` [Bug other/37036] fixincludes does not understand sysroot! egallager at gcc dot gnu.org
@ 2022-05-25  0:43 ` jayk123 at hotmail dot com
  1 sibling, 0 replies; 6+ messages in thread
From: jayk123 at hotmail dot com @ 2022-05-25  0:43 UTC (permalink / raw)
  To: gcc-bugs

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-bugzilla@gcc.gnu.org>
Sent: Wednesday, May 25, 2022 12:29 AM
To: jay.krell@cornell.edu <jay.krell@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&amp;data=05%7C01%7C%7Cfd6b614185194903936a08da3de59679%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637890353549095738%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;sdata=jt7%2FzPlbZJeavNvBU2sSYf1QE%2FG8WEACPtkV598CvZQ%3D&amp;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.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug other/37036] fixincludes does not understand sysroot!
  2008-08-06  9:53 [Bug other/37036] New: " jayk123 at hotmail dot com
                   ` (2 preceding siblings ...)
  2008-08-11 10:06 ` jay dot krell at cornell dot edu
@ 2008-08-14 11:56 ` jay dot krell at cornell dot edu
  3 siblings, 0 replies; 6+ messages in thread
From: jay dot krell at cornell dot edu @ 2008-08-14 11:56 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from jay dot krell at cornell dot edu  2008-08-14 11:54 -------
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


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37036


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug other/37036] fixincludes does not understand sysroot!
  2008-08-06  9:53 [Bug other/37036] New: " jayk123 at hotmail dot com
  2008-08-06 10:10 ` [Bug other/37036] " jayk123 at hotmail dot com
  2008-08-06 10:12 ` jayk123 at hotmail dot com
@ 2008-08-11 10:06 ` jay dot krell at cornell dot edu
  2008-08-14 11:56 ` jay dot krell at cornell dot edu
  3 siblings, 0 replies; 6+ messages in thread
From: jay dot krell at cornell dot edu @ 2008-08-11 10:06 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from jay dot krell at cornell dot edu  2008-08-11 10:05 -------
Running fixincludes on the host after install works, but
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15694
says that is not the way..


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37036


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug other/37036] fixincludes does not understand sysroot!
  2008-08-06  9:53 [Bug other/37036] New: " jayk123 at hotmail dot com
  2008-08-06 10:10 ` [Bug other/37036] " jayk123 at hotmail dot com
@ 2008-08-06 10:12 ` jayk123 at hotmail dot com
  2008-08-11 10:06 ` jay dot krell at cornell dot edu
  2008-08-14 11:56 ` jay dot krell at cornell dot edu
  3 siblings, 0 replies; 6+ messages in thread
From: jayk123 at hotmail dot com @ 2008-08-06 10:12 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from jayk123 at hotmail dot com  2008-08-06 10:10 -------
uh, no, I used that actually


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37036


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug other/37036] fixincludes does not understand sysroot!
  2008-08-06  9:53 [Bug other/37036] New: " jayk123 at hotmail dot com
@ 2008-08-06 10:10 ` jayk123 at hotmail dot com
  2008-08-06 10:12 ` jayk123 at hotmail dot com
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 6+ messages in thread
From: jayk123 at hotmail dot com @ 2008-08-06 10:10 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from jayk123 at hotmail dot com  2008-08-06 10:08 -------
wait, um, maybe -with-build-sysroot= works, with an equals sign. I'll try that.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37036


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2022-05-25  0:43 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-37036-4@http.gcc.gnu.org/bugzilla/>
2022-05-25  0:29 ` [Bug other/37036] fixincludes does not understand sysroot! egallager at gcc dot gnu.org
2022-05-25  0:43 ` jayk123 at hotmail dot com
2008-08-06  9:53 [Bug other/37036] New: " jayk123 at hotmail dot com
2008-08-06 10:10 ` [Bug other/37036] " jayk123 at hotmail dot com
2008-08-06 10:12 ` jayk123 at hotmail dot com
2008-08-11 10:06 ` jay dot krell at cornell dot edu
2008-08-14 11:56 ` jay dot krell at cornell dot edu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).