UNIX Socket FAQ

A forum for questions and answers about network programming on Linux and all other Unix-like systems

You are not logged in.

  • Index
  • » C
  • » Compile source c file hidding the source code

#1 2004-01-22 04:53 PM

gonzarg
Member
Registered: 2004-01-22
Posts: 4

Re: Compile source c file hidding the source code

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.

Offline

#2 2004-01-22 10:33 PM

RobSeace
Administrator
From: Boston, MA
Registered: 2002-06-12
Posts: 3,847
Website

Re: Compile source c file hidding the source code

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...

Offline

#3 2004-01-22 11:26 PM

i3839
Oddministrator
From: Amsterdam
Registered: 2003-06-07
Posts: 2,239

Re: Compile source c file hidding the source code

It's possible to compile windows binaries on Linux, so cross-compiling for another unix like system should be peanuts in comparison.

Offline

  • Index
  • » C
  • » Compile source c file hidding the source code

Board footer

Powered by FluxBB