Le Thu, 19 Feb 2009 04:07:16 -0800 (PST),
a écrit :
>
> > encryption!), but it would not be very difficult to write a wrapper
> > around an existing compiler.
>
> That means, modifying code (of gcc most likely, others source won't be
> available ) and then compiling it for all different platforms.
> Yes that is certainly one option. Thanks.
Unless you are completely paranoid (e.g. temp files issue when
compiling) you need juste an external program that take crypted
source, decrypt it and call the compiler. No need to tweak gcc.
> but I thought of if any of the compiler already had it because that
> will save me a time for cross compiling and maintenance.
One can find crypted source compiler like:
<http://oldsite.vislab.usyd.edu.au/resources/guide/houdini/vex/compiler.html>
selectable via pragmas. Unfortunately, I never heard about
crypted ansi C compiler. But who knows, wait and see...
--
Jacques.