Re: Compile with watcom fails
- Posted by ne1uno Apr 09, 2012
- 1844 views
wynco said...
mattlewis said...
wynco said...
Status: 1 Command: gcc -o C:|euphoria\ascii.exe init-.o ascii.o main-.0 graphic s.o types.o console.o get.o machine.o memconst.o memory.o dll.o text.o convert.o search.0 filesys.o datetime.o math.o sequence.o sort.o pretty.o graphcst.o c:\ euphoria\bin -m32don't know why it cannot find c:\euphora\bin as it is in the PATH variable or what 'Permission denied' means
It looks like it output just the directory, and not the file name for the run time library (c:\euphoria\bin\eu.a). Is your MinGW runtime library in that directory?
Matt
Thanks Matt, Looks like your right, changed the command line to
euc -gcc -lib c:\euphoria\bin\eu.a ascii.exe
and it works fine. Got a good executable.
New problem. When tried to compile one of my windows programs, got a good exe but it pops a console window when run, it doesn't when run as an exw or bound exe. How would one prevent that from happening?
this is fixed in the latest release 4.0.4, minGW adds both cflags and lflags -mwindows ok, the problem was -con option was being forced.