Subject: Re: The last crtbegin change causes Emacs build problem
To: TAMURA Kent <kent@netbsd.org>
From: Jason Thorpe <thorpej@wasabisystems.com>
List: current-users
Date: 06/07/2003 15:48:38
On Wednesday, June 4, 2003, at 11:23 PM, TAMURA Kent wrote:
> % cd /usr/pkgsrc/editors/emacs
> % make
> <<snip>>
> cc -nostartfiles -Wl,-z,nocombreloc -Wl,-R/usr/pkg/lib
> -L/usr/pkg/lib -Wl,-R/usr/
...this...
> X11R6/lib -L/usr/X11R6/lib -L/usr/X11R6/lib -o temacs pre-crt0.o
> /usr/lib/crt0.o /usr/lib/crtbegin.o dispnew.o frame.o scroll.o xdisp.o
> xmenu.o window.o charset.o
...combined with this is the problem. Emacs needs to also include
/usr/lib/crti.o (before /usr/lib/crtbegin.o) and /usr/lib/crtn.o (after
/usr/lib/crtend.o). The emacs configure script should be able to
detect this simply by checking for the presence of these files.
-- Jason R. Thorpe <thorpej@wasabisystems.com>