public inbox for crossgcc@sourceware.org
 help / color / mirror / Atom feed
From: Per Arnold Blaasmo <per-arnold.blaasmo@atmel.com>
To: crossgcc@sourceware.org
Subject: Re: Built arm-none-eabi with multilib for x86_64-unkown-linux-gnu with crosstool-ng-1.14.0
Date: Thu, 02 Feb 2012 11:15:00 -0000	[thread overview]
Message-ID: <4F2A702F.4090702@atmel.com> (raw)
In-Reply-To: <201202012147.12051.yann.morin.1998@free.fr>

On 01. feb. 2012 21:47, Yann E. MORIN wrote:
> Per Arnold, All,
> 
> On Wednesday 01 February 2012 15:10:28 Per Arnold Blaasmo wrote:
>> I managed to build arm-none-eabi with multilib for
>> x86_64-unkown-linux-gnu with crosstool-ng-1.14.0.
>>
>> My .config file is attached.
> 
> OK, I was able to rebuild it, and the compiler is indeed multi-lib aware.
> But currently, newlib is compiled only for the default combination, and not
> once for each multi-lib combinations, so the toolchain is not entirely
> multi-lib.
> 
> 1.14.0 has support for multi-lib only for glibc and eglibc, and neither for
> newlib nor uClibc.
> 
But according to Newlib FAQ:
-"Newlib, by default, builds "multilibs"."

- "When built, the compiler sets up a list of option permutations and a
set of directory names to place multilibs in. This information is
exposed externally via the "print-multi-lib" option which outputs the
list in a compact form. When the compiler is called to compile and link
an application, it recognizes multilib-designated options and knows
which versions of target libraries, such as newlib, to link with which
has been built with the same options"

-"When newlib is building, it simply invokes the compiler with the
-print-multi-lib option to get the set of multilibs it should create"

So I believed that since GCC and Binutils was built with --with-multilib
option that Newlib would just pick up that.

Regards
Per A.

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

  reply	other threads:[~2012-02-02 11:15 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-01 14:11 Per Arnold Blaasmo
2012-02-01 20:47 ` Yann E. MORIN
2012-02-02 11:15   ` Per Arnold Blaasmo [this message]
2012-02-02 12:40     ` Trevor Woerner
2012-02-02 12:57       ` Yann E. MORIN
2012-02-02 13:01     ` Yann E. MORIN

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=4F2A702F.4090702@atmel.com \
    --to=per-arnold.blaasmo@atmel.com \
    --cc=crossgcc@sourceware.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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).