From owner-freebsd-hackers Wed Feb 2 19:48: 8 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from picnic.mat.net (picnic.mat.net [206.246.122.133]) by builder.freebsd.org (Postfix) with ESMTP id BBEE94274 for ; Wed, 2 Feb 2000 19:48:03 -0800 (PST) Received: from localhost (chuckr@localhost [127.0.0.1]) by picnic.mat.net (8.9.3/8.9.3) with ESMTP id WAA18837; Wed, 2 Feb 2000 22:47:31 -0500 (EST) (envelope-from chuckr@picnic.mat.net) Date: Wed, 2 Feb 2000 22:47:31 -0500 (EST) From: Chuck Robey To: Marco van de Voort Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: porting linux app. Syscalls In-Reply-To: <20000203033030.099E62E803@hermes.tue.nl> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, 3 Feb 2000, Marco van de Voort wrote: > --- not related to the other 3 > 4. In the rare event that I get it finished this week; The ports howto doesn't seems to > apply to bootstrapping stuff. (It assumes the apps are gcc based or created by > a gcc compiled app (like perl). > > Where does such an app fit into the BSD project? > > - several megs of Pascal source (entire project + sideprojects + texdocs is 25 MB source) > - gmake makefiles. > - binary required to start the compile(either native FBSD or linux) > > . (compiling the bsd version with the linux > compiler is also possible I think, if a linux binary can create an ordinary FBSD > binary) This is just answering the last point. The modula-3 port is about the same size as yours, and it bootstraps, but (like you said) it does it from C. The lang/objc port *used* to require a binary-only bootstrap image, only. What I did there was to move the linux image home, use it to bootstrap a FreeBSD image, stored that on my home page, and made the port fetch it as one of the distfiles. In building the port, it just referenced the FreeBSD-native binary boot image to bootstrap itself, but it did build a full image of itself from that. Objc doesn't need that anymore (it has a C boot now) but you could take that approach. It's in the archives, probably version 1.5 of the Makefile, from October 97. > > > > Marco van de Voort (MarcoV@Stack.nl) > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-hackers" in the body of the message > ---------------------------------------------------------------------------- Chuck Robey | Interests include C & Java programming, FreeBSD, chuckr@picnic.mat.net | electronics, communications, and signal processing. New Year's Resolution: I will not sphroxify gullible people into looking up fictitious words in the dictionary. ---------------------------------------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message