public inbox for xconq7@sourceware.org
 help / color / mirror / Atom feed
From: Juergen Ruehle <j.ruehle@bmiag.de>
To: Eric McDonald <mcdonald@phy.cmich.edu>
Cc: xconq7@sources.redhat.com
Subject: Re: New Xconq Windows Executable
Date: Thu, 28 Aug 2003 13:38:00 -0000	[thread overview]
Message-ID: <16205.61436.450000.631353@lapjr.intranet.kiel.bmiag.de> (raw)
In-Reply-To: <Pine.LNX.4.44.0308271226340.13659-100000@leon.phy.cmich.edu>

Eric McDonald writes:
 > On Wed, 27 Aug 2003, Jim Kingdon wrote:
 > > Hmm.  Anyone tried the tcl which comes with cygwin (
 > > http://www.cygwin.com/packages/tcltk/ )?
 > > 
 > > It would presumably be free of said licensing issue, but I don't know
 > > whether it has other issues (for example, maybe it depends on X, which
 > > would probably be more trouble than it is worth).
 > 
 > Yes, it does depend on the Cygwin XFree86 X libraries. We would 
 > then need to have people install the Cygwin XFree86 stuff (which, 
 > IMO, is much more stable than 2 years ago). And they would 
 > essentially be playing Unix Xconq in an X display on their Windows 
 > machine.

Actually no: the cygwin tk does not depend on X, but it doesn't
contain the right headers either. You have to download the source to
the tcl/tk package, extract the headers, and configure using

 --x-includes=<<tk's xlib header directory, e.g. /usr/include/tk/xlib>>

(Probably the same you are doing to compile with the AS package).
Otherwise configure will find the standard X11 headers which are
incompatible and the resulting application will crash on startup.

Also it seems there is still some tweaking of at least win/Makefile.in
neccessary. it would be nice if somebody could commit something along
the lines of (one still has to muck with TCLTKLIB, but I see no way to
autodetect this):

===================================================================
RCS file: /cvs/xconq/xconq/win/Makefile.in,v
retrieving revision 1.7
diff -b -B -d -u -I\$$ -r1.7 Makefile.in
--- win/Makefile.in	28 Aug 2003 04:04:00 -0000	1.7
+++ win/Makefile.in	28 Aug 2003 10:55:40 -0000
@@ -56,6 +55,8 @@
 
 TKIAPP_LIB = ../tcltk/libtkiapp.a
 
+MAIN = ../tcltk/tkwin32.o
+
 # Host and target-dependent makefile fragments come in here.
 ####
 # End of host and target-dependent makefile fragments.
@@ -94,20 +95,18 @@
 
 WIN_CFLAGS = -mwindows
 
-ALL_CFLAGS = $(CFLAGS) $(HFLAGS) $(REQD_CFLAGS) $(WIN_CFLAGS) -I$(srcdir) -I$(srcdir)/.. -I$(krnsrcdir) -I$(srcdir)/../tcl/generic -I$(srcdir)/../tk/generic
-
-.c.o:
-	$(CC) -c $(ALL_CFLAGS) $<
-
 # Do it all.
 
 all:	xconq
 
 # The game itself.
 
-xconq: wconq.o $(TKUI_LIB) $(TKIMF_LIB) $(KERNEL_LIB) $(LOW_LIB)
-	rm -f xconq
-	$(CC) -o xconq $(ALL_CFLAGS) $(LDFLAGS) wconq.o $(TKUI_LIB) $(TKIMF_LIB) $(KERNEL_LIB) $(LOW_LIB) $(WITH_LIBS) $(TCLTK_LIB) $(NET_EXTRA_LIBS)
+xconq: $(MAIN) $(TKUI_LIB) $(TKIMF_LIB) $(KERNEL_LIB) $(LOW_LIB)
+	rm -f xconq.exe
+	$(CC) -o xconq $(WIN_CFLAGS) $(LDFLAGS) $(MAIN) $(TKUI_LIB) $(TKIMF_LIB) $(KERNEL_LIB) $(LOW_LIB) $(WITH_LIBS) $(TCLTK_LIB) $(NET_EXTRA_LIBS)
+
+$(MAIN):
+	(cd ../tcltk; make tkwin32.o)
 
 $(KERNEL_LIB):
 	(cd ../kernel; make libconq.a)
@@ -134,7 +133,7 @@
 
 clean:
 	rm -f *.o lint.out core
-	rm -f xconq xconq.6 *.conq *.xconq
+	rm -f xconq.exe xconq.6 *.conq *.xconq
 
 distclean: clean
 	rm -f Makefile config.status
===================================================================


Regards,

	jr

  parent reply	other threads:[~2003-08-28 12:06 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-08-27  4:29 Eric McDonald
2003-08-27 16:17 ` Eric McDonald
2003-08-27 16:37 ` Jim Kingdon
2003-08-27 17:20   ` Eric McDonald
2003-08-27 18:40     ` Hans Ronne
2003-08-27 19:53       ` Eric McDonald
2003-08-28  3:26         ` Hans Ronne
2003-08-28 13:38     ` Juergen Ruehle [this message]
2003-08-29  0:44       ` Eric McDonald
2003-08-29  8:35       ` Eric McDonald
2003-08-29 15:22         ` Juergen Ruehle
2003-08-30  5:47           ` Eric McDonald
2003-08-29  9:06       ` Hans Ronne
2003-08-29 15:57         ` Eric McDonald
2003-09-05  4:54         ` Tcl/Tk Interface Unification (was Re: New Xconq Windows Executable) Eric McDonald
2003-09-05 15:06           ` Hans Ronne
2003-09-05 15:51             ` Eric McDonald
2003-09-06  6:05               ` Hans Ronne
2003-09-15  3:43             ` Tcl/Tk Interface Unification Eric McDonald
2003-09-15  3:50               ` Hans Ronne
2003-09-15 14:32                 ` Eric McDonald
2003-09-15 18:39                   ` Hans Ronne
2003-09-15 19:38                     ` Eric McDonald
2003-09-15 23:31                       ` Hans Ronne
2003-09-16 13:53                     ` Build system overhaul (Was: Tcl/Tk Interface Unification) Juergen Ruehle
2003-09-16 18:15                       ` Eric McDonald
2003-09-16 20:23                       ` Eric McDonald
2003-09-17 10:32                         ` Hans Ronne
2003-09-17 15:54                         ` Juergen Ruehle
2003-09-18  2:37                           ` Build system overhaul Eric McDonald
2003-09-08 17:46         ` Tcl/Tk Interface Unification (was Re: New Xconq Windows Executable) Eric McDonald
2003-08-27 18:04 New Xconq Windows Executable Bill Macon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=16205.61436.450000.631353@lapjr.intranet.kiel.bmiag.de \
    --to=j.ruehle@bmiag.de \
    --cc=mcdonald@phy.cmich.edu \
    --cc=xconq7@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).