rescue/ broke cross compiles

Gordon Tetlow gordont at gnf.org
Mon Jun 30 16:54:05 PDT 2003


On Mon, Jun 30, 2003 at 03:52:06PM -0700, Marcel Moolenaar wrote:
> 
> Since you create a seperate object tree for rescue, you need to
> go through the same phases as a world does. That way tools (like
> build-tools) will be compiled against the right headers and linked
> against the right libraries (in both cases those of the machine
> on which the tool runs).
> 
> Unfortunately, it's not that simple. There's a deliberate phase
> ordering that makes sure that we don't pick up cross-tools before
> we're ready for them. Since rescue is built *after* the cross-
> tools are installed, you'll have a hard time resolving the phase
> ordering problem.
> 
> That's why ru@ suggested to add a build-tools target. That way you
> populate the seperate tree in sync with the phases of a world,
> thereby avoiding the phase ordering problem.

Is there a way to leverage the existing build-tools so we don't have
to do extra compiling that isn't necessary?

-gordon
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20030630/ec0d71d8/attachment.bin


More information about the freebsd-current mailing list