Subject: Re: ELF vs. a.out and Python 2.0 build
To: None <tech-pkg@netbsd.org>
From: Kent Polk <kent@tiamat.goathill.org>
List: tech-pkg
Date: 11/08/2000 16:00:29
David O'Brien wrote:
> On Wed, Nov 08, 2000 at 05:22:02PM +0000, Kent Polk wrote:
> > IT appears to me that Python 2.0 shared modules build correctly on
> > ELF machines, but aren't built correctly on the older a.out machines.
> ..snip..
> > -----
> > on a.out (NetBSD 1.4.2) :
> > $ nm _socketmodule.so | grep init_socket
> > 00002714 T _init_socket
> > (note      ^ underscore)
> > -----
> > On ELF (1.5 alpha) :
> > $ nm _socketmodule.so | grep init_socket
> > 00003644 T init_socket
> > (which works)
> 
> A.out symbols do have underscores, ELF ones don't.  That is one of the
> differences in the two.

Exactly. But how do I tell configure to build the symbols correctly
for a.out here? I tried several different ways and can't get it to
work. It always builds them for ELF.