MirBSD Korn Shell for Jehanne
Go to file
tg faaa517636 • deprecate¹ -longoptions in favour of short options
‣ -combine → -c combine
  ‣ -llvm → -c llvm -O
  ‣ -llvm=x → -c llvm -o x
  ‣ -valgrind → -g²
• new option -v (version)
• new options -c (compile mode³), -o (opt flags), -O (reset opt flags)
• opt flags default to -std-compile-opts (llvm) now
• support⁴ the LLVM dragonegg plugin for GCC
• sync list of removed files (*.bc, *.ll, add missing Rebuild.sh)

① old options still valid but emit a warning
② except this one
③ compile modes are:
  • normal
  • makefile (-M)
  • combine (old -combine, new -c combine)
  • dragonegg (new -c dragonegg)
  • llvm (old -llvm, old -llvm=*, new -c llvm)
  the first two are not settable via -c though…
④ sample use:
  tg@seduxbox:~/x$ export PATH=$PATH:/opt/llvm/bin
  tg@seduxbox:~/x$ CC='/opt/gcc-4.5.1/bin/gcc-4.5.1 -fplugin=/opt/llvm/lib/dragonegg.so' sh ../mksh/Build.sh -c dragonegg -r

Thanks to «dileX:#grml» for giving ssh access.
2010-05-13 18:41:13 +00:00
Build.sh • deprecate¹ -longoptions in favour of short options 2010-05-13 18:41:13 +00:00
Makefile re-vamp __attribute__ handling; let this pass on HP-UX bundled compiler 2009-12-12 22:27:10 +00:00
check.pl more KNF, mostly whitespace, this time more manual labour applying style(9) 2009-06-10 18:12:51 +00:00
check.t address two performance issues in do_realpath(): 2010-04-27 21:39:09 +00:00
dot.mkshrc some OSes pre-define $ENV; let this be another hint to their users 2010-02-25 20:48:10 +00:00
edit.c Let hi-bit7 characters be “motion characters” for the Emacs editing mode; 2010-03-27 15:26:19 +00:00
emacsfn.h * shrink MKSH_SMALL even further by removing functionality like 2009-09-23 18:04:58 +00:00
eval.c Fourth time’s a charm… another bugfix related to the commitids 2010-04-20 09:10:07 +00:00
exec.c Fix two more POSIX conformance bugs and minor documentation/comment issues 2010-04-08 13:21:08 +00:00
expr.c remove some debugging code 2010-01-25 14:38:04 +00:00
funcs.c address two performance issues in do_realpath(): 2010-04-27 21:39:09 +00:00
histrap.c remove some more of this ugliness 2010-01-29 09:34:31 +00:00
jobs.c jobs.c: apply patch from deraadt@o: 2009-12-31 14:05:44 +00:00
lalloc.c While mksh R39 builds fine on MirOS #7s8E on my trusty sparc, pgcc 2.95.3 2009-08-08 13:08:53 +00:00
lex.c Fix two more POSIX conformance bugs and minor documentation/comment issues 2010-04-08 13:21:08 +00:00
main.c add MKSH_DEFAULT_TMPDIR 2010-04-20 17:28:20 +00:00
misc.c remove some more of this ugliness 2010-01-29 09:34:31 +00:00
mksh.1 oksh merge 2010-04-09 18:59:30 +00:00
setmode.c more KNF, mostly whitespace, this time more manual labour applying style(9) 2009-06-10 18:12:51 +00:00
sh.h address two performance issues in do_realpath(): 2010-04-27 21:39:09 +00:00
sh_flags.h To solve the incompatibility issues between mksh-current, old mksh versions 2010-01-28 15:18:51 +00:00
shf.c /me is annoyed 2009-11-28 14:28:03 +00:00
strlcpy.c more KNF, mostly whitespace, this time more manual labour applying style(9) 2009-06-10 18:12:51 +00:00
syn.c re-vamp __attribute__ handling; let this pass on HP-UX bundled compiler 2009-12-12 22:27:10 +00:00
tree.c (hopefully) fix the substitution thing for good 2010-02-25 20:18:19 +00:00
var.c Add some assertions – mkssert() – for things clang’s scan-build can’t see 2010-01-28 20:26:52 +00:00
var_spec.h further optimise and simplify the handling of $RANDOM, reads and writes 2009-09-26 03:40:03 +00:00