|
From: Tatsuro M. <tma...@ya...> - 2009-09-29 01:18:08
|
Hello After discussion with Vadim Zeitlin, who is one of the developer of wxWidget, in the following address http://groups.google.co.jp/group/wx-dev/browse_thread/thread/65a3af28e9a21bca/89264cf1c66e16f3#89264cf1c66e16f3 I consider two different patch. First one, 'makefile.mgw.1.patch' is the same as that I have proposed in the previous post. Second one is add overrideng option to when PIPES flag is on: 'makefile.mgw.2.patch' First patch: - WX_LIBS = $(shell wx-config --libs) + WX_LIBS = $(shell wx-config --libs | sed -e 's/ -Wl,--subsystem,windows -mwindows//') This removes '-Wl,--subsystem,windows -mwindows' flag Second patch: WX_LIBS = $(shell wx-config --libs) + ifdef PIPES + WX_LIBS += -Wl,--subsystem,console + endif add overrideing option for gnuplot.exe and wgnuplot_pipes.exe I cannot figure out which is better. Please discuss this matter and produce better patch. Of course, more smart ideas are highly welcome. Regards Tatsuro --- Tatsuro MATSUOKA wrote: > My proposal was rejected by the wxWidgets developper. > > http://groups.google.co.jp/group/wx-dev/browse_thread/thread/65a3af28e9a21bca# > > However I can get useful information for disabling the the flag '-Wl,--subsystem,windows > -mwindows': > override it by a subsequent -Wl,--subsequent,console. > > > I will reconsider the patch. -------------------------------------- Yahoo! JAPAN - Internet Security for teenagers and parents. http://pr.mail.yahoo.co.jp/security/ |