On 3/13/06, Benjamin Smedberg <[EMAIL PROTECTED]> wrote: > Many people come to this newsgroup to ask questions about how to link their > XPCOM component or application. This is the correct newsgroup to ask such > questions; however, questions frequently don't have enough details to > provide a good answer. When asking a question about linkage issues, please > read the following page on MDC: > > http://developer.mozilla.org/en/docs/XPCOM_Glue > > And be sure to provide the following information in your question: > > 1) What branch/codebase are you trying to build against? > 2) Which linking strategy are you using (internal, dependent, or standalone) > 3) What compile and link flags are you using?
That page doesn't mention anything about which compile flags are needed for an external build. I ended up using these: -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -fno-rtti -fno-exceptions -pthread -pipe -fshort-wchar I had to ask on the list about -fno-tti since I don't normally use it and I couldn't figure out from the link errors that I needed it. This is probably documented somewhere in the wiki but I couldn't find it. > 4) Are you using the mozilla makefile systems, or an independent build system? > > --BDS > _______________________________________________ > dev-tech-xpcom mailing list > [email protected] > https://lists.mozilla.org/listinfo/dev-tech-xpcom > -- Jon Smirl [EMAIL PROTECTED] _______________________________________________ dev-tech-xpcom mailing list [email protected] https://lists.mozilla.org/listinfo/dev-tech-xpcom
