when reading that doc, i cannot understand the following script #!/bin/bash exec /usr/lib/distcc/bin/sparc-unknown-linux-gnu-g${0:$[-2]} "$@"
what does the ":" do here? On Wed, Sep 16, 2009 at 9:14 PM, Xi Shen <davidshe...@googlemail.com> wrote: > great! thanks a lot. why i did not find this out, haha ;) > > > On Wed, Sep 16, 2009 at 8:08 PM, malc <mlash...@gmail.com> wrote: >> On Wed, Sep 16, 2009 at 9:41 AM, Xi Shen <davidshe...@googlemail.com> wrote: >>> >>> i want to use discc to speed my emerge compilation. but the problem is >>> that i have 32bit and 64bit mixed environment, and some of the cpus do >>> not support amd64 mode. so i just wonder if i could do cross compile. >>> >>> has anyone done this before? any suggestions/comments are welcomed. >> >> Did you try - http://www.gentoo.org/doc/en/cross-compiling-distcc.xml ? >> >> Cheers, >> malc. >> >> > > > > -- > Best Regards, > David Shen > > http://twitter.com/davidshen84/ > http://meme.yahoo.com/davidshen84/ > -- Best Regards, David Shen http://twitter.com/davidshen84/ http://meme.yahoo.com/davidshen84/