Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 06 Aug 1998 18:38:37 -0700
From:      Mike Smith <mike@smith.net.au>
To:        Terry Lambert <tlambert@primenet.com>
Cc:        Nicolas.Souchu@prism.uvsq.fr (Nicolas Souchu), mike@smith.net.au, chuckr@glue.umd.edu, freebsd-hackers@FreeBSD.ORG
Subject:   Re: C and static initialization with unions 
Message-ID:  <199808070138.SAA01445@dingo.cdrom.com>
In-Reply-To: Your message of "Fri, 07 Aug 1998 01:33:05 -0000." <199808070133.SAA24688@usr06.primenet.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
> > Is it allowed in FreeBSD? Is all FreeBSD C source code portable?
> 
> Good question; I don't know the answer.
> 
> I know that FreeBSD uses inline assembly, rather than seperating
> out the assembly code into machine-specific compilation units
> (preferrably with vanilla C equivalents, where possible).

Actually, we largely do separate into compilation units.  See all those 
files ending in '.s' and '.S'?

> I also know that FreeBSD uses ANSI constructs, which make the
> code non-portable to older compilers, such as those you would
> have on machines running older OS's that you want to upgrade
> to running FreeBSD via a port.

Seeing as nobody actually seems to want this, it's obviously not of 
much interest.

-- 
\\  Sometimes you're ahead,       \\  Mike Smith
\\  sometimes you're behind.      \\  mike@smith.net.au
\\  The race is long, and in the  \\  msmith@freebsd.org
\\  end it's only with yourself.  \\  msmith@cdrom.com



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message



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