From: NightStrike <nightstrike@gmail.com>
To: gcc-help <gcc-help@gcc.gnu.org>
Subject: More questions on sysroots
Date: Wed, 19 Dec 2007 20:39:00 -0000 [thread overview]
Message-ID: <b609cb3b0712191239m43229861i5b918f13c18c34ab@mail.gmail.com> (raw)
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?
next reply other threads:[~2007-12-19 20:39 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-12-19 20:39 NightStrike [this message]
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
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=b609cb3b0712191239m43229861i5b918f13c18c34ab@mail.gmail.com \
--to=nightstrike@gmail.com \
--cc=gcc-help@gcc.gnu.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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).