From owner-freebsd-questions Wed Dec 15 20:51:44 1999 Delivered-To: freebsd-questions@freebsd.org Received: from cc942873-a.ewndsr1.nj.home.com (cc942873-a.ewndsr1.nj.home.com [24.2.89.207]) by hub.freebsd.org (Postfix) with ESMTP id 6C56F15157 for ; Wed, 15 Dec 1999 20:51:41 -0800 (PST) (envelope-from cjc@cc942873-a.ewndsr1.nj.home.com) Received: (from cjc@localhost) by cc942873-a.ewndsr1.nj.home.com (8.9.3/8.9.3) id XAA81755; Wed, 15 Dec 1999 23:56:00 -0500 (EST) (envelope-from cjc) From: "Crist J. Clark" Message-Id: <199912160456.XAA81755@cc942873-a.ewndsr1.nj.home.com> Subject: Re: Compiling for v2.2.8 with a 3.X machine In-Reply-To: from Mark Barr at "Dec 15, 1999 10:37:56 pm" To: barr@teragram.com (Mark Barr) Date: Wed, 15 Dec 1999 23:56:00 -0500 (EST) Cc: freebsd-questions@FreeBSD.ORG Reply-To: cjclark@home.com X-Mailer: ELM [version 2.4ME+ PL54 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Mark Barr wrote, [Charset iso-8859-1 unsupported, filtering to ASCII...] > I was wondering if it is possible to compile C code using GCC on a 3.3 > FreeBSD machine, but create binaries compatible with v2.2.8. The machine I'm > using has compat22 installed, but I don't know if it allows you to create > a.out binaries. Any help would be appreciated. % cc c-prog.c -o c-prog % file c-prog c-prog: ELF 32-bit LSB executable, Intel 80386, version 1 (FreeBSD), dynamically linked, not stripped % cc -aout c-prog.c -o c-prog % file c-prog c-prog: FreeBSD/i386 compact demand paged dynamically linked executable not stripped -- Crist J. Clark cjclark@home.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message