QUOTE(GWatt @ 6 May, 2007 - 10:06 PM)

You can always compile three different libraries. (Windows, Linux, Mac)
BSD, Solaris, etc...
QUOTE(GWatt @ 6 May, 2007 - 10:06 PM)

If you don't like that option, you can write really obfuscated code so that no-one can understand it. That'll make debugging a pain in the @$$ though.
True. But it will be the same big pain to maintian it...
However why do you want to obfuscate in the first place?
If you want to protect your algorythm, patent/copyright it.
If you want security by obfuscation, then usually there is a better way - public keys, whatever...
To hide business logic, shift as much of it as possible to the server.
Generally C/C++ and everything else is just as easy to decompile - although you have more options there (which have a counterattack, too), but as a general rule decoding/cracking an obfuscation takes only a fraction of time of creating one.