Created
May 31, 2014 22:08
-
-
Save toshok/21a8100a1d9e5626f57e to your computer and use it in GitHub Desktop.
ejs hello world on 64 bit linux
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
toshok@ubuntu:~/src/echo-js/test$ cat hello-world.js | |
console.log("hello world!"); | |
toshok@ubuntu:~/src/echo-js/test$ ../ejs --target linux_amd64 hello-world.js | |
COMPILE hello-world.js | |
LINK hello-world.js.exe | |
done. | |
toshok@ubuntu:~/src/echo-js/test$ file hello-world.js.exe | |
hello-world.js.exe: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.24, BuildID[sha1]=c1d04704e87bbc85a398160e9125c2864b2da659, not stripped | |
toshok@ubuntu:~/src/echo-js/test$ ./hello-world.js.exe | |
hello world! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment