Patches for crosscompiling on Mac OS X

Yann E. MORIN yann.morin.1998@anciens.enib.fr
Mon Nov 1 13:53:00 GMT 2010


Geoffrey, Titus, All,

On Monday 01 November 2010 10:10:34 Geoffrey Lee wrote:
> > Still, in which way "non-latin" characters are special?
> > Files on the Mac are generally encoded using UTF-8. Do you mean any character with 
> > a mültibyte representation?
[--SNIP--]
> Yes, it is multibyte.

Not only is your example multibyte, it also is a wide-glyph (that is,
it takes more space to render than an ASCII 'A', for example). Also I
have been using crosstool-NG on non-ASCII, UTF-8 characters with accents
(eg. é), that are also multibytes (wide chars), but are rendered as wide
as an ASCII char.

I just tried current tip of the tree with those paths:
# pwd
/home/ymorin/dev/crosstool-NG/ct-ng.test-ホーム
# grep CT_PREFIX_DIR= .config
CT_PREFIX_DIR="/opt/x-tools/test-ホーム/${CT_TARGET}"

And the toolchains builds OK, the kernel headers are properly installed.

I believe this might be an issue on your system, and not related to the
handling of multi-byte chars, or wide-glyphs either.

> > The links to the configured programs are created in the
> > target working directory, I think in tools/bin or so.

Yes, basically, crosstool-NG creates shell wrappers in
${CT_WORK_DIR}/tools/bin and you should see a file named 'sed' in there.

> > And since PATH should be modified to point there first

Yes, definitely it is.

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