!pbdtvoHxUGLhcEvnlu:nixos.org

Exotic Nix Targets

338 Members
106 Servers

Load older messages


SenderMessageTime
14 Jan 2024
@raitobezarius:matrix.orgraitobezariusIs btron supposed to run Linux?21:32:54
@samueldr:matrix.orgsamueldrbtron is an os21:32:59
@raitobezarius:matrix.orgraitobezariusAnd it has its own ABI?21:33:06
@samueldr:matrix.orgsamueldr * btron is an os 21:33:07
@samueldr:matrix.orgsamueldrb-right/v is an os21:33:12
@samueldr:matrix.orgsamueldrit uses AFAIUI the gnu ABI21:33:17
@raitobezarius:matrix.orgraitobezariusI see21:33:27
@raitobezarius:matrix.orgraitobezariusSo there's a parser somewhere in nixpkgs, have you find it?21:34:06
@raitobezarius:matrix.orgraitobezariuslib/systems/parse.nix21:34:16
@samueldr:matrix.orgsamueldryes21:34:18
@raitobezarius:matrix.orgraitobezariusso I think there you can act upon it to add support for your semantic quadruplet IMHO21:34:34
@samueldr:matrix.orgsamueldr --target=i386-unknown-gnu is what was needed in binutils and gcc (2.95) to make them produce appropriate binaries 21:34:52
@raitobezarius:matrix.orgraitobezariushm I see21:35:01
@samueldr:matrix.orgsamueldrI can't seem to find a way to have it a triplet from Nixpkgs's side though21:35:23
@samueldr:matrix.orgsamueldrand I would hazard a guess that if it was a triplet, it might work?21:35:36
@raitobezarius:matrix.orgraitobezariuswell target specifications with 3 components can be parsed in nixpkgs21:36:03
@samueldr:matrix.orgsamueldrbut also I am still unsure about the divergences in meaning and how they matter21:36:05
@raitobezarius:matrix.orgraitobezariusbut you are taking an ambiguous risk21:36:07
@samueldr:matrix.orgsamueldrthey error out21:36:18
@raitobezarius:matrix.orgraitobezariusthey can be accepted if you modify the parser21:36:34
@raitobezarius:matrix.orgraitobezariusline 427 approximately21:36:40
@raitobezarius:matrix.orgraitobezariusin lib/systems/parser.nix21:36:43
@raitobezarius:matrix.orgraitobezarius
In reply to @samueldr:matrix.org
but also I am still unsure about the divergences in meaning and how they matter
all of this is just the result of an incredible mess
21:37:09
@raitobezarius:matrix.orgraitobezariusI would recommend not focusing too much on the specifics and trying to find a path21:37:22
@raitobezarius:matrix.orgraitobezariusthen, you can easily improve your metadata quality21:37:28
@trofi:matrix.orgtrofiAs long as you pick a tuple it should be fine :)21:37:28
@raitobezarius:matrix.orgraitobezariusotherwise you are trying to solve two problems at the same time21:37:35
@samueldr:matrix.orgsamueldrthat's part of what I hinted at earlier: I don't even know what I'm supposed to be doing :)21:37:58
@raitobezarius:matrix.orgraitobezariuspick any quadruplet that you like or a triplet, modify the parser to make it accepted, then move on to lib/systems/examples.nix21:38:38
@raitobezarius:matrix.orgraitobezarius you can do btron = { config = "i386-unknown-unknown-btron"; libc = "btron"; ... } 21:38:49

Show newer messages


Back to Room ListRoom Version: 6