From owner-freebsd-hackers Tue Aug 19 21:23:11 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id VAA27158 for hackers-outgoing; Tue, 19 Aug 1997 21:23:11 -0700 (PDT) Received: from kithrup.com (kithrup.com [205.179.156.40]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id VAA27151 for ; Tue, 19 Aug 1997 21:23:07 -0700 (PDT) Received: (from sef@localhost) by kithrup.com (8.8.5/8.6.6) id VAA01541; Tue, 19 Aug 1997 21:23:03 -0700 (PDT) Date: Tue, 19 Aug 1997 21:23:03 -0700 (PDT) From: Sean Eric Fagan Message-Id: <199708200423.VAA01541@kithrup.com> To: julian@whistle.com Subject: Re: [Fwd: Re: Please Help Me Understand dlopen()] References: <199708182246.PAA04812@austin.polstra.com> <22405.871954857@time.cdrom.com> <19970819140010.04999@lemis.com> <199708190543.WAA07143@austin.polstra.com> Organization: Kithrup Enterprises, Ltd. Cc: hackers@freebsd.org Sender: owner-freebsd-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk In article <33FA585D.167EB0E7.kithrup.freebsd.hackers@whistle.com> you write: >John, what are the chances of being able to link a binary from >mixed a.out and elf .o files? >And what are the chances of being able to generate both types >with just a single switch differnt in the command line? With the wonders of BFD, all things are possible! Well, nearly all, anyway. Given BFD support for the a.out and ELF formats for FreeBSD, ld can accept both, and produce either. In binutils is a utility that can convert from pretty much any format to any other. (Wanna run S-records directly? Can do!) Note that this would require using the GNU binutilies.