delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/02/12/04:30:39

Delivered-To: listarch-cygwin AT sourceware DOT cygnus DOT com
Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Message-Id: <199902120430.WAA17805@modi.xraylith.wisc.edu>
X-Authentication-Warning: modi.xraylith.wisc.edu: LOCALHOST.xraylith.wisc.edu [127.0.0.1] didn't use HELO protocol
To: Stipe Tolj <tolj AT uni-duesseldorf DOT de>
cc: earnie_boyd AT yahoo DOT com, cygwin users <gnu-win32 AT cygnus DOT com>
Subject: Re: Jikes goes open source
In-reply-to: Your message of "Fri, 12 Feb 1999 00:58:08 +0100."
<36C36E90 DOT 57006955 AT uni-duesseldorf DOT de>
Date: Thu, 11 Feb 1999 22:30:28 -0600
From: Mumit Khan <khan AT xraylith DOT wisc DOT EDU>

Stipe Tolj <tolj AT uni-duesseldorf DOT de> writes:
> 
> That's definitly good news, since I have we have successfully compiled
> Jikes under Cygwin. Many thanks to Mumit who has been contributing.

In case I forgot the send the trivial patch, here it is:

Index: src/ChangeLog
===================================================================
RCS file: /home/khan/src/gnu/CVSROOT/jikes/src/ChangeLog,v
retrieving revision 1.1.1.1
diff -u -3 -p -r1.1.1.1 ChangeLog
--- src/ChangeLog	1999/02/12 03:35:41	1.1.1.1
+++ src/ChangeLog	1999/02/12 03:56:22
@@ -1,3 +1,9 @@
+Thu Feb 11 21:54:47 1999  Mumit Khan  <khan AT xraylith DOT wisc DOT edu>
+
+	* Makefile: Provide Cygwin definitions.
+	* config.h: Cygwin runtime lacks wide character string routines.
+	* config.cpp: Likewise.
+
 1999-02-02    <shields AT jikes DOT watson DOT ibm DOT com>
 
 	* symbol.h (class MethodSymbol): 
Index: src/Makefile
===================================================================
RCS file: /home/khan/src/gnu/CVSROOT/jikes/src/Makefile,v
retrieving revision 1.1.1.1
diff -u -3 -p -r1.1.1.1 Makefile
--- src/Makefile	1999/02/12 03:35:41	1.1.1.1
+++ src/Makefile	1999/02/12 03:42:17
@@ -131,6 +131,21 @@ LDFLAGS=-L. -o$(EXECUTABLE)
 O=o
 SYSOBJECTS=
 
+# g++ definitions (Cygwin B20+)
+CC=g++
+# use -W to see warnings (should review from time to time)
+CCREQUIREDFLAGS=-DUNIX -funsigned-char  -c -DTYPE_bool -ansi 
+CCDEBUGFLAGS=-DTEST -g
+CCOPTFLAGS=-O
+CCFLAGS=$(CCREQUIREDFLAGS) $(CCDEBUGFLAGS)
+CCFLAGS=$(CCREQUIREDFLAGS) $(CCOPTFLAGS)
+ERASE=rm -f
+EXECUTABLE=jikes.exe
+LD=g++
+LDDEBUGFLAGS=-g
+LDFLAGS=-L. -o$(EXECUTABLE)
+O=o
+SYSOBJECTS=
 
 OBJECTS=jikes.$(O) scanner.$(O) code.$(O) zip.$(O) unzip.$(O) ast.$(O) diagnose.$(O) \
 	parser.$(O) lpginput.$(O) lcase.$(O) javaact.$(O) error.$(O) set.$(O) symbol.$(O) \
Index: src/config.cpp
===================================================================
RCS file: /home/khan/src/gnu/CVSROOT/jikes/src/config.cpp,v
retrieving revision 1.1.1.1
diff -u -3 -p -r1.1.1.1 config.cpp
--- src/config.cpp	1999/02/12 03:35:41	1.1.1.1
+++ src/config.cpp	1999/02/12 03:37:52
@@ -282,7 +282,7 @@ char StringConstant::U8S_B[] = {U_B,U_NU
 #endif  
 
 
-#if defined(GNU_LIBC5)
+#if defined(GNU_LIBC5) || defined(__CYGWIN__)
 #include <sys/stat.h>
 #ifndef UNIX
     int SystemMkdir(char *dirname)
Index: src/config.h
===================================================================
RCS file: /home/khan/src/gnu/CVSROOT/jikes/src/config.h,v
retrieving revision 1.1.1.1
diff -u -3 -p -r1.1.1.1 config.h
--- src/config.h	1999/02/12 03:35:41	1.1.1.1
+++ src/config.h	1999/02/12 03:37:40
@@ -454,7 +454,7 @@ extern int SystemIsDirectory(char *name)
 #endif
 
 
-#if defined(GNU_LIBC5)
+#if defined(GNU_LIBC5) || defined(__CYGWIN__)
     extern size_t wcslen(wchar_t *);
     extern wchar_t *wcscpy(wchar_t *, wchar_t *);
     extern wchar_t *wcsncpy(wchar_t *, wchar_t *, int);

Regards,
Mumit


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019