Create an executable for a program in an interpreted language: Difference between revisions
Content added Content deleted
m (→{{header|J}}) |
m (→{{header|J}}: less meaningless verbosity) |
||
Line 362: | Line 362: | ||
Also, under Windows, the hashbang line would be ignored, and unnecessary. For windows, there's registry entries tell windows what interpreter to use for a specific extension. So you could eliminate the first line in the above example, but you'd have to do some other work (including picking and using a specific extension). |
Also, under Windows, the hashbang line would be ignored, and unnecessary. For windows, there's registry entries tell windows what interpreter to use for a specific extension. So you could eliminate the first line in the above example, but you'd have to do some other work (including picking and using a specific extension). |
||
Meanwhile, we could do something similar with compiled C. |
Meanwhile, we could do something similar with compiled C. Here's a minimal example which builds and runs under Linux: |
||
That said, if you have your heart set on creating an executable of your own, here's a minimal example which builds and runs under Linux: |
|||
<lang C>/* github jsoftware/jsource 903-release-b */ |
<lang C>/* github jsoftware/jsource 903-release-b */ |