!OqhvaDMJdKYUicLDiE:nixos.org

Nixpkgs Stdenv

224 Members
72 Servers

Load older messages


SenderMessageTime
19 Aug 2025
@emilazy:matrix.orgemilyso maybe that's okay.22:59:21
20 Aug 2025
@jopejoe1:matrix.orgjopejoe1 (4094@39c3) changed their display name from jopejoe1 (4094@GPN23) to jopejoe1.18:50:45
21 Aug 2025
@creepinson:matrix.orgTheo Paris joined the room.22:11:07
23 Aug 2025
@Ericson2314:matrix.orgJohn 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
@emilazy:matrix.orgemilythat's for multilib variants of a single architecture? which is quite different00:37:35
@emilazy:matrix.orgemilythe configuration files already support multi-target00:38:02
@Ericson2314:matrix.orgJohn Ericson emily: do the cfg file support -m flags etc afffecting which set of lookup paths it uses? 00:38:46
@emilazy:matrix.orgemilythe config files support arbitrary flags00:38:58
@emilazy:matrix.orgemily(that's all they support)00:39:00
@Ericson2314:matrix.orgJohn 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
@Ericson2314:matrix.orgJohn Ericsonnot just a static set of flags01:00:00
@emilazy:matrix.orgemilybut config files already offer that? they key on the target01:00:11
@Ericson2314:matrix.orgJohn Ericsonthe the conditions are more semantic than syntactic01:00:11
@Ericson2314:matrix.orgJohn Ericsoncan they key off -march and whatnot too?01:00:31
@emilazy:matrix.orgemilyhave you read the docs for the configuration files? they key on both target and language01:00:32
@emilazy:matrix.orgemilyI don't think so, but our wrappers also don't do that01:00:42
@Ericson2314:matrix.orgJohn Ericson(other ways of doing target in effect?)01:00:43
@emilazy:matrix.orgemily -march is separate from the target 01:00:54
@Ericson2314:matrix.orgJohn Ericsonyeah I was thinking about how there was that PR for hacking multi arch in CC wrapper for buildingl inux01:01:03
@emilazy:matrix.orgemily
01:01:11
@emilazy:matrix.orgemilyNote 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
@emilazy:matrix.orgemily *

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
@emilazy:matrix.orgemilyhttps://clang.llvm.org/docs/UsersManual.html#configuration-files01:01:18
@Ericson2314:matrix.orgJohn Ericsonok cool01:01:25
@Ericson2314:matrix.orgJohn EricsonI guess whoever made the multilib yaml didn't know about this :D01:02:29
@emilazy:matrix.orgemilyI think it's specifically for configuring the GCC multilib interface01:05:42
@emilazy:matrix.orgemilybut yeah, some overlap01:06:02
@emilazy:matrix.orgemilymaybe the multilib stuff could be useful, it seems a little baroque though01:06:11
@Ericson2314:matrix.orgJohn Ericsonyeah all I want is the conceptual parts02:21:56
@Ericson2314:matrix.orgJohn Ericson -print-multi-lib itself is only for building GCC with --enable-multilib, and the whole point of GCC NG is you get the benefits from that without needing to do that 02:22:32

Show newer messages


Back to Room ListRoom Version: 9