all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Patch to build on x86_64-*-openbsd*
@ 2006-10-27  4:52 Jeramey Crawford
       [not found] ` <m3ejsuqfsn.fsf@kfs-l.imdomain.dk>
  0 siblings, 1 reply; 2+ messages in thread
From: Jeramey Crawford @ 2006-10-27  4:52 UTC (permalink / raw)


Hello,

I have written a small patch that allows CVS Emacs from this evening to 
build and run on OpenBSD's x86_64 port. It is just fairly trivial macro 
fiddling, and I have not done extensive testing beyond editing some 
small C files and my .emacs, but it survived those tasks just fine.

I am not sure if it's proper etiquette to include the patch on the list, 
so here is a URL for it. I can provide a copy via email to anyone who 
wants it, of course.

http://jeramey.com/code/cvsemacs-openbsd-x86_64.diff

If I am required to fill out any copyright assignment paperwork, I will 
be happy to do so, though these changes are so simple that I would guess 
it is not required.

    Jeramey

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

* Re: Patch to build on x86_64-*-openbsd*
       [not found] ` <m3ejsuqfsn.fsf@kfs-l.imdomain.dk>
@ 2006-10-27 15:41   ` Jeramey Crawford
  0 siblings, 0 replies; 2+ messages in thread
From: Jeramey Crawford @ 2006-10-27 15:41 UTC (permalink / raw)


On Fri, Oct 27, 2006 at 11:16:56AM +0200, Kim F. Storm wrote:
>Please post the patch to the list -- that way it is easier for us
>to read and comment on it, and it is archived in the list archives.

Alright, no problem. Here is the diff.

Index: configure
===================================================================
RCS file: /sources/emacs/emacs/configure,v
retrieving revision 1.174
diff -c -r1.174 configure
*** configure	23 Oct 2006 15:35:25 -0000	1.174
--- configure	27 Oct 2006 15:37:22 -0000
***************
*** 1757,1762 ****
--- 1757,1763 ----
      case "${canonical}" in
        alpha*-*-openbsd*)	machine=alpha ;;
        i386-*-openbsd*)	machine=intel386 ;;
+       x86_64-*-openbsd*)    machine=amdx86-64 ;;
        m68k-*-openbsd*)  machine=hp9000s300 ;;
        mipsel-*-openbsd*) machine=pmax ;;
        ns32k-*-openbsd*)	machine=ns32000 ;;
Index: configure.in
===================================================================
RCS file: /sources/emacs/emacs/configure.in,v
retrieving revision 1.414
diff -c -r1.414 configure.in
*** configure.in	23 Oct 2006 15:28:18 -0000	1.414
--- configure.in	27 Oct 2006 15:37:24 -0000
***************
*** 275,280 ****
--- 275,281 ----
      case "${canonical}" in
        alpha*-*-openbsd*)	machine=alpha ;;
        i386-*-openbsd*)	machine=intel386 ;;
+       x86_64-*-openbsd*)    machine=amdx86-64 ;;
        m68k-*-openbsd*)  machine=hp9000s300 ;;
        mipsel-*-openbsd*) machine=pmax ;;
        ns32k-*-openbsd*)	machine=ns32000 ;;
Index: src/m/amdx86-64.h
===================================================================
RCS file: /sources/emacs/emacs/src/m/amdx86-64.h,v
retrieving revision 1.10
diff -c -r1.10 amdx86-64.h
*** src/m/amdx86-64.h	6 Feb 2006 15:23:23 -0000	1.10
--- src/m/amdx86-64.h	27 Oct 2006 15:37:25 -0000
***************
*** 118,124 ****
  #undef LIB_STANDARD
  #define LIB_STANDARD -lgcc -lc -lgcc /usr/lib/crtn.o
  
! #else /* !__FreeBSD__ */
  
  #undef START_FILES
  #define START_FILES pre-crt0.o /usr/lib64/crt1.o /usr/lib64/crti.o
--- 118,132 ----
  #undef LIB_STANDARD
  #define LIB_STANDARD -lgcc -lc -lgcc /usr/lib/crtn.o
  
! #elif defined(__OpenBSD__) /* !__FreeBSD__ */
! 
! #undef START_FILES
! #define START_FILES pre-crt0.o /usr/lib/crt0.o /usr/lib/crtbegin.o
! 
! #undef LIB_STANDARD
! #define LIB_STANDARD -lgcc -lc -lgcc /usr/lib/crtend.o
! 
! #else /* !__OpenBSD__ */
  
  #undef START_FILES
  #define START_FILES pre-crt0.o /usr/lib64/crt1.o /usr/lib64/crti.o

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

end of thread, other threads:[~2006-10-27 15:41 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-10-27  4:52 Patch to build on x86_64-*-openbsd* Jeramey Crawford
     [not found] ` <m3ejsuqfsn.fsf@kfs-l.imdomain.dk>
2006-10-27 15:41   ` Jeramey Crawford

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.