Subject: (Fwd) Building dejagnu - tcl-diff
From: "Gerrit P. Haase" <[email-masked]>
To: [email-masked]
Date: Wed, 3 Jan 2001 15:55:08 +0100

Hi cygwinners,

tried to build dejagnu from cvs-sources. I reported the first error 
after i found the missing headers, now i've done this little fix in 
the Makefile, (appended below). stub16.c compiled fine after that, 
but then i got a lot of parse errors during rest of make. What is 
wrong? Any suggests please...

Is it correct, that make went to tcl/win to compile? 
Shouldn't it be tcl/unix?

Is this patch useful?
======================BEGIN==========================================
diff -ur tcl-orig/win/Makefile.in tcl/win/Makefile.in
--- tcl-orig/win/Makefile.in	Thu Jun  8 03:26:03 2000
+++ tcl/win/Makefile.in	Wed Jan  3 13:21:07 2001
@@ -518,12 +518,12 @@
 ifeq ($(OBJEXT),o)
 
 $(TCLPIPEDLL): $(WINDIR)/stub16.c
-	$(CC) -c $(CON_CFLAGS) $(WINDIR)/stub16.c
+	$(CC) -c $(CON_CFLAGS) $(CFLAGS) $(WINDIR)/stub16.c
 	$(CC) $(linkdebug) $(conlflags) -o $@ $(TMPDIR)/stub16.$(OBJEXT) 
$(guilibs)
 else
 
 $(TCLPIPEDLL): $(WINDIR)/stub16.c
-	$(CC) -c $(CON_CFLAGS) -Fo$(TMPDIR)/ $(WINDIR)/stub16.c
+	$(CC) -c $(CON_CFLAGS) $(CFLAGS) -Fo$(TMPDIR)/ $(WINDIR)/stub16.c
 	link $(ldebug) $(conlflags) -out:$@ $(TMPDIR)/stub16.obj 
$(guilibsdll)
 endif
==============================END=====================================
Gerrit
gph
--
[email-masked]
PGP Version: 6.5.8 Public Key Information
KeyID: 0xC8C9D69A, Type/Size: DH/DSS 2048/1024bit 
Key fingerprint = 57C8 1B1D CFE4 8515 AA3E  4499 A326 0F3C C8C9 D69A

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple