[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: gEDA-user: suppress command line window in Win32 build



thats not the window he's talking about.
how about actually running the windows build.

On Thu, Apr 29, 2010 at 9:17 PM, Peter Clifton <pcjc2@xxxxxxxxx> wrote:
> On Thu, 2010-04-29 at 14:01 +0200, Duncan Drennan wrote:
>> Hi,
>>
>> Is there a way to suppress the command prompt window in the Win32
>> builds? Does anyone have any idea what causes that artefact to arise?
>
> Are you building yourself?
>
> Just add the -mwindows flag to the linker command line and the console
> will go away.
>
> I believe it will also stop any debugging output from the console (if
> you do run it from cmd.exe).
>
> A quick grep reveals we set the "MINGW_GUI_LDFLAGS", but we don't
> actually include it from any of our GUI applications, there is a
> "thinko", and we use the variable "MINGW_GUI_CFLAGS", which is
> incorrect:
>
> pcjc2@pcjc2lap:~/gedasrc/git$ grep MINGW_GUI_LDFLAGS *  -R --include "Makefile\.am"
> pcjc2@pcjc2lap:~/gedasrc/git$ grep MINGW_GUI_CFLAGS *  -R --include "Makefile\.am"
> gattrib/src/Makefile.am:        $(MINGW_CFLAGS) $(MINGW_GUI_CFLAGS) \
> gschem/src/Makefile.am: $(MINGW_CFLAGS) $(MINGW_GUI_CFLAGS) \
>
> pcjc2@pcjc2lap:~/gedasrc/git$ grep MINGW_GUI_LDFLAGS m4/*  -R
> m4/geda-windows.m4:      MINGW_GUI_LDFLAGS=-mwindows
> m4/geda-windows.m4:  AC_SUBST(MINGW_GUI_LDFLAGS)
> pcjc2@pcjc2lap:~/gedasrc/git$ grep MINGW_GUI_CFLAGS m4/*  -R
>
>
> Fixing up the Makefiles to add $(MINGW_GUI_LDFLAGS) to the
> gschem_LDFLAGS variables should fix the issue. (And similar for
> gattrib).
>
> --
> Peter Clifton
>
> Electrical Engineering Division,
> Engineering Department,
> University of Cambridge,
> 9, JJ Thomson Avenue,
> Cambridge
> CB3 0FA
>
> Tel: +44 (0)7729 980173 - (No signal in the lab!)
> Tel: +44 (0)1223 748328 - (Shared lab phone, ask for me)
>
>
>
> _______________________________________________
> geda-user mailing list
> geda-user@xxxxxxxxxxxxxx
> http://www.seul.org/cgi-bin/mailman/listinfo/geda-user
>


_______________________________________________
geda-user mailing list
geda-user@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user