Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 78003 Details for
Bug 120076
have catalyst automatically setup a cross-compiling environment
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
new (hopefully) working patch
cat2.patch (text/plain), 859 bytes, created by
Andrew Gaffney (RETIRED)
on 2006-01-24 08:09:06 UTC
(
hide
)
Description:
new (hopefully) working patch
Filename:
MIME Type:
Creator:
Andrew Gaffney (RETIRED)
Created:
2006-01-24 08:09:06 UTC
Size:
859 bytes
patch
obsolete
>--- chroot-functions.sh.old 2006-01-23 11:52:42.000000000 -0600 >+++ chroot-functions.sh 2006-01-24 10:12:16.000000000 -0600 >@@ -60,6 +60,18 @@ > #fi > mkdir -p /etc/distcc > echo "${clst_distcc_hosts}" > /etc/distcc/hosts >+ >+ # This sets up automatic cross-distcc-fu according to http://www.gentoo.org/doc/en/cross-compiling-distcc.xml >+ CHOST=$(portageq envvar CHOST) >+ cd /usr/lib/distcc/bin >+ rm cc gcc g++ c++ >+ ln -s /usr/bin/distcc ${CHOST}-cc >+ echo -e '#!/bin/bash\nexec /usr/lib/distcc/bin/'${CHOST}'-${0##*/} "$@"' > ${CHOST}-wrapper >+ chmod a+x /usr/lib/distcc/bin/${CHOST}-wrapper >+ ln -s ${CHOST}-wrapper cc >+ ln -s ${CHOST}-wrapper gcc >+ ln -s ${CHOST}-wrapper g++ >+ ln -s ${CHOST}-wrapper c++ > fi > } > >@@ -110,6 +122,7 @@ > > cleanup_distcc() { > rm -rf /etc/distcc/hosts >+ rm -rf /usr/lib/distcc/bin > } > > update_env_settings(){
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 120076
:
77926
|
77998
|
78003
|
78029
|
117356