!ayCRiZriCVtuCUpeLp:nixos.org

Nix Cross Compiling

578 Members
128 Servers

Load older messages


SenderMessageTime
4 Aug 2021
@yuka:yuka.devYuka (she/her)And the netbsd developers say the line should be drawn before libc07:30:36
@yuka:yuka.devYuka (she/her) That's why I ask how Alyssa Ross is planning to implement the stdenv. The answer is much less obvious than on Linux systems. 07:31:14
@qyliss:fairydust.spaceAlyssa Rossyuka: it will use its own libc07:35:32
@yuka:yuka.devYuka (she/her)oki, interesting :)07:35:42
@qyliss:fairydust.spaceAlyssa Rossthere's basically no reason not to afaict (and have talked to said NetBSD person a lot about it)07:36:12
@siraben:matrix.orgsiraben (he/him)I'm not familiar with BSDs but will it work on OpenBSD as well?07:36:40
@qyliss:fairydust.spaceAlyssa Rossit has to be done for each BSD individually, but a lot should be transferrable07:37:01
@qyliss:fairydust.spaceAlyssa Rossadding another BSD should be a lot easier than adding the first BSD07:37:11
@qyliss:fairydust.spaceAlyssa RossOpenBSD is a lot more complicated because every OpenBSD version is incompatible07:37:26
@siraben:matrix.orgsiraben (he/him)by design?07:37:33
@qyliss:fairydust.spaceAlyssa Rosswhereas NetBSD is backwards compatible going back 20 years, like Linux07:37:34
@qyliss:fairydust.spaceAlyssa Rossyeah07:37:35
@qyliss:fairydust.spaceAlyssa RossYou have to recompile every program whenever there's a new OpenBSD release 07:37:58
@sternenseemann:systemli.orgsterni (he/him)at least recompiling everything all the time is already inherent to nix's design :p09:15:12
@qyliss:fairydust.spaceAlyssa Rossyeah, although you need to start by recompiling Nix, and there might be an awkward bootstrapping problem there09:15:55
@sternenseemann:systemli.orgsterni (he/him)but OpenBSD will require constant maintenance to be useful and even more if we want to target multiple versions I guess09:15:55
@qyliss:fairydust.spaceAlyssa Rossyeah09:16:28
6 Aug 2021
@kity:kity.wtfash (it/its) 🏳️‍⚧️ changed their display name from ashkitten (it/its) 🏳️‍⚧️ to ash (it/its).21:03:29
@kity:kity.wtfash (it/its) 🏳️‍⚧️ changed their display name from ash (it/its) to ash (it/its) 🏳️‍⚧️.21:05:12
7 Aug 2021
@sternenseemann:systemli.orgsterni (he/him)https://github.com/NixOS/nixpkgs/pull/133016 if anyone wants to look at my uniformed try to get mpdecimal to cross compile to windows13:10:58
9 Aug 2021
@sternenseemann:systemli.orgsterni (he/him) John Ericson: do you know if it's theoretically possible to statically link gcc itself? (i. e. build pkgsStatic.gcc) 11:28:27
@sternenseemann:systemli.orgsterni (he/him)hmm probably not with musl11:41:10
@Ericson2314:matrix.orgJohn Ericson sterni (he/him): more than theoretically 15:49:35
@Ericson2314:matrix.orgJohn Ericsonthere is some sort of host-static flag15:49:50
@Ericson2314:matrix.orgJohn EricsonGCC has15:50:01
10 Aug 2021
@sternenseemann:systemli.orgsterni (he/him)I guess we should try to get pkgsStatic.gccNgPackages_11.gcc to work as well then at some point11:32:50
@sternenseemann:systemli.orgsterni (he/him)current gcc doesn't compile as part of pkgsStatic11:33:02
@sternenseemann:systemli.orgsterni (he/him)ECL has these cross_config files: https://gitlab.com/embeddable-common-lisp/ecl/-/blob/develop/src/util/android-arm64.cross_config21:02:15
@sternenseemann:systemli.orgsterni (he/him)I'm wondering whether I can guess all these values from our platform set or alternatively determine them programatically somehow?21:02:42
@sternenseemann:systemli.orgsterni (he/him)I'm not sure if it's easy to find out how big long is on a given platform?21:03:15

Show newer messages


Back to Room ListRoom Version: 6