unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* configure.in support for FreeBSD ia64/sparc64/powerpc
@ 2006-11-03 21:45 Giorgos Keramidas
  2006-11-04  3:28 ` Chong Yidong
  0 siblings, 1 reply; 31+ messages in thread
From: Giorgos Keramidas @ 2006-11-03 21:45 UTC (permalink / raw)


The following change makes Emacs buildable on FreeBSD running on
sparc64, ia64 and powerpc too.  It has been tested for some time as a
local patch in the editors/emacs-devel port of FreeBSD, so it would be
nice if it became part of Emacs 22.  We won't have to maintain local
diffs for this part then:

%%%
diff -r e9c18eba38ea -r 355e6a7d786b configure.in
--- a/configure.in	Fri Oct 27 15:45:51 2006 +0000
+++ b/configure.in	Sat Oct 28 01:49:45 2006 +0300
@@ -237,6 +237,9 @@ case "${canonical}" in
     opsys=freebsd
     case "${canonical}" in
       alpha*-*-freebsd*)	machine=alpha ;;
+      ia64-*-freebsd*)		machine=ia64 ;;
+      sparc64-*-freebsd*)	machine=sparc ;;
+      powerpc-*-freebsd*)	machine=macppc ;;
       i[3456]86-*-freebsd*)	machine=intel386 ;;
       amd64-*-freebsd*|x86_64-*-freebsd*) machine=amdx86-64 ;;
     esac
diff -r e9c18eba38ea -r 355e6a7d786b src/alloc.c
--- a/src/alloc.c	Fri Oct 27 15:45:51 2006 +0000
+++ b/src/alloc.c	Sat Oct 28 01:49:45 2006 +0300
@@ -4560,7 +4560,11 @@ mark_stack ()
      needed on ia64 too.  See mach_dep.c, where it also says inline
      assembler doesn't work with relevant proprietary compilers.  */
 #ifdef sparc
+#ifdef __sparc64__
+  asm ("flushw");
+#else
   asm ("ta 3");
+#endif
 #endif
 
   /* Save registers that we need to see on the stack.  We need to see
%%%

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

end of thread, other threads:[~2009-02-05 16:01 UTC | newest]

Thread overview: 31+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-11-03 21:45 configure.in support for FreeBSD ia64/sparc64/powerpc Giorgos Keramidas
2006-11-04  3:28 ` Chong Yidong
2006-11-06 14:10   ` Giorgos Keramidas
2008-12-19 13:51     ` Ulrich Mueller
2008-12-19 17:16       ` Dan Nicolaescu
2008-12-19 18:10         ` Ulrich Mueller
2008-12-19 19:51           ` Giorgos Keramidas
2009-01-22 11:10             ` Ulrich Mueller
2009-01-23  3:31               ` Giorgos Keramidas
2009-01-23  4:39                 ` Chong Yidong
2009-01-23  5:42                   ` Giorgos Keramidas
2009-02-05  6:37                   ` Ulrich Mueller
2009-02-05 13:55                     ` Chong Yidong
2009-02-05 14:17                       ` Giorgos Keramidas
2009-02-05 14:20                       ` Dan Nicolaescu
2009-02-05 15:30                         ` Chong Yidong
2009-02-05 15:31                           ` Dan Nicolaescu
2009-02-05 16:01                             ` Ulrich Mueller
2008-12-21  8:24           ` Ulrich Mueller
2008-12-29 19:42             ` Ulrich Mueller
2008-12-29 19:54               ` Dan Nicolaescu
2008-12-29 20:20                 ` Ulrich Mueller
2008-12-29 20:39                   ` Dan Nicolaescu
2008-12-29 21:19                     ` Ulrich Mueller
2008-12-29 21:41                     ` Giorgos Keramidas
2008-12-29 22:06                       ` Dan Nicolaescu
2008-12-29 22:36                         ` Giorgos Keramidas
2008-12-29 23:03                           ` Ulrich Mueller
2008-12-30  3:47                             ` Dan Nicolaescu
2008-12-30 12:44                               ` Ulrich Mueller
2008-12-30 20:55                                 ` Giorgos Keramidas

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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