chuggafan
chuggafan
I've taken a quick gander over at the llvm libc area.... it would require *a lot* of refactoring I believe... I also don't believe they have the `pi` functions, which...
Ok, so I've done some testing, I've figured out *how* to get the readout from `posix_spawn` properly, thankfully, it's not *too* bad, it's just annoying because I have to juggle...
Minor update: I've integrated the aforementioned code, current status is that it is able to run once, before getting a return of "EBADF" on the 2nd run, I have *no*...
Well... I got back to this. I think I found my answer to this weird question by running omake on the OrangeC repo: ``` Failed to spawn, errno: 2, err:...
``` gcc -O3 -Wextra -Wall -pedantic -c -o test_spawn.o test_spawn.c /bin/bash -c -- gcc -O3 -Wextra -Wall -pedantic -c -o test_spawn.o test_spawn.c Env: .DEFAULT_GOAL= Env: .FEATURES=second-expansion order-only target-specific Env: .INCLUDE_DIRS=...
Hmmm, re-looking with more info this might be an artifact of posix_spawn_file_actions_addclose only performing a `fnctl` call in posix_spawn and that kicks an EBADF?
I figured it out, I forgot to actually fill in the pipe by calling `pipe`, so when I attempt to open a new pipe it fails the 2nd go around....
Current status with the new build: The current make program *does not* handle `Makefile` and `makefile` simultaneously, as linux is case sensitive, I would prefer a fallback system of something...
I'm actually still working on a few issues with omake running on the OrangeC repo, notably, if I try to run it, it will try calling `/homeuseromake.exe` if I place...
Well, since I'm not the repository owner, and this was changed from draft by the repo owner, I can't exactly do that anymore, thanks github.