public inbox for insight@sourceware.org
 help / color / mirror / Atom feed
* TCL Insight and Cygwin.....
@ 2002-09-19 22:42 Paul Breed
  2002-09-20  8:32 ` Keith Seitz
  0 siblings, 1 reply; 2+ messages in thread
From: Paul Breed @ 2002-09-19 22:42 UTC (permalink / raw)
  To: insight

Any suggestions on how to build a version of insight
that runs on cygwin and does not have broken TCL....

The current state of my efforts....
I am not a unix/linux guru and  struggle to build these tools, so please 
bare with me when I ask stupid questions....

Where I am:
I am successfully building the insight/gdb5.1.1. under insight as a cross 
debugger.
It sort of works but the TCL keeps crashing in windows.

What I am trying to do:
	Take the TCL patches Mumit Kahn so kindly provided:
		ftp://ftp.nanotech.wisc.edu/pub/khan/tcl/tcltk-8.3.4-cygwin/

and put them into the tcl sub tree of the insight-5.1.1. source so that 
when I build insight it will
build the working tcl version.

First question:
	Should I be building TCL as a seperate build from insight?
	If so any suggestions on how to modify the insight build so it won't build 
tcl and it picks up
	the right libraries from the separate TCL build?

Second Question:
	Building TCL separately exposes way too much about the insight build 
process I don't understand.
	So I am trying the following:
		1)untar the insight sources.
		2)Apply my patches for customization
		3)Copy all of the sub directories  over from the tcl new directory, 
leaving the stuff in the root insight directory unmodified.
		3a)This means any changes in the root TCL directory are not copied over.
		Any suggestions on what I should possibly change in this directory?

Lastly I'm staying up late tonight to try to work though this, I'm typing 
this as my build scripts
make their first attempt on a different machine, it may just work, but my 
confidence is low.

My first error is:

running /bin/sh 
/source/insight-5.1.1/itcl/itcl/win/configure  --host=i686-pc-cy
gwin --target=m68k-elf --prefix=/gcc-m68k 
--cache-file=../../../config.cache --s
rcdir=/source/insight-5.1.1/itcl/itcl/win
loading cache ../../../config.cache
checking host system type... i686-pc-cygwin
checking for ranlib... (cached) ranlib
checking for gcc... (cached) gcc
checking whether the C compiler (gcc -g -O2 ) works... yes
checking whether the C compiler (gcc -g -O2 ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for object suffix... (cached) o
checking for a BSD compatible install... (cached) /usr/bin/install -c
checking how to run the C preprocessor... (cached) gcc -E
checking for unistd.h... (cached) yes
checking for limits.h... (cached) yes
cd: can't cd to ../../../tcl8.1/win
configure: error: There's no tclConfig.sh in 
/build/insite/itcl/itcl/win;  perhaps you didn't specify the Tcl *build* 
directory (not the toplevel Tcl directory)
  or you forgot to configure Tcl?
configure: error: /source/insight-5.1.1/itcl/itcl/win/configure failed for 
itcl/win
Configure in /build/insite/itcl failed, exiting.


Any suggestions?

Paul 

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: TCL Insight and Cygwin.....
  2002-09-19 22:42 TCL Insight and Cygwin Paul Breed
@ 2002-09-20  8:32 ` Keith Seitz
  0 siblings, 0 replies; 2+ messages in thread
From: Keith Seitz @ 2002-09-20  8:32 UTC (permalink / raw)
  To: Paul Breed; +Cc: insight

On Thu, 19 Sep 2002, Paul Breed wrote:

> Any suggestions on how to build a version of insight
> that runs on cygwin and does not have broken TCL....

If you don't mind going back to Tcl/Tk 8.0.3, there are instructions for 
taking any version of Insight (>=5.2) and reverting to the old tcl/tk at 
http://sources.redhat.com/insight/cygwin.html .

If you want a newer version (like Tcl/Tk 8.3 or 8.4.0), well, you're going 
to have to do a lot of leg work (as you're finding out). I am attempting 
to port Tcl/Tk 8.4.0 over to cygwin now, but don't expect much for at 
least a few more weeks.

As far as building Tcl/Tk outside of the insight build, you'd probably 
have to hack up the configury for tix, libgui and gdb directories so that 
you could pass --with-tcl-dir and the like to them. I've been wanting to 
do this for some time now, but other things always seem to get in the way.

Keith

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-09-20 15:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-09-19 22:42 TCL Insight and Cygwin Paul Breed
2002-09-20  8:32 ` Keith Seitz

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).