[Melt] Add coutput argument to translateto* modes

Romain Geissler romain.geissler@gmail.com
Tue Jul 19 14:46:00 GMT 2011


Hi,

Melt is creating annoying *.c files next to the .so module file, and i
just can no
longer handle temporary files polluting my final binary directory.
Here is a simple patch
that allow the user to give an explicit coutput file path in all
translateto* modes.

By the way, trying to reach the C sources files and checking their
checksum with the loaded
.so module just don't make sens to me. This task should be done by a
proper Makefile by
the plugin developer, not by Melt. Gcc won't tell you that your file.o
is outdated because
file.c has changed, there is no reason for melt to act otherwise. At
least, disable this behavior
by default and allow it through a custom parameter.

Romain Geissler
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Changelog
Type: application/octet-stream
Size: 407 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20110719/4bbc7c86/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: couput.diff
Type: application/octet-stream
Size: 5893 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20110719/4bbc7c86/attachment-0001.obj>


More information about the Gcc-patches mailing list