From owner-freebsd-questions  Tue May  9 22:41:51 2000
Delivered-To: freebsd-questions@freebsd.org
Received: from dt051n0b.san.rr.com (dt051n0b.san.rr.com [204.210.32.11])
	by hub.freebsd.org (Postfix) with ESMTP id A6C6737B6E1
	for <freebsd-questions@FreeBSD.org>; Tue,  9 May 2000 22:41:48 -0700 (PDT)
	(envelope-from DougB@gorean.org)
Received: from gorean.org (doug@master [10.0.0.2])
	by dt051n0b.san.rr.com (8.9.3/8.9.3) with ESMTP id WAA83451;
	Tue, 9 May 2000 22:41:45 -0700 (PDT)
	(envelope-from DougB@gorean.org)
Message-ID: <3918F699.2761C5C@gorean.org>
Date: Tue, 09 May 2000 22:41:45 -0700
From: Doug Barton <DougB@gorean.org>
Organization: Triborough Bridge & Tunnel Authority
X-Mailer: Mozilla 4.72 [en] (X11; U; FreeBSD 5.0-CURRENT-0508 i386)
X-Accept-Language: en
MIME-Version: 1.0
To: "Pedro F. Giffuni" <giffunip@asme.org>
Cc: freebsd-questions@FreeBSD.org
Subject: Re: What exactly is an embedded system ?
References: <39184EBF.A48E5023@asme.org>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-freebsd-questions@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.ORG

"Pedro F. Giffuni" wrote:
> 
> I was undecided if this should go to questions or to hackers...
> 
> I understand that FreeBSD is used a lot for embedded systems. I thought
> this would mean that the kernel, libc and some simple userland utilities
> should be portable for any of the "embedded targets" supported by gcc.

	No, that is a different use of the same word. An embedded system is one
that is usually one that is "stand alone," used for a specific purpose
(sometimes more limited than a general system), or other similar uses.
Whistle's Interjet is an embedded system that uses freebsd. 

	Portability refers to code that can be used unchanged on many different
platforms. 100% portability is almost impossible for anything other than
very simple programs due to the divergence of various different
implementations of the same idea on different platforms. Utilities like
GNU autoconf attempt to resolve these issues by use of various #ifdef's
that handle different platforms, or even versions of the same platform.
It's not a perfect solution, but it works.

Hope this helps,

Doug
-- 
        "Live free or die"
		- State motto of my ancestral homeland, New Hampshire

	Do YOU Yahoo!?


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