?
Solved

Compile a unix script with a completely independent binary

Posted on 2009-02-10
2
Medium Priority
?
355 Views
Last Modified: 2013-12-27
How do I compile a script in UNIX that is not dependent on the shell environment? For example, if I use a program called SHC and script shell is PERL, then if the remote system does not have PERL I would still want the program to run. SHC does not support completely independent binaries and I need some way to package a script as a program.
0
Comment
Question by:MeridianManagement
2 Comments
 
LVL 38

Expert Comment

by:yuzh
ID: 23606964
>>if I use a program called SHC and script shell is PERL, then if the remote system does not have PERL I would still want the program to run.
Sorry, you need to have perl installed on the other box to be able to run your script, that's the natural of the shell programming, all the dependicies have to be in the other system before you can use them.  there is no tools for "Compile a unix script with a completely independent binary "
0
 
LVL 51

Accepted Solution

by:
ahoffmann earned 2000 total points
ID: 23649101
0

Featured Post

Upgrade your Question Security!

Add Premium security features to your question to ensure its privacy or anonymity. Learn more about your ability to control Question Security today.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When you do backups in the Solaris Operating System, the file system must be inactive. Otherwise, the output may be inconsistent. A file system is inactive when it's unmounted or it's write-locked by the operating system. Although the fssnap utility…
I promised to write further about my project, and here I am.  First, I needed to setup the Primary Server.  You can read how in this article: Setup FreeBSD Server with full HDD encryption (http://www.experts-exchange.com/OS/Unix/BSD/FreeBSD/A_3660-S…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.
Suggested Courses
Course of the Month16 days, 11 hours left to enroll

862 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question