Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Dec 1999 23:56:00 -0500 (EST)
From:      "Crist J. Clark" <cjc@cc942873-a.ewndsr1.nj.home.com>
To:        barr@teragram.com (Mark Barr)
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Compiling for v2.2.8 with a 3.X machine
Message-ID:  <199912160456.XAA81755@cc942873-a.ewndsr1.nj.home.com>
In-Reply-To: <NDBBKHPEDMNNMLBEGLCBGEEOCDAA.barr@teragram.com> from Mark Barr at "Dec 15, 1999 10:37:56 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199912160456.XAA81755>