View previous topic :: View next topic |
Author |
Message |
tenspd137 Guru
Joined: 22 Aug 2006 Posts: 391
|
Posted: Thu Jun 16, 2011 4:19 am Post subject: Creating an embedded development environment[solved] |
|
|
Hi all -
I hope this is the right place for this. I was reading the embedded handbook. I wanted to experiment with creating a cross compiler. I am just wondering if:
Quote: |
To keep your Gentoo installation clean, we highly recommend that crossdev installation and all cross-compiling activities occur inside a Gentoo stage3 chroot.
|
means that on my current system, I download a stage 3 tarball and install it somewhere, say
/mycrosscompiler
and then chroot into there and set up a cross compiler? Would that work? It certainly seems safer. Sorry if it seems like a dumb question, I was just trying to clarify as I interpreted it as basically setting up a smaller system within a system.
Thanks!
Last edited by tenspd137 on Mon Jun 27, 2011 4:06 pm; edited 1 time in total |
|
Back to top |
|
|
BradN Advocate
Joined: 19 Apr 2002 Posts: 2391 Location: Wisconsin (USA)
|
Posted: Sun Jun 19, 2011 12:07 am Post subject: |
|
|
Yes, I think they recommend this because using crossdev installs lots of extra build tools under different ebuild names - it's not impossible to do this in your main system but cleaning everything out when you're done with a particular version is a bit of a mess.
As a bonus, you'll have a development (or at least cross compiling depending how much you install) environment that can run under other linux if needed without modifications. |
|
Back to top |
|
|
tenspd137 Guru
Joined: 22 Aug 2006 Posts: 391
|
Posted: Mon Jun 27, 2011 4:06 pm Post subject: |
|
|
Thanks - that helps a lot in planning - I am currently upgrading/changing my system to amd64, so I thought I would use it as an opportunity to clean up, but I just wanted to make sure I was reading the embedded development stuff corectly. |
|
Back to top |
|
|
|