On Fri, Jul 06, 2012 at 11:35:34AM +0200, Christophe-Marie Duquesne wrote: > I want the libary to be a fully compatible runtime and compile-time > replacement for the closed-source one, so I have no choice but to use > the exact same symbol names in my header. What I do is I take the > header of the closed-source library, wipe out the comments and > elaborated macros, and then implement all the functions of the exposed > API in a .c file. As a consequence, there is very little actual > difference between my header and the one of the closed-source library.
To avoid any implication that anything from the headers has been copied, why not just use the output of "nm [-D]". This is the interface that programs use to link with the library, and is what you need to provide as a drop-in replacement. Regards, Roger -- .''`. Roger Leigh : :' : Debian GNU/Linux http://people.debian.org/~rleigh/ `. `' schroot and sbuild http://alioth.debian.org/projects/buildd-tools `- GPG Public Key F33D 281D 470A B443 6756 147C 07B3 C8BC 4083 E800 -- To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20120706124012.ga25...@codelibre.net