Re: Installing Cross Builds

2002-03-31 Thread Marcel Moolenaar

On Fri, Mar 29, 2002 at 01:10:17PM -0800, Crist J. Clark wrote:
 After reviewing the world Makefiles, it sure looks like FreeBSD does
 not support 'installworld' of a cross build?

Running installworld on machine X, when you did a cross-build for
machine X on machine Y is broken. All other cases should work,
AFACT.

The brokenness is directly caused by inconsistent setting of OBJTREE.
This is indirectly caused make release, for make release expects the
object tree to be under /usr/obj and not /usr/obj/${TARGET_ARCH}.

-- 
 Marcel Moolenaar USPA: A-39004  [EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



Re: Installing Cross Builds

2002-03-31 Thread Crist J. Clark

On Sun, Mar 31, 2002 at 05:57:31PM -0800, Marcel Moolenaar wrote:
 On Fri, Mar 29, 2002 at 01:10:17PM -0800, Crist J. Clark wrote:
  After reviewing the world Makefiles, it sure looks like FreeBSD does
  not support 'installworld' of a cross build?
 
 Running installworld on machine X, when you did a cross-build for
 machine X on machine Y is broken. All other cases should work,
 AFACT.
 
 The brokenness is directly caused by inconsistent setting of OBJTREE.
 This is indirectly caused make release, for make release expects the
 object tree to be under /usr/obj and not /usr/obj/${TARGET_ARCH}.

Well, the more direct reason for the breakage is caused by the fact
that the PATH during install is,

  ${WORLDTMP}/usr/sbin:${WORLDTMP}/usr/bin:${WORLDTMP}/usr/games:${INSTALLTMP}

Which is usually ${OBJTREE}${.CURDIR}/${MACHINE_ARCH}. But that
directory doesn't exist. (Or is that what you are saying?) If you fix
that, there is the same issue with ${OBJFORMAT_PATH}. Once you fix
that, you have shared lib problems. (I've never quite figured out what
${INSTALLTMP} is even there for.)
-- 
Crist J. Clark | [EMAIL PROTECTED]
   | [EMAIL PROTECTED]
http://people.freebsd.org/~cjc/| [EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



Installing Cross Builds

2002-03-29 Thread Crist J. Clark

After reviewing the world Makefiles, it sure looks like FreeBSD does
not support 'installworld' of a cross build? There are some steps in
the installworld which half-heartedly seem to try to support something
along those lines, but don't really even come close.

Am I correct that installworld doesn't work for cross builds? If not,
I need to figure out what the heck I'm doing wrong. If I am right, I
guess that means not too many people are interested in such a feature?
-- 
Crist J. Clark | [EMAIL PROTECTED]
   | [EMAIL PROTECTED]
http://people.freebsd.org/~cjc/| [EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message