Commit Graph

238 Commits

Author SHA1 Message Date
Giacomo Tesio 88889951db native gcc: draft libmpfr (not working) 2018-11-26 01:52:25 +01:00
Giacomo Tesio e0db397862 native gcc: build libgmp 2018-11-26 00:57:13 +01:00
Giacomo Tesio 219d3b8cc1 Merge branch 'master' of https://github.com/JehanneOS/devtools 2018-11-21 00:31:27 +01:00
Giacomo Tesio 2e4d391394 mksh: update 2018-11-21 00:05:45 +01:00
Giacomo Tesio 2dfb75949a merge 2018-11-20 21:15:38 +01:00
Giacomo Tesio 43d27b7803 gdb: jhn-log-syscalls takes an optional pid argument 2018-11-20 00:52:38 +01:00
Giacomo Tesio f51357ecd2 newlib: more posix functions 2018-11-20 00:50:26 +01:00
Giacomo Tesio 55c6d4dfb8 runOver9P.sh: remove empty line 2018-11-20 00:18:38 +01:00
Giacomo Tesio 707d102922 QA.sh: format=raw 2018-06-05 00:06:00 +02:00
Giacomo Tesio ec373032c5 disk-create.sh: look for syslinux library in com32 2018-06-04 23:27:16 +02:00
Giacomo Tesio 7ee2b99c37 newlib: add support for O_NONBLOCK 2018-01-15 22:43:03 +01:00
Giacomo Tesio 5cd196c929 cross/pkgs: update newlib and mksh (thanks Thorsten!) 2018-01-06 02:38:10 +01:00
Giacomo Tesio e451b1b7e9 mksh: install in /cmd/mksh instead of /cmd/sh 2017-12-29 22:58:24 +01:00
Giacomo Tesio 2b55730b0d newlib: support ioctl for TIOCGWINSZ and TIOCSWINSZ; mksh improvements 2017-12-22 00:39:05 +01:00
Giacomo Tesio ba36ad5a30 mksh: fix build.sh logging 2017-12-22 00:26:38 +01:00
Giacomo Tesio 33779334f1 mksh: simplify Build.sh 2017-12-21 07:49:37 +01:00
Giacomo Tesio 3ad20858a4 devtools: fix usbDev in runOver0P.sh and runDisk.sh 2017-12-19 00:27:32 +01:00
Giacomo Tesio 61e5639399 cross-pkgs: build newlib and mksh 2017-12-19 00:19:23 +01:00
Giacomo Tesio d23164d2a8 mksh: .gitignore 2017-12-19 00:18:26 +01:00
Giacomo Tesio 949ca19440 mksh: better build 2017-12-19 00:07:41 +01:00
Giacomo Tesio 86c2386c1c devtools: simplify newlib's build; add mksh build 2017-12-18 00:16:35 +01:00
Giacomo Tesio 171be01bc5 ksyscalls: mark syscalls done by note handler with ! 2017-11-24 23:12:51 +01:00
Giacomo Tesio 7baa50dd83 devtools: ksyscalls: set ExitPrint for fd2path, await and errstr 2017-11-22 02:39:00 +01:00
Giacomo Tesio 0a24d1ca1e mksh: no need for build/init_libc.c 2017-11-20 00:45:25 +01:00
Giacomo Tesio ee6977c8da ksyscalls: fix newlines and spaces 2017-11-17 00:46:47 +01:00
Giacomo Tesio e7e208bc06 mksh: rfork(RFENVG|RFFDG|RFREND|RFNOTEG) on init 2017-10-06 00:27:11 +02:00
Giacomo Tesio e0dd5825e2 mksh: rfork(RFENVG) on application init 2017-10-03 22:28:14 +02:00
Giacomo Tesio d98051f943 mksh: build in build/ dir; enable SIGCHLD
To build in mksh/build/ directory use:

  TARGET_OS=Jehanne CC=x86_64-jehanne-gcc CPPFLAGS="-g -ggdb -gdwarf-2 -O0" sh ../src/Build.sh -r
2017-09-26 01:09:43 +02:00
Giacomo Tesio d56055cf58 build.go: better rename of library objects 2017-09-20 00:14:07 +02:00
Giacomo Tesio 4970422b30 Merge remote-tracking branch 'origin/master' 2017-09-14 01:08:53 +02:00
Giacomo Tesio 5d8c601184 build.go: prefix library name to generated object files 2017-09-14 00:47:48 +02:00
Giacomo Tesio d4017ca6a9 mksh: define MKSH__NO_SYMLINK since Jehanne does not support them 2017-09-07 23:36:46 +02:00
Giacomo Tesio 5384da007a newlib: add rename and getpgid 2017-09-07 23:35:48 +02:00
Giacomo Tesio ba50776c90 newlib: add umask, chmod and fchmodat 2017-09-06 23:03:27 +02:00
Giacomo Tesio e286892bf9 fix #4 (really): use -device and -netdev options instead of -redir
The correct arguments to qemu are

	-netdev user,id=ethernet.0,hostfwd=tcp::5555-:1522,hostfwd=tcp::9999-:9,hostfwd=tcp::17010-:17010,hostfwd=tcp::17013-:17013
		to forward several host ports to the guests ports on ethernet.0
	-device rtl8139,netdev=ethernet.0
		to define the emulated hardware of ethernet.0

They are both required and the netdev's value of the -device option
must match the id's value of the -netdev option.
2017-09-04 22:56:36 +02:00
Giacomo Tesio 39de8b3851 mksh: no need for MKSH_NO_SIGSETJMP 2017-09-04 00:01:03 +02:00
Giacomo Tesio c67d96c262 newlib: add readlink and readlinkat 2017-09-03 23:58:59 +02:00
Giacomo Tesio 7e7d05ccc3 newlib: lstat, dup, dup2, getrusage and setjmp/longjmp 2017-09-03 22:28:50 +02:00
Giacomo Tesio 1c7d2a35fd fix #4: avoid qemu -redir option (thanks R41z) 2017-09-01 01:58:05 +02:00
Giacomo Tesio 9aabccdc3c mksh: fix submodule path 2017-09-01 01:07:26 +02:00
Giacomo Tesio 1bd4718a1b coverity: try to disable coverity scan for newlib 2017-09-01 00:50:43 +02:00
Giacomo Tesio 4a2ba8e03f start port of MirBSD Korn Shell 2017-09-01 00:45:54 +02:00
Giacomo Tesio c43299605e newlib: add chmod functions (just calling libposix) 2017-08-31 01:35:35 +02:00
Giacomo Tesio b7a9f208c3 QA.sh & runOver9P.sh: introduce qemu-user boot parameter 2017-08-30 23:15:17 +02:00
Giacomo Tesio 7b8ebef97c cross-toolchain: terminate init.sh when fetch fails (thanks R41z) 2017-08-30 23:11:16 +02:00
Giacomo Tesio 83eeb61e84 newlib: add access(2) 2017-08-28 21:56:27 +02:00
Giacomo Tesio 842aa7d30e ufs: better simulation of glenda user 2017-08-28 21:53:25 +02:00
Giacomo Tesio a623ffe52b newlib: initialize timeval and timezone reader for libposix 2017-08-25 23:29:59 +02:00
Giacomo Tesio fbf1f21d60 newlib: fix open_translator 2017-08-24 00:12:58 +02:00
Giacomo Tesio b34ddb3697 newlib.sh: print done when done 2017-08-23 05:31:00 +02:00