From owner-freebsd-questions Thu Jul 23 15:42:47 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA18955 for freebsd-questions-outgoing; Thu, 23 Jul 1998 15:42:47 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from clio.rice.edu (clio.rice.edu [128.42.105.3]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id PAA18949 for ; Thu, 23 Jul 1998 15:42:45 -0700 (PDT) (envelope-from keyser@clio.rice.edu) Received: by clio.rice.edu (AIX 3.2/UCB 5.64/4.03) id AA14881; Thu, 23 Jul 1998 17:42:46 -0500 Date: Thu, 23 Jul 1998 17:42:46 -0500 From: keyser@clio.rice.edu (Kevin Keyser) Message-Id: <9807232242.AA14881@clio.rice.edu> To: Dang-Ngoc.Tuyet-Tram@prism.uvsq.fr Subject: Re: building a kernel for different machine Cc: questions@FreeBSD.ORG Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > Suppose I have 3 computers with the following characteristic > > A : bi-pentium pro with FreeBSD3.0 (19980520) > B : 486 with FreeBSD2.2.6 > C : cyrix with FreeBSD2.2.6 > > A and C work pretty well, and FreeBSD2.2.6 is installed on > B but the kernel cannot be rebuild because there is not enough > disk space on it (I must absolutely rebuild the kernel because my > NE2000 clone ethernet card cannot work without rebuilding the kernel, > right ?) . Can I build the kernel using the parameters of B > on machine C and then copy it to B via a Floppy disk ? Absolutely. Make a new config file /sys/i386/conf/ for B on C. Do the usual config and make steps, then move the resulting kernel over to B. > And if I build the kernel on machine A and copy it to B witout > reinstalling other components, will I have B under FreeBSD3.0 ? > or won't just it work ? I think what you will have is trouble, but I've never tried such. > For installing FreeBSD3.0 on machine A, I've installed 2.2.6, > then I had just copy the 3.0 source on A and rebuild. It seems > to work on A (never had a problem until now) and SMP works well. > But was that the right way to do, or will I get into troubles later ? I'm not sure on this one. > A last stupid question : building a kernel of another machine > on a different machine as I describe above, is that what it is called > "cross-compiling" ? Or am I mixing everything ? I would say cross-compiling is using a compiler to generate object code for a different *architecture* than where the compiler is running. > Thanks a lot, > > Tuyet Tram DANG NGOC > - -- > dntt@prism.uvsq.fr > Universite de Versailles > http://www.ens-info.uvsq.fr:8000/~dntt/index.html > > I do not fear computers. I fear the lack of them. - Isaac Asimov Kevin To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message