user1855952
user1855952

Reputation: 1575

Libtool output "unknown option character -o" error

So I have a directory of .o files that I am trying to output to a static library using libtool.

From inside the directory containing all the .o files I do the following, where mylibrary.a is located in the parent directory

$ libtool  -static *.o -output ../mylibrary.a

However I keep getting the following error:

unknown option character `o' in: -output

How do I resolve this? I am doing this all on the mac osx terminal

Upvotes: 0

Views: 989

Answers (1)

mipadi
mipadi

Reputation: 410952

The flag should be -o, not -output.

Upvotes: 7

Related Questions