On Thu, Jul 14, 2011 at 1:14 PM, <freddie_cho...@op.pl> wrote: > You can have weak symbols with stub implementations inside your library. Weak > attribute is a GCC extension. Anyway - having just "extern" before such > function names should be enough... > Take a look at how it's done in OpenOCD - some modules are compiled into > libraries, than one huge library is created and final executable is done with > that lib.
Hello Freddie! I am doing exactly the same way, but at final link operation libswd cannot find "extern" functions provided by openocd library. Anyway I was wondering if this method can produce "standalone" library as there will be no "extern" functions provided by external applications by default... this is why I am considering function pointers... Best regards! :-) Tomek -- CeDeROM, SQ7MHZ, http://www.tomek.cedro.info _______________________________________________ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development