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: [PATCH] Add zlib in case host's version is too old.


Johannes, All,

On Friday 10 February 2012 12:53:10 Johannes Stezenbach wrote:
> Add zlib in case host's version is too old.

There's already a zlib patch on the list, which I've been sitting on for
a bit of time now:
  http://sourceware.org/ml/crossgcc/2011-11/msg00149.html

I've been reluctant to add this as-is (gut-feelings...) because I do not
want crosstool-NG to become a build-all-and-every-thing bloatware without
due thinking.

Especially, the reason ivoked was for portability of the toolchain. This
would have been solved by statically linking the toolchain, which would
have pulled the host's static zlib, and thus the toolchain owuld be portable.
But just building our own seemed a bit overkill...

> zlib is used by both binutils and gdb and the build fails
> on hosts which have a really old zlib version.

This is a very good reason we might want to build our own zlib (the same
reason we do build the other complibs).

Out of curiosity, what host is that?

> (gcc has its own zlib included)

Would it be feasible to have gcc use our own version instead of its bundled
one? Zhenqiang said gcc's build would break in this case [1], but I would
like hard facts why it's not possible.
  [1] http://sourceware.org/ml/crossgcc/2011-11/msg00147.html

Also, I have some stuff pending that touches the way companion libraries are
handled, so I will post-pone this patch for a little bit...

Thank you!

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


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