hash signature of cc1 etc....?
Basile Starynkevitch
basile@starynkevitch.net
Fri Jul 22 18:16:00 GMT 2011
Hello All,
As far as I understand, plugins' shared objects are not supposed to (be guaranteed to)
work when gcc changes, even from one patchlevel to the next, or perhaps even when it has
been rebuilt.
In MELT, I am trying very hard to enforce that MELT modules (the *.so produced by
compiling the *.c generated by MELT) are rebuilt when needed, and I even encode in these
*.so some md5sum related to the gcc loading it.
Maybe we should have an easy way to display such checksums.
Should we add an option to the gcc driver which would print such checksums?
Of course, people could use a shell script using the output of gcc -print-file-name=cc1
etc, but I was imagining something simpler, like eg an hypothetical option
gcc -print-internal-checksums
Regards
--
Basile STARYNKEVITCH http://starynkevitch.net/Basile/
email: basile<at>starynkevitch<dot>net mobile: +33 6 8501 2359
8, rue de la Faiencerie, 92340 Bourg La Reine, France
*** opinions {are only mine, sont seulement les miennes} ***
More information about the Gcc
mailing list