Re: compiler-matt
- Posted by mattlewis (admin) Oct 19, 2010
- 1183 views
i use euphoria 3.1 and watcom 1.9.just show me the steps to compile a file.EX.opening the compiler and just like that
It's very similar:
> ec.exe myprog.ex > ecw.exe myprog.ex > ecw.exe -CON myprog.ex > emake.bat
There is a DOS (ec.exe) and Windows (ecw.exe) translator. When translating for Windows, the default is a GUI execetable. If you use the -CON parameter, you'll get a console app. The difference is that when you run a console app, it stays in your opened console (assuming you ran it from the command line), and prompt won't return until it exits. With a GUI app, it detatches from your console, and the prompt returns immediately.
The translator generates the emake.bat file, which contains the commands to call the compiler and linker, and will delete the C files when it finishes (unless you also use the -keep option).
Matt