[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Patch] build cvs emacs for x86_64-sun-solaris10
From: |
NAKAJI Hiroyuki |
Subject: |
Re: [Patch] build cvs emacs for x86_64-sun-solaris10 |
Date: |
Fri, 08 Dec 2006 13:40:57 +0900 |
User-agent: |
Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.91 (berkeley-unix) |
Oops. I sent a wrong patch. Here's the revised one.
Index: configure
===================================================================
RCS file: /cvsroot/emacs/emacs/configure,v
retrieving revision 1.180
diff -u -r1.180 configure
--- configure 4 Dec 2006 08:17:50 -0000 1.180
+++ configure 8 Dec 2006 04:39:34 -0000
@@ -2433,6 +2433,7 @@
m68* ) machine=sun3 ;;
i[3456]86-sun-sunos[34]* ) machine=sun386 ;;
i[3456]86-*-* ) machine=intel386 ;;
+ amd64-*-*|x86_64-*-*) machine=amdx86-64 ;;
powerpcle* ) machine=powerpcle ;;
powerpc* | rs6000* ) machine=ibmrs6000 ;;
sparc* ) machine=sparc ;;
Index: configure.in
===================================================================
RCS file: /cvsroot/emacs/emacs/configure.in,v
retrieving revision 1.421
diff -u -r1.421 configure.in
--- configure.in 4 Dec 2006 08:17:59 -0000 1.421
+++ configure.in 8 Dec 2006 04:39:34 -0000
@@ -951,6 +951,7 @@
m68* ) machine=sun3 ;;
i[3456]86-sun-sunos[34]* ) machine=sun386 ;;
i[3456]86-*-* ) machine=intel386 ;;
+ amd64-*-*|x86_64-*-*) machine=amdx86-64 ;;
powerpcle* ) machine=powerpcle ;;
powerpc* | rs6000* ) machine=ibmrs6000 ;;
sparc* ) machine=sparc ;;
Index: src/fns.c
===================================================================
RCS file: /cvsroot/emacs/emacs/src/fns.c,v
retrieving revision 1.422
diff -u -r1.422 fns.c
--- src/fns.c 24 Nov 2006 19:53:56 -0000 1.422
+++ src/fns.c 8 Dec 2006 04:39:34 -0000
@@ -89,6 +89,8 @@
#ifndef HAVE_UNISTD_H
extern long time ();
#endif
+
+static Lisp_Object concat (int, Lisp_Object *, enum Lisp_Type, int);
DEFUN ("identity", Fidentity, Sidentity, 1, 1, 0,
doc: /* Return the argument unchanged. */)
Index: src/m/amdx86-64.h
===================================================================
RCS file: /cvsroot/emacs/emacs/src/m/amdx86-64.h,v
retrieving revision 1.12
diff -u -r1.12 amdx86-64.h
--- src/m/amdx86-64.h 26 Nov 2006 22:16:49 -0000 1.12
+++ src/m/amdx86-64.h 8 Dec 2006 04:39:34 -0000
@@ -125,7 +125,11 @@
#undef LIB_STANDARD
#define LIB_STANDARD -lgcc -lc -lgcc /usr/lib/crtend.o
-#else /* !__OpenBSD__ && !__FreeBSD__ */
+#elif defined(sun)
+#undef START_FILES
+#undef LIB_STANDARD
+
+#else /* !__OpenBSD__ && !__FreeBSD__ && !sun */
#undef START_FILES
#ifdef HAVE_X86_64_LIB64_DIR
>>>>> In <address@hidden>
>>>>> NAKAJI Hiroyuki <address@hidden> wrote:
> I successfully built cvs emacs on my Opteron box for the target
> x86_64-sun-solaris10.
> o I added the target {amd64,x86_64}-sun-solaris* in configure.in.
> o src/fns.c also need change to avoid prototype error by Sun Studio.
> o src/m/amdx86-64.h is also modified to fit sun.
--
NAKAJI Hiroyuki