From owner-freebsd-questions Mon Nov 18 05:59:31 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id FAA13113 for questions-outgoing; Mon, 18 Nov 1996 05:59:31 -0800 (PST) Received: from panix.com (panix.com [198.7.0.2]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id FAA13095 for ; Mon, 18 Nov 1996 05:59:26 -0800 (PST) Received: from localhost (jbarrm@localhost) by panix.com (8.8.2/8.7/PanixU1.3) with SMTP id IAA15827; Mon, 18 Nov 1996 08:59:17 -0500 (EST) Date: Mon, 18 Nov 1996 08:59:16 -0500 (EST) From: Barry Masterson To: dwhite@resnet.uoregon.edu cc: freebsd-questions Subject: Re: FreeBSD C executables on NetBSD? In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Thanks for responding Doug. I tried a simple Hello World program, and it did not work. I was hopeing the similar architectures would be close enough, or that there was an "#INCLUDE " library, or something. Compile on NetBSD? Thats an option I'm now considering, adding a small NetBSD system to this FreeBSD box. Thanks again. Barry Masterson jbarrm@panix.com >--->--->--->--->---> FreeBSD 2.1.5-R <---<---<---<---<---< On Sun, 17 Nov 1996, Doug White wrote: > On Fri, 15 Nov 1996, Barry Masterson wrote: > > > I hope this is a simple and quick question. Will a C program > > compiled on a 486 intel based FreeBSD system run on an intel > > based Pentium running NetBSD? > > > > The neighborhood web server is such a pentium system, but > > without the C compiler. Will it work, or should I start on the > > serious perl programming. > > I would guess not depending on what you programmed. If it was a 'hello > world' program then probably, but anything more complex than that I would > say no. > > Why not just compile your C program on NetBSD? They should cross compile > without a problem (again depending on how much you do in the way of > syscalls). > > Doug White | University of Oregon > Internet: dwhite@resnet.uoregon.edu | Residence Networking Assistant > http://gladstone.uoregon.edu/~dwhite | Computer Science Major >