Created
May 19, 2014 20:09
-
-
Save tangentstorm/e74db33ce2d3f46a268e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ voc -M hello.Mod | |
GNU x86_64 target | |
not using voc.par file | |
hello.Mod translating hello main program 277 | |
hello.c:11:8: warning: type specifier missing, defaults to 'int' | |
[-Wimplicit-int] | |
export main(int argc, char **argv) | |
^~~~ | |
1 warning generated. | |
clang hello.c -static -o hello -fPIC -g -I /opt/voc-1.0/src/lib/system/freebsd/clang/x86_64 -I /opt/voc-1.0/lib/voc/obj -lVishapOberon -L. -L/opt/voc-1.0/lib | |
hello.c:11:8: warning: type specifier missing, defaults to 'int' | |
[-Wimplicit-int] | |
export main(int argc, char **argv) | |
^~~~ | |
1 warning generated. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
MODULE hello; | |
IMPORT Out := Console; | |
BEGIN Out.String("hello world"); Out.Ln; | |
END hello. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment