On Thu, Dec 18, 2003 at 09:57:47AM -0500, Derek Atkins wrote: > Lionel Elie Mamane <[EMAIL PROTECTED]> writes:
>> Nope, because the engine would depend only on the prototype of the >> "make invoice" function, not on its precise definition / >> implementation. The engine would #include the right business/foo.h >> file, and that's it. > Except that doesn't work when a() and b() are in different shared > objects! > You're now linking those two .o files at compile time, which is NOT > how gnucash is put together. Build A.o into A.so, B.o into B.so, > and then have main ldopen() A.so and B.so and see if you can get it > to work! I hadn't realised Gnucash worked was put together in this way. -- Lionel _______________________________________________ gnucash-devel mailing list [EMAIL PROTECTED] http://www.gnucash.org/cgi-bin/mailman/listinfo/gnucash-devel