| 14 Jan 2024 |
@samueldr:matrix.org | mostly to make my headcanon more complete, I try i386-unknown-btron-btron in Nixpkgs | 21:26:59 |
@samueldr:matrix.org | Unknown ABI: btron | 21:27:07 |
@samueldr:matrix.org | yeah, my understanding was that the last bit was the ABI, not the "OS" | 21:27:19 |
@samueldr:matrix.org | is it that gnu config thing having other definitions than what Nixpkgs uses? | 21:27:33 |
@samueldr:matrix.org | * is it that gnu config thing having other terminology than what Nixpkgs uses? | 21:27:43 |
@samueldr:matrix.org | still working out the suggestions you made in a branch, will come back with something | 21:29:34 |
| * @samueldr:matrix.org grumbles | 21:30:49 |
@samueldr:matrix.org | https://www.gnu.org/software/autoconf/manual/autoconf-2.68/html_node/System-Type.html#System-Type | 21:30:50 |
@samueldr:matrix.org | no definition of os in here | 21:30:55 |
raitobezarius | In reply to @samueldr:matrix.org is it that gnu config thing having other terminology than what Nixpkgs uses? I think the situation is that we have diverged quite a bit from the gnu-config parser, yes | 21:31:54 |
raitobezarius | There's a PR to put us back on the right rails | 21:31:59 |
raitobezarius | And John Ericson and Adam Joseph have been sending patches to gnu-config to correct them too | 21:32:11 |
raitobezarius | Is btron supposed to run Linux? | 21:32:54 |
@samueldr:matrix.org | btron is an os | 21:32:59 |
raitobezarius | And it has its own ABI? | 21:33:06 |
@samueldr:matrix.org | * btron is an os | 21:33:07 |
@samueldr:matrix.org | b-right/v is an os | 21:33:12 |
@samueldr:matrix.org | it uses AFAIUI the gnu ABI | 21:33:17 |
raitobezarius | I see | 21:33:27 |
raitobezarius | So there's a parser somewhere in nixpkgs, have you find it? | 21:34:06 |
raitobezarius | lib/systems/parse.nix | 21:34:16 |
@samueldr:matrix.org | yes | 21:34:18 |
raitobezarius | so I think there you can act upon it to add support for your semantic quadruplet IMHO | 21:34:34 |
@samueldr:matrix.org | --target=i386-unknown-gnu is what was needed in binutils and gcc (2.95) to make them produce appropriate binaries | 21:34:52 |
raitobezarius | hm I see | 21:35:01 |
@samueldr:matrix.org | I can't seem to find a way to have it a triplet from Nixpkgs's side though | 21:35:23 |
@samueldr:matrix.org | and I would hazard a guess that if it was a triplet, it might work? | 21:35:36 |
raitobezarius | well target specifications with 3 components can be parsed in nixpkgs | 21:36:03 |
@samueldr:matrix.org | but also I am still unsure about the divergences in meaning and how they matter | 21:36:05 |
raitobezarius | but you are taking an ambiguous risk | 21:36:07 |