From: "Ryan Baldwin" <ryan.baldwin@nexusalpha.com>
To: <gentoo-embedded@lists.gentoo.org>
Subject: RE: [gentoo-embedded] Problem cross compiling modular X
Date: Mon, 10 Jul 2006 12:01:29 +0100 [thread overview]
Message-ID: <02ae01c6a410$325e4a30$1a06a8c0@LXP0004> (raw)
In-Reply-To: <Pine.LNX.4.44.0607101240210.28650-100000@lnx.bridge.intra>
Hi,
Thanks for your replies people.
>why are you at all cross-compiling, you have the same arch, use simply an
>uClibc chroot
Ultimately I want target other arch's, probably ARM. For the time being
though I happen to be targeting the same arch.
After the previous reply -
>that all depends on whether you setup your build environment properly
>in an ideal world:
> - only RDEPEND stuff goes into /tmp/target/
> - only DEPEND stuff goes into /usr/$CTARGET/
>so to address the issue, you could do:
>ROOT=/usr/$CTARGET/ emerge <X header packages> ROOT=/tmp/target/ emerge <X
>server/etc...> -mike
I ended up finding a lot more stuff that has helped me immensely and I am
now getting quite close to my first objective.
Something that continues to baffle me though is that on this mailing list
people have referred to cross compiling modular X and having got it up and
running.
I can't see how this can be done without setting up a portage overlay and
modifying the ebuilds for several of the packages under x11-libs/(at least)
to take the steps detailed in http://wiki.x.org/wiki/CrossCompilingXorg . So
far I have created modified ebuilds in my overlay dir to pass
--enable-malloc0returnsnull to ./configure where required and to set
CC_FOR_BUILD and apply the patches from that page. This has then allowed me
to cross compile those packages.
What baffles me is that from what I read on this list perhaps I shouldn't
need to do this, is there a portage overlay available somewhere that does
this already? If so I cant find it. If anyone could give many any clused
with regard to this, or let me know the steps they take to cross compile
modular X then that would be a great help.
Thanks
Ryan
--
gentoo-embedded@gentoo.org mailing list
next prev parent reply other threads:[~2006-07-10 11:02 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-07-06 11:05 [gentoo-embedded] Problem cross compiling modular X Ryan Baldwin
2006-07-06 12:02 ` Ryan Baldwin
2006-07-06 14:37 ` Ryan Baldwin
2006-07-06 19:21 ` Mike Frysinger
2006-08-24 19:19 ` Enrico Weigelt
2006-08-24 20:31 ` Leonardo Shiguemi Dinnouti
2006-08-28 6:51 ` Peter S. Mazinger
2006-08-24 19:17 ` Enrico Weigelt
2006-08-25 3:39 ` Mike Frysinger
2006-07-10 10:41 ` Peter S. Mazinger
2006-07-10 11:01 ` Ryan Baldwin [this message]
2006-07-10 17:44 ` [gentoo-embedded] nslu2 non turbo slug emerge gcc freezes / locks up nick thompson
2006-07-11 12:37 ` Ned Ludd
2006-07-14 3:40 ` nick thompson
2006-07-15 2:39 ` Mike Frysinger
2006-07-14 20:21 ` [gentoo-embedded] Problem cross compiling modular X Chuck Robey
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='02ae01c6a410$325e4a30$1a06a8c0@LXP0004' \
--to=ryan.baldwin@nexusalpha.com \
--cc=gentoo-embedded@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox