public inbox for gentoo-amd64@lists.gentoo.org
 help / color / mirror / Atom feed
From: Xi Shen <davidshen84@googlemail.com>
To: gentoo-amd64@lists.gentoo.org
Subject: Re: [gentoo-amd64]corss compile 64bit on 32bit os
Date: Wed, 16 Sep 2009 21:36:37 +0800	[thread overview]
Message-ID: <53e35fd50909160636l53ba14ffm6aa060f5f9648146@mail.gmail.com> (raw)
In-Reply-To: <53e35fd50909160614u4c71489frbb05cf740a6ffa4@mail.gmail.com>

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 <davidshen84@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 <mlashley@gmail.com> wrote:
>> On Wed, Sep 16, 2009 at 9:41 AM, Xi Shen <davidshen84@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/



  reply	other threads:[~2009-09-16 13:36 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-16  9:41 [gentoo-amd64]corss compile 64bit on 32bit os Xi Shen
2009-09-16 12:08 ` malc
2009-09-16 13:14   ` Xi Shen
2009-09-16 13:36     ` Xi Shen [this message]
2009-09-16 16:27       ` Frank Peters
2009-09-17  1:04         ` Xi Shen
2009-09-17  2:26           ` Frank Peters
2009-09-17 10:25             ` Xi Shen
2009-09-17  0:46 ` [gentoo-amd64] Re: corss " Allistar

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=53e35fd50909160636l53ba14ffm6aa060f5f9648146@mail.gmail.com \
    --to=davidshen84@googlemail.com \
    --cc=gentoo-amd64@lists.gentoo.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