Re: Correct procedure for cross-compilation

2010-10-23 Thread Simon Chang
On Sat, Oct 23, 2010 at 2:12 AM, Scot Hetzel wrote: > On Fri, Oct 22, 2010 at 9:35 PM, Simon Chang wrote: > > OK... except that this flies in the face of this part from the Handbook: > > > > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/small-lan.html > > > That part in the handbook

Re: Correct procedure for cross-compilation

2010-10-22 Thread Scot Hetzel
On Fri, Oct 22, 2010 at 9:35 PM, Simon Chang wrote: > OK... except that this flies in the face of this part from the Handbook: > > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/small-lan.html > That part in the handbook only works when both the build machine and the target machines are

Re: Correct procedure for cross-compilation

2010-10-22 Thread Simon Chang
On Fri, Oct 22, 2010 at 4:30 PM, Andriy Gapon wrote: > on 22/10/2010 21:51 Simon Chang said the following: > > > > > > I got your point the first time. > > The idea is to run installworld on your fast machine. You did > everything > > correctly for the build, BTW. > > I guess tha

Re: Correct procedure for cross-compilation

2010-10-22 Thread Andriy Gapon
on 22/10/2010 21:51 Simon Chang said the following: > > > I got your point the first time. > The idea is to run installworld on your fast machine. You did everything > correctly for the build, BTW. > I guess that you should be able now to see how to use DESTDIR in that > case :-

Re: Correct procedure for cross-compilation

2010-10-22 Thread Simon Chang
> > I got your point the first time. > The idea is to run installworld on your fast machine. You did everything > correctly for the build, BTW. > I guess that you should be able now to see how to use DESTDIR in that case > :-) > > P.S. there is something unconventional about how your mail client h

Re: Correct procedure for cross-compilation

2010-10-22 Thread Andriy Gapon
on 22/10/2010 19:27 Simon Chang said the following: > > Try the other way around - it's better to run install{kernel,world} on > the same > machine were you did the build. > DESTDIR is your friend too. > > -- > Andriy Gapon > > > Andriy, > > But if I run installkernel and

Re: Correct procedure for cross-compilation

2010-10-22 Thread Simon Chang
> Try the other way around - it's better to run install{kernel,world} on the > same > machine were you did the build. > DESTDIR is your friend too. > > -- > Andriy Gapon > Andriy, But if I run installkernel and installworld on the same machine, I won't be able to install the 32-bit binaries on th

Re: Correct procedure for cross-compilation

2010-10-22 Thread Andriy Gapon
on 22/10/2010 17:33 Simon Chang said the following: > But when I exported /usr/src and /usr/obj read-only from the AMD machine and > mounted them through machine-1, and I tried to installkernel from machine-1, > I kept running into errors right at the beginning of the process. Try the other way ar

Correct procedure for cross-compilation

2010-10-22 Thread Simon Chang
To all, I recently received an older AMD Athlon 64 3400+ machine, 1 GB of RAM and 200 GB of SATA disk. I have installed the 64-bit amd64 version of FBSD 7.3-STABLE on this box and everything is running perfectly. I have several other smaller, far less powerful 32-bit i386 machines, which need to