logo       

Re: Problem cross compiling modular X: msg#00047

linux.gentoo.embedded

Subject: Re: Problem cross compiling modular X

* Ryan Baldwin <ryan.baldwin-sbTHJKYIWfFYAqn04ObX1A@xxxxxxxxxxxxxxxx> schrieb:

Hi,

> I have resolved this problem I think by referring to the Xorg cross
> compilation guide. It seems I need to pass --enable-malloc0returnsnull
> to configure, set CC_FOR_BUILD and apply a few patches.

in other words: manually repair the broken buildfiles :(

<snip>

> This appears to indicate though that cross compiling Xorg is not
> really supported under gentoo?

Isn't supported really, at all.

<snip>

> Presumably this would be done when the 'cross' USE flag is set otherwise?
> Is this the case or am I missing something obvious ?

Eh, crosscompiling via USE flag ?!
It's a matter of the right toolchain (including proper system root)
and not the individual package configuration.

<snip>

> >Since sending my last post I have found:
> >
> > cp -r /tmp/target/usr/include/X11
> >/usr/i686-pc-linux-uclibc/sys-include/

Bad. You really should use an sysroot'ed toolchain and put all
includes under $SYSROOT, in exactly the same way as would be
installed on an normal system.


cu
--
---------------------------------------------------------------------
Enrico Weigelt == metux IT service - http://www.metux.de/
---------------------------------------------------------------------
Please visit the OpenSource QM Taskforce:
http://wiki.metux.de/public/OpenSource_QM_Taskforce
Patches / Fixes for a lot dozens of packages in dozens of versions:
http://patches.metux.de/
---------------------------------------------------------------------


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise