Results 1 to 3 of 3
i have writen shared object and i want to deliver it end users. I can't give program codes to end users; so that i am thinking to deliver object files ...
- 06-09-2008 #1Just Joined!
- Join Date
- Jun 2008
- Posts
- 2
creating makefile
i have writen shared object and i want to deliver it end users. I can't give program codes to end users; so that i am thinking to deliver object files and linking the object files on the side of end users. My shared object uses dynamically pthread and pcsclite objects. Thus while linking objects i have to know the path of pthread and pcsclite objects. How can i get the paths ? In my computer pcsclite is under user/local/lib. I think this path can be different at end users.
i have conserns, delivering object files instead of codes can be a problem at installation?
- 06-09-2008 #2
Generally you place such objects into a object code library and link them into the compiler. Alternatively, you just provide the source code.
If your running Linux, then you are BOUND (by international law) to release everything you generate/build (if using either GNU Linux tools, OS) back to the GNU-Linux community and you must provide it in source code - You know the licences you accepted.
Why can't you give program code to the users? Source code or library object code linkage is not an issue for compiler(s).
If your talking about another OS (eg: Mircosoft XP) then there are other questions I cannot answer.
- 06-09-2008 #3Just Joined!
- Join Date
- Jun 2008
- Posts
- 2
i am using linux and communicating with a hardware. i can't give source code, because i embed symetric key into source code for secure messaging.
How can i get the shared objects paths that i need?


Reply With Quote