More questions on sysroots

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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?

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux