Hey I am trying to compile a project that has multiple dependancies.
I compiled the dependancies and the main program to bitcode with *emconfigure ./configure* and *emmake make*, which resulted in a lot of various files (bitcode and otherwise). *How do I choose the bitcode files to use in compiling to javascript? Also is there a right order the bitcode files should be in the command?* For example, when I take all the bitcode files of a certain dependancy and try to join them into one bitcode file, I get an error message saying there are multiple main symbols defined. *So should I remove all bitcode files in dependancies that have the main function?* I also found that one library seems to have all the bitcode files defined multiple times (see below). How to choose the right ones? Should I just start reading the source code to find out, or is there an easier way? libpng12_la-pngerror.o libpng12_la-pngget.o libpng12_la-pngmem.o libpng12_la-png.o libpng12_la-pngpread.o libpng12_la-pngread.o libpng12_la-pngrio.o libpng12_la-pngrtran.o libpng12_la-pngrutil.o libpng12_la-pngset.o libpng12_la-pngtrans.o libpng12_la-pngwio.o libpng12_la-pngwrite.o libpng12_la-pngwtran.o libpng12_la-pngwutil.o libpng_la-pngerror.o libpng_la-pngget.o libpng_la-pngmem.o libpng_la-png.o libpng_la-pngpread.o libpng_la-pngread.o libpng_la-pngrio.o libpng_la-pngrtran.o libpng_la-pngrutil.o libpng_la-pngset.o libpng_la-pngtrans.o libpng_la-pngwio.o libpng_la-pngwrite.o libpng_la-pngwtran.o libpng_la-pngwutil.o Thanks for reading! -- 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]. For more options, visit https://groups.google.com/d/optout.
