| 19 Aug 2025 |
emily | which should be [ "build" "host" ], but isn't because some stuff breaks | 22:40:15 |
emily | though maybe it's about time to just throw that in a cycle and deal with the fallout | 22:41:53 |
emily | I forget what Artturin said last time I was talking about a good ordering for these things | 22:42:06 |
emily | not sure if https://github.com/NixOS/nixpkgs/pull/181724 ended up resolved | 22:43:07 |
emily | ok, yeah, https://github.com/NixOS/nixpkgs/issues/178802 | 22:52:39 |
emily | I think adding wrapped prefixed compilers was the first sensible step | 22:52:45 |
emily | not sure if --host without --build would trigger such problems though | 22:52:53 |
emily | oh, it looks like we no longer re-export the prefixed ones from the wrapped packages | 22:59:19 |
emily | so maybe that's okay. | 22:59:21 |
| 20 Aug 2025 |
| jopejoe1 (4094@39c3) changed their display name from jopejoe1 (4094@GPN23) to jopejoe1. | 18:50:45 |
| 21 Aug 2025 |
| Theo Paris joined the room. | 22:11:07 |
| 23 Aug 2025 |
John Ericson | emily: https://clang.llvm.org/docs/Multilib.html oh ok, it looks like this YAML is the proper way to make a multi-target wrapped compiler | 00:36:49 |
emily | that's for multilib variants of a single architecture? which is quite different | 00:37:35 |
emily | the configuration files already support multi-target | 00:38:02 |
John Ericson | emily: do the cfg file support -m flags etc afffecting which set of lookup paths it uses? | 00:38:46 |
emily | the config files support arbitrary flags | 00:38:58 |
emily | (that's all they support) | 00:39:00 |
John Ericson | emily: err so as I interpret this is a way to do something like "if the user specifies --target=..... then inject -L ....." | 00:59:53 |
John Ericson | not just a static set of flags | 01:00:00 |
emily | but config files already offer that? they key on the target | 01:00:11 |
John Ericson | the the conditions are more semantic than syntactic | 01:00:11 |
John Ericson | can they key off -march and whatnot too? | 01:00:31 |
emily | have you read the docs for the configuration files? they key on both target and language | 01:00:32 |
emily | I don't think so, but our wrappers also don't do that | 01:00:42 |
John Ericson | (other ways of doing target in effect?) | 01:00:43 |
emily | -march is separate from the target | 01:00:54 |
John Ericson | yeah I was thinking about how there was that PR for hacking multi arch in CC wrapper for buildingl inux | 01:01:03 |
emily |
| 01:01:11 |
emily | Note that options such as --driver-mode=, --target=, -m32 affect the search algorithm. For example, the aforementioned executable called with -m32 argument will instead search for:
| 01:01:13 |
emily | *
Note that options such as --driver-mode=, --target=, -m32 affect the search algorithm. For example, the aforementioned executable called with -m32 argument will instead search for:
| 01:01:15 |