Development tools for Jehanne
Go to file
Giacomo Tesio f598a59d81 gcc: remove `--posixly`, add `-9`
The GCC option `--posixly` was introduced to enable the compilation
of POSIX code in Jehanne, assuming that building native C code
would have been the default.

However since

- GCC is itself a POSIX program and most programmers that use it
  assume a POSIX environment
- GCC is used as a cross compiler to build Jehanne from POSIX systems
- C++ will never be native in Jehanne (too much complexity for a
  system that want to be simple) and thus will always require a
  POSIX environment to build POSIX C++ code

I decided to invert the logic.

Thus now by default GCC, by default, will build POSIX programs,
loading required libraries and headers from /posix subdirectories.

The new option `-9` will remove such POSIX stuff when compiling
native C programs.
2020-09-06 12:22:37 +02:00
_gdb gdb: jhn-log-syscalls takes an optional pid argument 2018-11-20 00:52:38 +01:00
bin initial commit 2015-12-22 10:10:07 +00:00
cross gcc: remove `--posixly`, add `-9` 2020-09-06 12:22:37 +02:00
disk-setup runners: enable console at kernel command line 2017-07-31 01:03:22 +02:00
src/jehanne/cmd usyscall: purge syscall macros 2019-11-27 01:52:24 +01:00
third_party/src/github.com ufs: better simulation of glenda user 2017-08-28 21:53:25 +02:00
.gitignore .gitignore 2019-08-11 23:34:45 +02:00
.gitmodules mksh: fix submodule path 2017-09-01 01:07:26 +02:00
QA.sh QA.sh: format=raw 2018-06-05 00:06:00 +02:00
buildtools.sh various fixes 2017-01-20 01:54:11 +01:00
continuous-build.sh continuous-build.sh: update GCC version and paths 2020-09-03 00:58:28 +02:00
coverity-scan.sh coverity-scan: do nothing if not in $COVERITY_SCAN_BRANCH 2017-08-12 00:27:25 +02:00
devshell.sh devshell.sh: export JEHANNE_TOOLCHAIN 2019-12-16 01:21:36 +01:00
disk-boot-update.sh various fixes 2017-01-20 01:54:11 +01:00
disk-create.sh disk-create.sh: look for syslinux library in com32 2018-06-04 23:27:16 +02:00
disk-get.sh various fixes 2017-01-20 01:54:11 +01:00
disk-update.sh various fixes 2017-01-20 01:54:11 +01:00
drawterm.sh various fixes 2017-01-20 01:54:11 +01:00
gdb.sh gdb.sh: start gdb with useful facilities 2017-01-19 19:31:38 +01:00
nvram initial commit 2015-12-22 10:10:07 +00:00
runDisk.sh devtools: fix usbDev in runOver0P.sh and runDisk.sh 2017-12-19 00:27:32 +01:00
runOver9P.sh runOver9P.sh: add reminder for debugging `ufs` 2020-01-17 02:03:11 +01:00