From owner-freebsd-questions Mon Sep 13 10:55: 2 1999 Delivered-To: freebsd-questions@freebsd.org Received: from axl.noc.iafrica.com (axl.noc.iafrica.com [196.31.1.175]) by hub.freebsd.org (Postfix) with ESMTP id A1F3C14CF8 for ; Mon, 13 Sep 1999 10:54:48 -0700 (PDT) (envelope-from sheldonh@axl.noc.iafrica.com) Received: from sheldonh (helo=axl.noc.iafrica.com) by axl.noc.iafrica.com with local-esmtp (Exim 3.02 #1) id 11QaIq-000509-00; Mon, 13 Sep 1999 19:54:08 +0200 From: Sheldon Hearn To: Ben Smithurst Cc: "Andy V. Oleynik" , freebsd-questions@FreeBSD.ORG Subject: Re: How to compile on 3.2-S system with aout XFree X programm? In-reply-to: Your message of "Fri, 10 Sep 1999 16:22:37 +0100." <19990910162236.A33804@lithium.scientia.demon.co.uk> Date: Mon, 13 Sep 1999 19:54:08 +0200 Message-ID: <19228.937245248@axl.noc.iafrica.com> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, 10 Sep 1999 16:22:37 +0100, Ben Smithurst wrote: > > I have a PC recently upgraded from 2.2.5-R to 3.2-S. There are an X > > sever running on it with the rest of X stuff (libs,includes). XFree > > is 3.3.1 aout. And I need to compile small x-app. As far as I have > > no ELF X libs my intention is to compile it by hand using cc/gcc and > > /usr/libexec/aout/* stuff particularly - ld. But how can I force > > cc/gcc to make aout obj files? > > `export OBJFORMAT=aout` should do it. What for? Just install from the port and, when asked whether AOUT libraries should be built, answer "YES". Ciao, Sheldon. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message