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

-- 
You received this message because you are subscribed to the Google Groups 
"emscripten-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/emscripten-discuss/4d8cb19d-b45b-4a90-afac-eb4cbb20eb81%40googlegroups.com.

Reply via email to