public inbox for crossgcc@sourceware.org
 help / color / mirror / Atom feed
* Locating zlib in a cross-build
@ 2012-02-24 21:47 Chris Wilkinson
  2012-02-24 21:57 ` Yann E. MORIN
  0 siblings, 1 reply; 2+ messages in thread
From: Chris Wilkinson @ 2012-02-24 21:47 UTC (permalink / raw)
  To: crossgcc

I successfully built the powerpc-e300c3-linux-gnu toolchain on a
Debian/AMD64 host.

I used the toolchain to cross-compile a source package that wants zlib.

CC=xx, --target=xx, --host=xx were specified in the ./configure command line.

Configure complains that zlib is missing. It appears to be built as
part of the toolchain. I see the libraries under the .build/.... dir.

I suppose I need to tell configure where it is. How I should do that?

Thanks
Chris Wilkinson

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Locating zlib in a cross-build
  2012-02-24 21:47 Locating zlib in a cross-build Chris Wilkinson
@ 2012-02-24 21:57 ` Yann E. MORIN
  0 siblings, 0 replies; 2+ messages in thread
From: Yann E. MORIN @ 2012-02-24 21:57 UTC (permalink / raw)
  To: crossgcc; +Cc: Chris Wilkinson

Chris, All,

On Friday 24 February 2012 22:47:15 Chris Wilkinson wrote:
> I successfully built the powerpc-e300c3-linux-gnu toolchain on a
> Debian/AMD64 host.
> 
> I used the toolchain to cross-compile a source package that wants zlib.
> 
> CC=xx, --target=xx, --host=xx were specified in the ./configure command line.
> 
> Configure complains that zlib is missing. It appears to be built as
> part of the toolchain. I see the libraries under the .build/.... dir.
> 
> I suppose I need to tell configure where it is. How I should do that?

No. You have to build your own:
 - crosstool-NG does not build a zlib that is installed in the toolchain.
 - gcc does build a version for itself, so it is not available.

Crosstool-NG does not provide a BSP. Crosstool-NG only provides a toolchain:
 - C library, headers and libraries: glibc, eglibc, uClibc... Your pick.
 - compiler: gcc
 - binary utilities (assembler, linker...): binutils

That's all. If other tools are built, that's only for internal use, and it
is not installed with the toolchain.

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-02-24 21:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-02-24 21:47 Locating zlib in a cross-build Chris Wilkinson
2012-02-24 21:57 ` Yann E. MORIN

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).