[PATCH] Fix kernel header install path when not CT_USE_SYSROOT

Bryan Hundven bryanhundven@gmail.com
Fri Mar 19 07:21:00 GMT 2010


Actually, I don't think that patch was sufficient in solving the
problem. Gcc (pass2) still fails to build because it can't find
fenv.h.
Maybe CT_SYSROOT_DIR="${CT_PREFIX_DIR}/${CT_TARGET}/usr" when
CT_USE_SYSROOT is not set?

On Thu, Mar 18, 2010 at 11:50 PM, Bryan Hundven <bryanhundven@gmail.com> wrote:
> When CT_USE_SYSROOT is not set, build scripts like gcc.sh try to copy
> headers from ${CT_HEADERS_DIR}/*
> In this case ${CT_HEADERS_DIR} directory does not contain the headers,
> but ${CT_SYSROOT_DIR}/usr/include does.
>
> The attached patch ensures ${CT_HEADERS_DIR}/* contains the kernel
> headers when both CT_USE_SYSROOT is set and when it is not set.
>
> --
> Bryan Hundven
>



-- 
Bryan Hundven

--
For unsubscribe information see http://sourceware.org/lists.html#faq



More information about the crossgcc mailing list