00:00:00 --- log: started forth/20.10.30 01:29:52 Setting up Z80 cross-compilation in nixpkgs is such a PITA since they're not GCC-based 01:30:30 Might just be a matter of symlinking z88dk's compiler to `$out/bin/cc`, hm 01:30:43 What are you using? sdcc is close enough. 01:32:40 I think z88dk uses sdcc, but I'm using z88dk since it specifically targets the Z80 family of devices 01:33:37 Well, sdcc does, also. 01:33:57 how's the z80 libc in sdcc? 01:34:21 Apart from avr, gcc doesn't seem to target 8-bit processors, hm 01:34:21 What do you mean? As in what libc it uses by default? 01:34:34 GCC have also dropped avr support, since it's a mess. 01:34:44 AVR in general. 01:34:48 Oof 01:35:07 I think the atmel or someone have started a bounty program for people to fix bugs in the fork. 01:35:23 Not such a big deal, unless you use the avr-libc. 01:35:24 Might be possible to use sdcc in lieu of the z88dk toolchain, will have to see 01:35:34 Should be straightforward. 01:35:54 But this looks like it's the first time someone's trying to add a non-GCC or non-Clang cross-compilation toolchain to nixpkgs 01:36:08 You can, of course, use a newlib based gcc for such targets where you're not using the avr-libc. 01:36:09 Hopefully when this gets merged it's much clearer how to add new targets 01:36:22 Ah yes, newlib 01:37:12 Newlib is my goto libc. It's probably the least nasty libc for freestanding implementations. 01:39:33 example PR adding vc4 support, quite nice actually https://github.com/NixOS/nixpkgs/pull/72657/files 01:39:57 but that's because gcc6 can cross-compile to it, and there's newlib for vc4 01:40:03 I have only vague familiarity with that nix stuff. 01:40:17 hehe, it's amazing once you get into it 01:40:43 I wasn't impressed by my exposure to it at a previous job. 01:40:45 I learned about cross-compilation recently and Nix makes it easy 01:41:04 What pain points did you experience? 01:41:08 I find cross compilation easy already, so perhaps I am just old fashioned. 01:41:31 The package management stuff. It seems extremely wasteful and solution looking for a problem. 01:41:55 A solution, rather. 01:42:15 Hm, wasteful? 01:43:04 For me it completely solves the problem of "it works on my machine" across multiple languages 01:43:46 I think we have differing requirements and use cases. 01:44:53 Yeah, that's probably true. 01:45:47 Do you work on embedded systems? 01:47:01 I do, yes. 01:53:26 --- quit: imode (Ping timeout: 240 seconds) 02:30:48 --- join: Labu joined #forth 03:07:09 --- join: jedb_ joined #forth 03:09:40 --- quit: jedb (Ping timeout: 260 seconds) 03:10:01 --- join: jedb__ joined #forth 03:13:45 --- quit: jedb_ (Ping timeout: 260 seconds) 03:26:51 --- join: TCZ joined #forth 04:06:24 --- quit: _whitelogger (Remote host closed the connection) 04:09:22 --- join: _whitelogger joined #forth 04:11:53 --- join: Gromboli joined #forth 04:19:56 --- quit: dave0 (Read error: Connection reset by peer) 04:25:10 --- join: dave0 joined #forth 05:08:46 --- nick: jedb__ -> jedb 05:28:05 --- quit: jedb (Remote host closed the connection) 05:28:19 --- join: jedb joined #forth 06:30:04 --- quit: TCZ (Quit: Leaving) 06:41:15 --- quit: proteusguy (Remote host closed the connection) 06:50:17 --- join: TCZ joined #forth 06:50:52 --- quit: dave0 (Read error: Connection reset by peer) 06:56:09 --- join: dave0 joined #forth 07:54:40 --- quit: dave0 (Quit: dave's not here) 07:59:22 --- join: DKordic joined #forth 08:08:47 --- join: proteusguy joined #forth 08:23:21 --- quit: mokulus (Ping timeout: 268 seconds) 08:29:46 --- quit: rpcope (Ping timeout: 240 seconds) 08:34:29 --- quit: proteusguy (Remote host closed the connection) 08:34:48 --- join: rpcope joined #forth 08:38:12 --- quit: the_cuckoo (Quit: WeeChat 1.9.1) 08:42:48 --- join: Zarutian_HTC joined #forth 08:51:30 --- join: imode joined #forth 08:56:56 --- join: mbomba joined #forth 10:06:50 --- join: mokulus joined #forth 10:29:17 --- quit: Zarutian_HTC (Remote host closed the connection) 10:50:13 --- quit: TCZ (Quit: Leaving) 10:51:59 --- quit: actuallybatman (Ping timeout: 264 seconds) 10:56:18 --- quit: dys (Remote host closed the connection) 10:57:12 --- join: actuallybatman joined #forth 10:57:55 --- quit: mbomba (Quit: WeeChat 2.9) 11:08:42 --- quit: sts-q (Remote host closed the connection) 11:10:13 --- join: sts-q joined #forth 11:55:57 --- join: WickedShell joined #forth 11:57:51 --- quit: actuallybatman (Quit: leaving) 11:58:11 --- join: actuallybatman joined #forth 12:14:48 --- quit: gravicappa (Ping timeout: 264 seconds) 12:15:06 --- quit: actuallybatman (Ping timeout: 240 seconds) 12:27:44 --- quit: mokulus (Ping timeout: 258 seconds) 12:55:02 --- join: TCZ joined #forth 13:12:06 --- join: actuallybatman joined #forth 13:46:22 --- join: Zarutian_HTC joined #forth 13:51:50 --- join: gravicappa joined #forth 14:02:46 --- quit: crc (Ping timeout: 240 seconds) 14:04:32 --- join: crc joined #forth 14:04:46 --- quit: gravicappa (Ping timeout: 240 seconds) 14:12:46 --- join: dys joined #forth 15:40:47 --- quit: WickedShell (Remote host closed the connection) 15:40:58 --- quit: TCZ (Quit: Leaving) 16:15:48 --- join: TCZ joined #forth 18:03:40 --- quit: Zarutian_HTC (Remote host closed the connection) 18:19:32 --- quit: TCZ (Quit: Leaving) 18:32:28 Hopefully z88dk's C libraries are standard compilant so cross-compilation of binutils works 18:50:30 --- quit: Labu (Ping timeout: 268 seconds) 18:52:58 --- join: dave0 joined #forth 19:28:18 --- quit: sts-q (Remote host closed the connection) 19:51:30 --- quit: rann (Write error: Connection reset by peer) 19:52:32 --- join: rann joined #forth 19:52:47 --- quit: ovf (Ping timeout: 268 seconds) 19:53:18 --- join: boru` joined #forth 19:53:20 --- quit: boru (Disconnected by services) 19:53:23 --- nick: boru` -> boru 19:55:37 --- join: ovf joined #forth 19:58:59 --- quit: actuallybatman (Ping timeout: 272 seconds) 20:30:26 --- join: actuallybatman joined #forth 20:31:31 --- quit: dave0 (Read error: Connection reset by peer) 20:36:45 --- join: dave0 joined #forth 21:03:57 --- quit: dave0 (Read error: Connection reset by peer) 21:08:55 --- join: dave0 joined #forth 21:20:08 --- quit: Gromboli (Read error: Connection reset by peer) 21:25:58 --- join: sts-q joined #forth 21:33:02 --- join: kori joined #forth 21:33:02 --- quit: kori (Changing host) 21:33:02 --- join: kori joined #forth 21:45:01 --- quit: sts-q (Ping timeout: 268 seconds) 21:56:50 --- join: sts-q joined #forth 21:59:21 --- join: gravicappa joined #forth 22:54:24 --- quit: _whitelogger (Remote host closed the connection) 22:57:23 --- join: _whitelogger joined #forth 23:26:18 --- quit: dddddd (Ping timeout: 272 seconds) 23:26:26 --- join: dddddd joined #forth 23:26:43 --- quit: neuro_sys (Ping timeout: 272 seconds) 23:26:54 --- join: neuro_sys joined #forth 23:26:54 --- quit: neuro_sys (Changing host) 23:26:54 --- join: neuro_sys joined #forth 23:59:59 --- log: ended forth/20.10.30