Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 08 Aug 2000 10:20:44 +0200
From:      Graham Wheeler <gram@cequrux.com>
To:        stable@freebsd.org
Subject:   Re: Linking both aout and elf libraries
Message-ID:  <398FC2DB.91CE8B72@cequrux.com>
References:  <398E9E37.9E3A482B@cequrux.com> <200008071625.JAA39374@vashon.polstra.com>

next in thread | previous in thread | raw e-mail | index | archive | help
John Polstra wrote:
> 
> In article <398E9E37.9E3A482B@cequrux.com>, Graham Wheeler
> <gram@cequrux.com> wrote:
> 
> > Is there a way to build the system so that a single executable can
> > be linked against both aout format and elf format libraries?
> 
> No, there isn't.
> 
> > I know that NetBSD can do this (and in fact does this by default
> > AFAIK),
> 
> Are you sure?  I don't have a NetBSD system, but I would be extremely
> surprised if it could do that -- _extremely_ surprised.  There are

My NetBSD hacker friend hasn't done this himself, but he referred me to
the man page for ld, which (even under FreeBSD) claims that ld can mix
and match any of the formats that are supported, and that a list of such
formats can be obtained by running "objdump -i". Under NetBSD this lists
both aout and elf, while under FreeBSD it lists elf only.

-- 
Dr Graham Wheeler                        E-mail: gram@cequrux.com
Director, Research and Development       WWW:    http://www.cequrux.com
CEQURUX Technologies                     Phone:  +27(21)423-6065
Firewalls/VPN Specialists                Fax:    +27(21)424-3656


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?398FC2DB.91CE8B72>