public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* More questions on sysroots
@ 2007-12-19 20:39 NightStrike
  2007-12-20 21:23 ` Kaz Kylheku
  0 siblings, 1 reply; 7+ messages in thread
From: NightStrike @ 2007-12-19 20:39 UTC (permalink / raw)
  To: gcc-help

I thought I was doing the right thing for a while, but apparently
there are still issues.  If I want to build a complete toolchain as a
canadian cross, tar it up, and give it to someone else, I have been
doing the following for configuring binutils/gcc:

../gcc-svn/gcc/configure --prefix=/tmp/rt/root
--with-sysroot=/tmp/rt/root --target=$TARGET

Will this combinations of options, after tarring up /tmp/rt/root,
allow that tar to be distributed anywhere, untarred into any
directory, and run as normal with nothing but a simple change to PATH?
 I thought it would.  I thought I could do this:

cd /tmp/rt
tar cjf tarfile root --owner 0 --group 0

Then on any system:
cd /home/user/opt
tar xf tarfile
export PATH=/home/user/opt/root/bin:$PATH

And finally, use that gcc seemlessly.  Will that work?

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2007-12-22 17:54 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-12-19 20:39 More questions on sysroots NightStrike
2007-12-20 21:23 ` Kaz Kylheku
2007-12-21  9:17   ` NightStrike
2007-12-21 18:30     ` Kaz Kylheku
2007-12-22 17:22       ` NightStrike
2007-12-22 17:46         ` Brian Dessent
2007-12-22 17:54           ` NightStrike

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).