This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: error build crosstool with gcc-4.40


Dmitry,
All,

On Wednesday 20 May 2009 13:28:02 Dmitry Plotnikov wrote:
> As we reported before, we successfully build GCC 4.4.0 for 
> arm-unknown-lunux-gnueabi.
> First, we run "./ct-ng arm-unknown-linux-gnueabi"
> Then in "./ct-ng menuconfig":
> Paths and misc options:
> Set Try features marked as experimental to avoid hiding something useful
[--SNIp--]
> C compiler: gcc 4.4.0, as snapshot date we used 20090512

While this generates (at least it seems to!) a working gcc-4.4.0, this
is definitely not sufficient to take full advantage of gcc-4.4.0.

gcc-4.4 requires two new libraries to succesffuly build its loop optimiser:
PPL and CLooG. Currently, crosstool-NG 1.4 (the latest stable series) does
not build such libraries. In the repository, /trunk has only code for
building PPL. CLooG is only a few files away, but due to lack of time,
it's not been done so far. Pending in the few incoming days...

Of course, if your system has the correct versions of PPL and CLoog
installed, then you should be fine. For example, Debian stable has PPL
0.9, which is *not* sufficient, and CLoog is not available. So building
a complete gcc-4.4.0 with a standard Debian stable is not possible. YMMV.

Note: I don't know how gcc behaves if it can't find those libraries.
Does it complain and bails out? Or does it simply de-activate its loop
optimiser? Anyway, PPL and CLooG *are* listed as pre-requisite on:
  http://gcc.gnu.org/install/prerequisites.html

> Our last config file:
[--SNIP--]

OK, thank you for sharing this with us! :-)

Regards,
Yann E. MORIN.

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +0/33 662376056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| --==< ^_^ >==-- `------------.-------:  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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]