| 14 Jan 2024 |
samueldr | it might be the structure of the libc package that is at fault here | 22:51:28 |
samueldr | handling some other misc. stuff at the moment, but I'll try a few things to hopefully fix that | 22:52:06 |
trofi | Yeah, looks like in-place gcc... -E -traditional-cpp fails with conftest.c:13:2: fatal error: assert.h: No such file or directory before it falls back to /lib/cpp. Try to add an assert.h into a root folder. | 23:02:23 |
trofi | * Yeah, looks like in-place gcc... -E -traditional-cpp fails with conftest.c:13:2: fatal error: assert.h: No such file or directory before it falls back to /lib/cpp. Try to add an assert.h into a root folder of your libc headers. | 23:02:41 |
samueldr | thanks for that legwork | 23:03:28 |
samueldr | it is part of the other "non-common" sdk bits | 23:03:41 |
samueldr | I'm cleaning up the "common" bits right now to better handle that afterward | 23:04:10 |
| 15 Jan 2024 |
samueldr | neat!
/nix/store/hc0k7rs4jjb8m75z0h9nyy1nxq9ag4v1-i386-unknown-gnu-binutils-2.40/bin/i386-unknown-gnu-ld: cannot find crti.o: No such file or directory
/nix/store/hc0k7rs4jjb8m75z0h9nyy1nxq9ag4v1-i386-unknown-gnu-binutils-2.40/bin/i386-unknown-gnu-ld: cannot find -lc: No such file or directory
/nix/store/hc0k7rs4jjb8m75z0h9nyy1nxq9ag4v1-i386-unknown-gnu-binutils-2.40/bin/i386-unknown-gnu-ld: cannot find crtn.o: No such file or directory
collect2: error: ld returned 1 exit status
it means it's actually attempting to link with the libc! | 01:08:16 |
samueldr | (which was an issue I knew I'd need to handle) | 01:08:39 |
samueldr | (not stuck yet, looking into the specs files, what they are, etc...) | 01:28:54 |
samueldr | oh, I don't exactly like that they're generated from the built compiler | 02:07:34 |
samueldr | ah, though seems relatively straightforwardly part of \.h files | 02:08:28 |
samueldr | * ah, though seems relatively straightforwardly part of .h files | 02:08:31 |
samueldr | can't build hello, but I'm not surprised by that | 05:47:11 |
samueldr | lib/getprogname.c: In function 'getprogname':
lib/getprogname.c:287:4: error: #error "getprogname module not ported to this OS"
# error "getprogname module not ported to this OS"
| 05:47:14 |
samueldr |  Download clipboard.png | 06:07:13 |
samueldr | some (a couple) crimes still to be managed, but the proof is the binary works | 06:07:29 |
raitobezarius | Ok Nix when now | 06:37:53 |
samueldr | it's not even unix | 06:38:04 |
raitobezarius | Never heard it mattered for Nix :> | 06:38:25 |
samueldr | it doesn't have the concept of directories, or files | 06:38:38 |
samueldr | (both are the same, they're records) | 06:38:50 |
samueldr | (not that it would actually prevent Nix from maybe be a thing) | 06:39:16 |
raitobezarius | If I squint the Nix store is a bunch of records I'm sure :> | 06:39:17 |
raitobezarius | Joke aside, can you compile more complicated stuff now? | 06:39:27 |
samueldr | cleaning it up, and deciding the best way forward then | 06:39:53 |
raitobezarius | Like does git run on that ? :D | 06:39:55 |
samueldr | not as far as I know | 06:40:02 |
raitobezarius | Fascinating | 06:40:17 |
samueldr | right now I only have my crimes done in gcc 4.9 | 06:40:33 |