Commit Graph

767 Commits

Author SHA1 Message Date
35da7e0223 Fix up install-built-ports.sh if ports.list is not present 2022-10-24 20:52:52 +02:00
d458c5c848 Fix kernel/Makefile 2022-10-24 20:52:11 +02:00
1716a81e82 no need to unset filter-lines 2022-10-24 20:48:57 +02:00
b17ff6319a libc: compilation fix for libc's printf 2022-10-24 20:47:00 +02:00
040fbde462 Unset LD and AR so gcc doesn't get confused 2022-10-24 18:33:29 +00:00
bd56c7f496 Unset LD and AR so binutils doesn't get confused during the build process 2022-10-24 18:32:57 +00:00
33f6765a5c libc: Make the userspace printf much better 2022-10-24 17:21:40 +02:00
315d2f9f24 libc: actually return buf in getcwd() 2022-10-24 17:08:40 +02:00
0dec5f7bad libc: Add dummy getcwd() 2022-10-24 17:05:28 +02:00
e7d41fa6dc ports: Add a little script to list installed ports 2022-10-23 20:11:30 +02:00
3db342e897 tools: only unset filter-lines if it is not set 2022-10-23 20:07:26 +02:00
2d807e3ca5 tools: Add prefix messages that tell us where we're at in a build, inspired by SerenityOS :) 2022-10-23 20:03:29 +02:00
fb0fc29087 Adjust install-built-ports.sh 2022-10-23 19:27:34 +02:00
c7598b08e0 BUILD FASTER 2022-10-23 19:27:19 +02:00
b615166373 libc: Stub out tmpfile() as well as add an empty math.h 2022-10-23 18:58:48 +02:00
58b01b74e2 Kernel, libc: Add stat() 2022-10-23 18:35:32 +02:00
0c04246300 Next version! 2022-10-23 17:24:18 +02:00
185757e2a7 600th commit!
1. Update the bc patch to remove an unnecessary line.
2. Update README.md to mention the port system.
3. Improve the port system!!
2022-10-23 17:15:38 +02:00
1a82bbb234 ports: Add a port system
The only port right now is bc, which works... kind of.
It compiles, and runs, but is really janky. At least it runs!!
2022-10-23 16:44:50 +02:00
865018e7f8 libc: Implement dirfd, rewinddir, telldir and seekdir 2022-10-23 14:59:06 +02:00
e457b88b04 Kernel, libc: Implement O_DIRECTORY and use that in dirent.h 2022-10-23 14:46:27 +02:00
8bf2904d74 libc: Implement a basic subset of dirent.h 2022-10-23 14:41:45 +02:00
32db366781 apps: Add a little ls utility that lists the files in /bin 2022-10-23 14:06:11 +02:00
14367f07b5 Kernel: Add support for getdents() to DeviceFS 2022-10-23 14:05:55 +02:00
78d72c2f0c Kernel, libc: Add a getdents() system call
This is meant to be a low-level interface to implement dirent.h on top of.
2022-10-23 14:03:46 +02:00
19ee21ae5a libc: Make string_to_integer_type static 2022-10-23 12:28:25 +02:00
35616993f8 libc: Add div(), ldiv(), and lldiv() 2022-10-23 12:26:48 +02:00
51bd7de17b libc: Patch mman.h so libgcov builds 2022-10-23 12:10:05 +02:00
43180b777e libc: Stub out qsort() 2022-10-23 11:19:08 +02:00
9dc8bfbdce libc: Define a dummy FILENAME_MAX 2022-10-23 11:17:22 +02:00
bd8825231a libc: Stub out sscanf() 2022-10-23 11:16:36 +02:00
d82238b485 libc: Add return value to ungetc() 2022-10-23 11:14:18 +02:00
d75de5f423 libc: Partially implement ungetc 2022-10-23 11:12:54 +02:00
51580bb846 libc: Add abs(), labs() and llabs()
Just needed to alias them to GCC builtins.
2022-10-23 11:10:26 +02:00
c02f2e128d libc: Stub out ungetc() 2022-10-23 10:34:49 +02:00
f0eeaa25a3 libc: More inttypes.h 2022-10-23 10:31:56 +02:00
0c33fcdff2 libc: Stub out setvbuf, and add S_ISREG 2022-10-23 10:09:20 +02:00
fa35e883d7 libc: Stub out strftime 2022-10-23 10:01:03 +02:00
8f17578e2e Update README.md 2022-10-22 21:43:55 +02:00
06f9ffc184 libc: Add EXIT_SUCCESS, EXIT_FAILURE, RAND_MAX and BUFSIZ 2022-10-22 21:39:51 +02:00
dd9b90d69d compilation fix :) 2022-10-22 21:16:51 +02:00
7600bc5582 libc: Add strings.h 2022-10-22 21:13:22 +02:00
433b307cb2 libc: Add strcoll()
No locale support, this just calls strcmp()
2022-10-22 21:00:59 +02:00
6d4d2579ab Tests: Add tests for strchrnul, strdup and strndup 2022-10-22 20:36:28 +02:00
cf94ca2a4e Kernel: Update libk's string.h 2022-10-22 19:06:06 +02:00
437f51add7 Kernel: move over the mem* functions from libc 2022-10-22 19:04:35 +02:00
4725538aa7 Tests: Add tests for memmove and memcmp + correct our memcmp implementation 2022-10-22 19:04:19 +02:00
8908faf6e2 libc: Add strchrnul()
Another GNU extension, it's ok.
2022-10-22 18:37:02 +02:00
bfbe8e847b Tests: Add tests for memset, memcpy and memchr 2022-10-22 18:33:28 +02:00
766b6d26c8 Tests: add test for strpbrk() 2022-10-22 18:09:43 +02:00