[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Antiright-devel] antiright ./Makefile.in ./configure lib/library...
From: |
Jeffrey Bedard |
Subject: |
[Antiright-devel] antiright ./Makefile.in ./configure lib/library... |
Date: |
Wed, 23 Nov 2005 20:36:06 -0500 |
CVSROOT: /cvsroot/antiright
Module name: antiright
Branch:
Changes by: Jeffrey Bedard <address@hidden> 05/11/24 01:36:06
Modified files:
. : Makefile.in configure
lib : library.h
src/arshell : arshell.h
Log message:
Added support for the tcc compiler, though linking still needs to be
debugged, as the compiler segfaults.
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/antiright/antiright/Makefile.in.diff?tr1=1.48&tr2=1.49&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/antiright/antiright/configure.diff?tr1=1.60&tr2=1.61&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/antiright/antiright/lib/library.h.diff?tr1=1.17&tr2=1.18&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/antiright/antiright/src/arshell/arshell.h.diff?tr1=1.21&tr2=1.22&r1=text&r2=text
Patches:
Index: antiright/Makefile.in
diff -u antiright/Makefile.in:1.48 antiright/Makefile.in:1.49
--- antiright/Makefile.in:1.48 Mon Nov 14 01:56:46 2005
+++ antiright/Makefile.in Thu Nov 24 01:36:05 2005
@@ -49,7 +49,7 @@
src/arshell/pixmap.o src/arshell/clockload.o src/arshell/appendage.o\
$(lib-objects) $(yaclib-objects)
arshell:$(arshell-objects)
- $(CC) $(arshell-objects) $(CFLAGS) $(LIBDIR) $(LIBS) -o arshell
+ $(CC) $(arshell-objects) $(LIBDIR) $(LIBS) -o arshell
clean:
rm -f `find . | grep '.o$$'` $(programs)
Index: antiright/configure
diff -u antiright/configure:1.60 antiright/configure:1.61
--- antiright/configure:1.60 Mon Nov 14 01:56:46 2005
+++ antiright/configure Thu Nov 24 01:36:05 2005
@@ -45,7 +45,16 @@
MAKE="$(which make)"
fi
-CC="$(which gcc)"
+# Uncomment to use the tcc compiler.
+# Currently fails in the linking stage.
+# But all objects are built successfully.
+
+#CC="$(which tcc)"
+#DEFS="$DEFS -DCC_IS_TCC"
+
+if [ -z "$CC" ]; then
+ CC="$(which gcc)"
+fi
if [ -z "$CC" ]; then
CC="$(which cc)"
fi
Index: antiright/lib/library.h
diff -u antiright/lib/library.h:1.17 antiright/lib/library.h:1.18
--- antiright/lib/library.h:1.17 Sat Jul 23 17:10:09 2005
+++ antiright/lib/library.h Thu Nov 24 01:36:06 2005
@@ -100,9 +100,11 @@
};
/* This structure is used in all AntiRight programs. */
+#ifdef CC_IS_TCC
+static struct antiright_application_structure antiright;
+#else /* not CC_IS_TCC */
struct antiright_application_structure antiright;
-
-
+#endif /* CC_IS_TCC */
/* This is a shortcut macro to clear antiright Xt arguments. AR is an
abreviation for AntiRight. CL is an abbreviation for CLear. ARG
Index: antiright/src/arshell/arshell.h
diff -u antiright/src/arshell/arshell.h:1.21
antiright/src/arshell/arshell.h:1.22
--- antiright/src/arshell/arshell.h:1.21 Sun Jul 31 16:19:50 2005
+++ antiright/src/arshell/arshell.h Thu Nov 24 01:36:06 2005
@@ -89,7 +89,11 @@
Boolean use_graph;
};
+#ifdef CC_IS_TCC
+static struct arshell_data_struct arshell;
+#else /* not CC_IS_TCC */
struct arshell_data_struct arshell;
+#endif /* CC_IS_TCC */
void arshell_setup_mainwindow ();