Intel® C++ Compiler
Community support and assistance for creating C++ code that runs on platforms based on Intel® processors.
7956 Discussions

xiar v8 running ar with illegal option "z".

mwp
Beginner
486 Views
Hi all...

Im trying to compile "zlib" with icc8 under linux.

When doing so, i get this:

xiar: executing 'ar'
ar: illegal option -- z

I have updated to the latest GNU binutils.

Any ideas?

Thanks.
0 Kudos
1 Reply
tommy_hoffner
Beginner
486 Views
I've noticed in another context that xiar adds a - to at lease some of the flags it passes to ar (and your message has a --).

If possible, remove the - from that argument you send to xiar (i.e. z instead of -z)

/Tommy
0 Kudos
Reply