PDA

View Full Version : Compile source c file hidding the source code


gonzarg
01-22-2004, 03:53 PM
Hi,
I've devolped an audit program for certain customers. They are using AIX,HP/UX, Solaris, so I have to compile it in their site, but I don't want to let them to read the source files.
How can I do it?
Is there any way to make a library shareable in all UNIX platforms?

TIA,
Gonzalo.

RobSeace
01-22-2004, 09:33 PM
No, you're unlikely to be able to come up with a binary that will
run across all of those platforms... But, you could precompile
binaries for each platform on your own, rather than on their
specific systems... If you don't have access to the actual
platforms, you could probably still setup a cross-compilation
environment, so that you could compile targetting a platform
other than the one you're running on...

i3839
01-22-2004, 10:26 PM
It's possible to compile windows binaries on Linux, so cross-compiling for another unix like system should be peanuts in comparison.