Hi All,
I am trying to build my project using emcc but while building if I provide staitc lib : libA.a , it it giving me error "Unknown format, not a static library!'.
In my case libA.a is dependent on libB.a.
building step for libB.a :
1) generating object file i.e .o files of all the cpp files
2) creating libB.a : running "emar" command for : emar -r {list of .o files}
building libA.a
1) generating object file i.e .o files of all the cpp files
2) creating libB.a : emcc -L ./ -llibB(dependent lib) -o./libA.a {list of .o files}
My question here is : does anyone knows how to create static lib(.a) when the static lib are dependent on other static lib. i.e I have all the .o files and .a file which I need to use for creating new lib.
Regards,
Anshul