Descriptionpkg/runtime/goc2c: tweaked to compile using the legacy Plan 9 compiler.
pkg/runtime/Makefile:
. Adjusted so "goc2c.c" is built using the Plan 9 libraries.
pkg/runtime/goc2c.c:
. Added/subtracted #include headers to correspond to Plan 9
toolkit.
. Changed fprintf(stderr,...)/exit() combinations to
sysfatal() calls, adjusted the "%u" format to "%ud".
. Added exits(0) at the end of main().
. Made main() a void-returning function and removed the
"return 0" at the end of it.
Tested on UBUNTU and Plan 9 only.
Patch Set 1 #Patch Set 2 : diff -r b5354b8beea1 https://go.googlecode.com/hg/ #
Total comments: 5
Patch Set 3 : diff -r fa6814569009 https://go.googlecode.com/hg/ #
Total comments: 1
Patch Set 4 : diff -r 353a5cdb24e0 https://go.googlecode.com/hg/ #
MessagesTotal messages: 17
|