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

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



On Thu, 2010-04-29 at 15:23 +0200, Duncan Drennan wrote:
> > Are you building yourself?
> >
> > Just add the -mwindows flag to the linker command line and the console
> > will go away.
> >
> > Fixing up the Makefiles to add $(MINGW_GUI_LDFLAGS) to the
> > gschem_LDFLAGS variables should fix the issue. (And similar for
> > gattrib).
> 
> Thanks for the help Peter, I'll have a look at that (I am building it
> myself). I *really* appreciate the effort you've put in to the Win32
> builds, and all the help you've given me with various questions.

Thanks for the testing!

I've got a patch ready for testing (attached), and if you can confirm it
works, I'll push it to git HEAD once Ales declares the servers are ready
for use again.

It is probably also a candidate for the 1.6.x stable series if we end up
releasing a 1.6.2 version.

-- 
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)
diff --git a/gattrib/src/Makefile.am b/gattrib/src/Makefile.am
index 623b639..a8b8851 100644
--- a/gattrib/src/Makefile.am
+++ b/gattrib/src/Makefile.am
@@ -34,10 +34,10 @@ gattrib_SOURCES = \
 gattrib_CPPFLAGS = -I$(top_srcdir)/libgeda/include \
 	-I$(srcdir)/../include -I$(top_srcdir) -I$(includedir)
 gattrib_CFLAGS = $(GCC_CFLAGS) $(GLIB_CFLAGS) \
-	$(MINGW_CFLAGS) $(MINGW_GUI_CFLAGS) \
+	$(MINGW_CFLAGS) \
 	$(GTK_CFLAGS) $(GTHREAD_CFLAGS) $(GUILE_CFLAGS)
 gattrib_LDFLAGS = $(GLIB_LIBS) $(GTK_LIBS) $(GTHREAD_LIBS) \
-	$(GUILE_LIBS)
+	$(GUILE_LIBS) $(MINGW_GUI_CFLAGS)
 gattrib_LDADD = $(top_builddir)/libgeda/src/libgeda.la
 
 MOSTLYCLEANFILES = *.log *.ps core FILE *~ #*# 
diff --git a/gschem/src/Makefile.am b/gschem/src/Makefile.am
index 2c2ffd3..4e04085 100644
--- a/gschem/src/Makefile.am
+++ b/gschem/src/Makefile.am
@@ -71,10 +71,10 @@ gschem_SOURCES = \
 gschem_CPPFLAGS = -I$(top_srcdir)/libgeda/include  -I$(srcdir)/../include \
 	-I$(top_srcdir) -I$(includedir) -I$(top_srcdir)/intl
 gschem_CFLAGS = $(GCC_CFLAGS) $(LIBSTROKE_CFLAGS) \
-	$(MINGW_CFLAGS) $(MINGW_GUI_CFLAGS) \
+	$(MINGW_CFLAGS) \
 	$(GLIB_CFLAGS) $(GTK_CFLAGS) $(GTHREAD_CFLAGS) $(GUILE_CFLAGS)
 gschem_LDFLAGS = $(LIBSTROKE_LDFLAGS) $(GLIB_LIBS) $(GTK_LIBS) \
-	$(GTHREAD_LIBS) $(GUILE_LIBS)
+	$(GTHREAD_LIBS) $(GUILE_LIBS) $(MINGW_GUI_LDFLAGS)
 gschem_LDADD = $(top_builddir)/libgeda/src/libgeda.la @LIBINTL@
 
 localedir = @datadir@/locale

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