1. Correction for using Mingw

If Mingw is to be used for compiling Euphoria code, a correction has to be made in line 435 of "buildsys.e":

l_flags &= " -mno-cygwin -lws2_32 -lcomdlg32" 

should become

l_flags &= " -mno-cygwin -lws2_32 -lcomctl32 -lcomdlg32" 
new topic     » topic index » view message » categorize

2. Re: Correction for using Mingw

ktamp said...

If Mingw is to be used for compiling Euphoria code, a correction has to be made in line 435 of "buildsys.e":

l_flags &= " -mno-cygwin -lws2_32 -lcomdlg32" 

should become

l_flags &= " -mno-cygwin -lws2_32 -lcomctl32 -lcomdlg32" 

comdlg32 is not needed for minGW or watcom only comctl32.

new topic     » goto parent     » topic index » view message » categorize

3. Re: Correction for using Mingw

Then

l_flags &= " -mno-cygwin -lws2_32 -lcomdlg32" 

should become

l_flags &= " -mno-cygwin -lws2_32 -lcomctl32" 

Actually

l_flags &= " -mno-cygwin -lws2_32 -lcomdlg32" 

should become

l_flags &= " -mno-cygwin -lws2_32 -lcomctl32" 
 
if not con_option then 
        l_flags &= " -mwindows" 
end if 

unless you want to have the nasty console opening on every windowed application.

I am not quite sure if lines 417-419 in "buildsys.e"

if not con_option then 
        c_flags &= " -mwindows" 
end if 

are useful at all.

new topic     » goto parent     » topic index » view message » categorize

4. Re: Correction for using Mingw

ktamp said...

Then

l_flags &= " -mno-cygwin -lws2_32 -lcomdlg32" 

should become

l_flags &= " -mno-cygwin -lws2_32 -lcomctl32" 

Actually

l_flags &= " -mno-cygwin -lws2_32 -lcomdlg32" 

should become

l_flags &= " -mno-cygwin -lws2_32 -lcomctl32" 
 
if not con_option then 
        l_flags &= " -mwindows" 
end if 

unless you want to have the nasty console opening on every windowed application.

I am not quite sure if lines 417-419 in "buildsys.e"

if not con_option then 
        c_flags &= " -mwindows" 
end if 

are useful at all.

see ticket:661 comctrl32 in buildsys should fix euc in 4.0.3 and greater. I just patched my local copy and forgot about it.

I'll look into your fix for -con always forced in minGW euc, that always bugged me but I never tried to fix it.

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu