On Mon, Jun 11, 2001 at 06:52:59PM +0200, Xavier DEBREUIL wrote:
> I am trying to build zlib library ; configuring for shared libraries
> failed, so I compiled it to be static...
> but the following line is uncorrect
>
> arm-linux-ar libz.a adler32.o compress.o crc32.o gzio.o uncompr.o
> deflate.o trees.o zutil.o inflate.o infblock.o inftrees.o infcodes.o
> infutil.o inffast.o
> arm-linux-ar: illegal option -- z
> Usage: arm-linux-ar [-X32_64] [-]{dmpqrstx}[abcfilNoPsSuvV]
> [member-name] [count] archive-file file...
> arm-linux-ar -M
> [<mri-script]
>
>
> Could someone tell me which option is usefull to make that library ?
ar interprets the first argument as the commant, and libz is not a
valid command. I think you want arm-linux-ar rcs libz.a ...
Erik
--
J.A.K. (Erik) Mouw, Information and Communication Theory Group, Department
of Electrical Engineering, Faculty of Information Technology and Systems,
Delft University of Technology, PO BOX 5031, 2600 GA Delft, The Netherlands
Phone: +31-15-2783635 Fax: +31-15-2781843 Email: [EMAIL PROTECTED]
WWW: http://www-ict.its.tudelft.nl/~erik/
_______________________________________________
http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm
Please visit the above address for information on this list.