mescc: support -c, -o.
authorJan Nieuwenhuizen <janneke@gnu.org>
Wed, 17 May 2017 11:56:25 +0000 (13:56 +0200)
committerJan Nieuwenhuizen <janneke@gnu.org>
Wed, 17 May 2017 11:56:25 +0000 (13:56 +0200)
commit2027754a59086e4a4cbb11d474f33e5924ae499c
treed0ee9a02e615e805a8b8fcd584a6445f793ae9e8
parentbdd160241b4375624c61722f5b3e80d774079000
mescc: support -c, -o.

* module/language/c99/compiler.mes: Throughout: quote lambda's.
  (current-eval): New function.
  Thanks Andy!
  (object->list): New function.  Update callers.
  (c99-input->info): Dump a.o.
  (initzer->non-const, function:object->list): New functions.
  (info:object->list): New function.
  (c99-input->elf): Call it.
* module/mes/as-i386: Throughout: quote lambda's.
* scripts/mescc.mes (main): Rewrite.
* guile/mescc.scm (main): Likewise.
guile/mescc.scm
make/mescc-guile.make
make/mescc-mes.make
module/language/c99/compiler.mes
module/language/c99/compiler.scm
module/mes/elf-util.mes
module/mes/elf.mes
module/mes/libc-i386.mes
scripts/mescc.mes