Re: Compile with watcom fails
- Posted by jimcbrown (admin) Apr 09, 2012
- 1835 views
generated the 50 .c files and the makefile fine. Edited the makefile to include -mwindows in the lflags line. After running euc, it instructed to switch to tempdir and type
make -f MyDatabase.mak
Note: ascii was the console program I compiled earlier, MyDatabase is a small GUI database for personal use.
Got an error message stating that 'make' is not a valid internal or external command.
is 'make' a program file like 'euc' or an operator for another program file? Searched the euphoria directory and sub directories but could not find a file named 'make'.
Well, 'make' is not part of Euphoria, it is its own package. I expected that most people who have gcc installed would have had gnumake installed as well.
Mingw-make would probably work as well.
Alternatively, do this:
euc -verbose -keep -build-dir tempdir -gcc -lib ...etc...
Then you can manually run the command to link the various .o files into your .exe file and add the -mwindows option in there. With the verbose option, euc will even give you the command lines that it runs to generate the .o files and the .exe file.