On Sun, Sep 24, 2006 at 11:19:41AM -0600, Dennis J Perkins wrote:
> When I try to build zlib in section 7, x86_64-unknown-linux-gnu-ar
> complains that -z is an illegal option.  I don't see -z being passed as
> an option, so why is it complaining?  And why is the -z option missing,
> since it is listed in the info page, but not in the error output?
> 
> 
> x86_64-unknown-linux-gnu-ar libz.a adler32.o compress.o crc32.o gzio.o
> uncompr.o deflate.o trees.o zutil.o inflate.o infback.o inftrees.o
> inffast.o
> x86_64-unknown-linux-gnu-ar: illegal option -- z
> Usage: x86_64-unknown-linux-gnu-ar [emulation options]
> [-]{dmpqrstx}[abcfilNoPsSuvV] [member-name] [count] archive-file file...
>        x86_64-unknown-linux-gnu-ar -M [<mri-script]

 This rang a (very quiet) bell.  Couldn't find it in my notes, but
google found a post of mine from June
http://linuxfromscratch.org/pipermail/cross-lfs/2006-June/002338.html
where I followed up on a post from January after I hit the problem
again trying to create a static libz.

 Does adding AR="${AR} rc" help ?

 If it does, which book (architecture, and *branch*) are you
following?  My recollection is that the problem is limited to
cross-sompiling a static libz.

Ken
-- 
das eine Mal als Tragödie, das andere Mal als Farce
_______________________________________________
Clfs-support mailing list
[email protected]
http://lists.cross-lfs.org/cgi-bin/mailman/listinfo/clfs-support

Reply via email to