mac build woes : homebrew+iconvdata=big trouble

Yann E. MORIN yann.morin.1998@free.fr
Thu Jan 10 21:16:00 GMT 2013


Jolyon, All,

On Thursday 10 January 2013 Jolyon Wright wrote:
> I have been trying to build an arm cross compiler toolchain to run on
> the mac using homebrew. I have been using these notes as a starting
> point : http://www.benmont.com

There are very bad suggestions in this /tutorial/:

  - manually editing the .config file
    This is a Bad Thing (TM).
    The configuration of crosstoll-Ng is done by running one of the
    configurators:
        ct-ng menuconfig
    or:
        ct-ng nconfig

    Options are set in the .config file because they've been set in the
    menuconfig. Manually overrding them is wrong. The configuration must
    be fixed from menuconfig.

  - Static linking impossible on the host system [...]
    The solution is wrong.

    This error is because something in crostool-NG wants to do some
    static linking. This should be disabled, using the menuconfig.
    In this case, the option wanting the static link is:
        CT_CC_STATIC_LIBSTDCXX
    which is selected in:
        C compiler  --->
            [*] Link libstdc++ statically into the gcc binary

    If you disable this option, then static linking is no longer
    needed, and this error will vanish. Also, the '-Bstatic' issue will
    also disapear.

    We now have better code and error messages in the repository for this
    problem. It will be available in the next release.

  - gdb's 'readchar: Got EOF' error:
    Do not edit the .config file manually. Use 'ct-ng menuconfig' to change
    the config options.

If you know how to contact the author, then please forward him/her this
mail, and tell him/her to ask for help on the mailing list. We're usually
trying to answer issues as much as we can (but being a volunteer endeavour
for me, it's on a time-permit basis; others can/will help, too).

Regards,
Yann E. MORIN.

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'


--
For unsubscribe information see http://sourceware.org/lists.html#faq



More information about the crossgcc mailing list