Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 06 Jun 2006 13:49:05 -0700
From:      Peter Grehan <grehan@freebsd.org>
To:        Aditya Godbole <aag.lists@gmail.com>
Cc:        freebsd-ppc@freebsd.org
Subject:   Re: make depend error - libl
Message-ID:  <4485EA41.4070606@freebsd.org>
In-Reply-To: <2f3a439f0606060346qa755af3x8ee7ba3e94c45081@mail.gmail.com>
References:  <2f3a439f0606060346qa755af3x8ee7ba3e94c45081@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi Aditya,

> 1. I'm trying to compile the ppc kernel. I've taken the GENERIC config
> and running make depend stops in the aic7xxx/aicasm directory. The
> error is that the linker cannot find libl.
> This seems to be a userspace program. Can I bypass this step while
> compiling the kernel? Otherwise, how can I fix it? I am running fbsd 6
> on an i386.

  It's not possible to build on i386 without doing a proper cross-build. 
Which leads to your next question:

> 2. How can I setup a complete crosscompile environment including the
> cross compiled libc and other libraries?

  You'll want to grab hold of a FreeBSD source tree. Then, cd to the 
src/ directory, and 'make buildworld TARGET_ARCH=powerpc', and then 
'make buildkernel TARGET_ARCH=powerpc'.

  'man build' and 'man development' has more info, as well as the 
developer section of the FreeBSD website.

later,

Peter.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4485EA41.4070606>