Reply in body

dbl

> -----Original Message-----
> From: Juergen Beisert [mailto:[email protected]]
> Sent: Wednesday, March 09, 2011 6:54 AM
> To: [email protected]
> Cc: David Lightstone
> Subject: Re: [ptxdist] Build problem with OSELAS.Toolchain-2011.02.0
> 
> David Lightstone wrote:
> > I am doing a rebuild per suggestion right now.
> >
> > There are 2 possibilities to consider
> > (1) As I understand the make / automake strategy, There must be a
> > development environment check somewhere which serves to establish
> > satisfaction of the non-hack solution (having the development package
> > for zlib installed). Its either that or the config option
> > --with-system-zlib is a deliberate override of that process. (Is the
> > config process for gcc obligated to check for consistency)
> >
> > If gcc is not intended to perform such a check, This would beg the
> > question
> > - should ptxdist checks for consistency between the rules and the
> > development environment?
> >
> > (2) I observe zlib-1.2.5 to be present in directory build-host. Quite
> > possibly it is intended as the non-hack solution. (if so, should it be
> > in the include path?). It certainly contains zlib.h. Should it be in
> > the include file path somewhere?
> 
> Hmm, as the toolchain should run later on on your host, using the local
zlib
> might not be a good idea. But currently I also do not know, why the zlib
is
> required.




It is needed for the build of the cross compiler gcc.
In particular the compilation of lto-compress.c

That it is needed for the build of a cross compiler suggests that zlib be
bootstrapped in exactly the same fashion as libc



> 
> jbe
> 
> --
> Pengutronix e.K.                              | Juergen Beisert
|
> Linux Solutions for Science and Industry      | Phone: +49-8766-939 228
|
> Vertretung Sued/Muenchen, Germany             | Fax:
+49-5121-206917-5555 |
> Amtsgericht Hildesheim, HRA 2686              | http://www.pengutronix.de/
|


-- 
ptxdist mailing list
[email protected]

Reply via email to