*BSD News Article 68308


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.cs.su.oz.au!inferno.mpx.com.au!news.unimelb.EDU.AU!munnari.OZ.AU!spool.mu.edu!news.sol.net!uwm.edu!math.ohio-state.edu!howland.reston.ans.net!vixen.cso.uiuc.edu!newsfeed.internetmci.com!btnet!zetnet.co.uk!dispatch.news.demon.net!demon!jraynard.demon.co.uk!not-for-mail
From: james@jraynard.demon.co.uk (James Raynard)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: gcc and FreeBSD
Date: 11 May 1996 22:00:25 -0000
Organization: A FreeBSD Box
Lines: 27
Message-ID: <4n32lp$io@jraynard.demon.co.uk>
References: <Y6nxBDAlWlhxEwlU@ruthless.demon.co.uk> <4mde0b$hqu@uriah.heep.sax.de> <4n0b98$o66@zip0.zipnet.net>
NNTP-Posting-Host: localhost.demon.co.uk
X-NNTP-Posting-Host: jraynard.demon.co.uk

In article <4n0b98$o66@zip0.zipnet.net>,
Andras Radics <radics@zipnet.net> wrote:
>
>Apparently the compiler can create binary formats that the kernel does not
>support.  I couldn't find documentation on the -N switch.

From ld(1):-

     -N      Produce a OMAGIC output file.

     -n      Produce a NMAGIC output file.

     -Q      Produce a QMAGIC (FreeBSD/BSDi-i386) output file.	This is the
	     default.

     -Z      Make a 386BSD ZMAGIC output file.

     -z      Make a NetBSD ZMAGIC output file.

There's a brief description of OMAGIC, NMAGIC and ZMAGIC in
a.out(5). I'm not sure, but I think QMAGIC is the only one of these
three that'll run on FreeBSD.

-- 
James Raynard, Edinburgh, Scotland
jraynard@dial.pipex.com
james@jraynard.demon.co.uk