!pbdtvoHxUGLhcEvnlu:nixos.org

Exotic Nix Targets

311 Members
93 Servers

Load older messages


SenderMessageTime
13 Jan 2024
@samueldr:matrix.org@samueldr:matrix.org(the GNU one most likely can't)23:26:49
14 Jan 2024
@samueldr:matrix.org@samueldr:matrix.org oh, right, another thing I don't know what to do about: the quatuplet for config, since the (admiteddly old) SDK and all the few remnants of info only specify a triplet 00:24:41
@raitobezarius:matrix.orgraitobezarius(going to sleep for now but I have some ideas)03:52:06
@raitobezarius:matrix.orgraitobezarius
In reply to @samueldr:matrix.org
oh, right, another thing I don't know what to do about: the quatuplet for config, since the (admiteddly old) SDK and all the few remnants of info only specify a triplet
I think you can invent whatever you want and if you feel like it, you can even send it upstream to gnu-config
17:05:24
@raitobezarius:matrix.orgraitobezariusI think it would help a lot if you could share a repo or a branch of nixpkgs so that I can take a look at things17:05:42
@raitobezarius:matrix.orgraitobezarius first step is that I would wire up the libc properly, create a lib/systems/examples.nix for your platform/target thingie, wire the libc in there, then I would add some inspection patterns for this platform, then I would look into stdenv/cross/default.nix and add the special cc for it 17:07:27
@raitobezarius:matrix.orgraitobezarius then… I'd take it for a run with pkgsCross.<my-config-name>.hello ? 17:07:38
@raitobezarius:matrix.orgraitobezarius * then… I'd take it for a run with pkgsCross.<my-example-name>.hello ? 17:07:45
@samueldr:matrix.org@samueldr:matrix.org

okay, so papercut 1:

checking target system type... Invalid configuration 'i386-unknown-btron-gnu': Kernel 'btron' not known to work with OS 'gnu'.
21:25:49
@samueldr:matrix.org@samueldr:matrix.org(I'm not done)21:26:09
@samueldr:matrix.org@samueldr:matrix.orgso uh, "OS 'gnu'... weird"21:26:19
@samueldr:matrix.org@samueldr:matrix.org mostly to make my headcanon more complete, I try i386-unknown-btron-btron in Nixpkgs 21:26:59
@samueldr:matrix.org@samueldr:matrix.org Unknown ABI: btron 21:27:07
@samueldr:matrix.org@samueldr:matrix.orgyeah, my understanding was that the last bit was the ABI, not the "OS"21:27:19
@samueldr:matrix.org@samueldr:matrix.orgis it that gnu config thing having other definitions than what Nixpkgs uses?21:27:33
@samueldr:matrix.org@samueldr:matrix.org* is it that gnu config thing having other terminology than what Nixpkgs uses?21:27:43
@samueldr:matrix.org@samueldr:matrix.orgstill working out the suggestions you made in a branch, will come back with something21:29:34
* @samueldr:matrix.org@samueldr:matrix.org grumbles21:30:49
@samueldr:matrix.org@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@samueldr:matrix.org no definition of os in here 21:30:55
@raitobezarius:matrix.orgraitobezarius
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:matrix.orgraitobezariusThere's a PR to put us back on the right rails21:31:59
@raitobezarius:matrix.orgraitobezariusAnd John Ericson and Adam Joseph have been sending patches to gnu-config to correct them too21:32:11
@raitobezarius:matrix.orgraitobezariusIs btron supposed to run Linux?21:32:54
@samueldr:matrix.org@samueldr:matrix.orgbtron is an os21:32:59
@raitobezarius:matrix.orgraitobezariusAnd it has its own ABI?21:33:06
@samueldr:matrix.org@samueldr:matrix.org * btron is an os 21:33:07
@samueldr:matrix.org@samueldr:matrix.orgb-right/v is an os21:33:12
@samueldr:matrix.org@samueldr:matrix.orgit uses AFAIUI the gnu ABI21:33:17
@raitobezarius:matrix.orgraitobezariusI see21:33:27

Show newer messages


Back to Room ListRoom Version: 6