From owner-freebsd-hackers Thu Aug 6 18:41:37 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id SAA25754 for freebsd-hackers-outgoing; Thu, 6 Aug 1998 18:41:37 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from dingo.cdrom.com (dingo.cdrom.com [204.216.28.145]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id SAA25717 for ; Thu, 6 Aug 1998 18:41:23 -0700 (PDT) (envelope-from mike@dingo.cdrom.com) Received: from dingo.cdrom.com (localhost [127.0.0.1]) by dingo.cdrom.com (8.8.8/8.8.5) with ESMTP id SAA01445; Thu, 6 Aug 1998 18:38:37 -0700 (PDT) Message-Id: <199808070138.SAA01445@dingo.cdrom.com> X-Mailer: exmh version 2.0zeta 7/24/97 To: Terry Lambert 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 In-reply-to: Your message of "Fri, 07 Aug 1998 01:33:05 -0000." <199808070133.SAA24688@usr06.primenet.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 06 Aug 1998 18:38:37 -0700 From: Mike Smith Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > 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