[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Patch to build on x86_64-*-openbsd*
From: |
Jeramey Crawford |
Subject: |
Re: Patch to build on x86_64-*-openbsd* |
Date: |
Fri, 27 Oct 2006 08:41:31 -0700 |
User-agent: |
Mutt/1.5.12-2006-07-14 |
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