Good morning Steve,
On 07/11/2010 11:29 PM, Steve Wampler wrote:
> Bruce & Breeanna Rennie wrote:
>> I have tried using the following as an example
>>
>> unincon -B -o be blockexpr.icn
>>
>> but the prefix as found in the unicon bash script is not being added
>> to the file
>>
>> #!/bin/sh
>> IXBIN=/home/Bruce/src/Unicon/bin/iconx
>> IXLCL=`echo $0 | sed 's=[^/]*$=iconx='`
>>
>> [ -n "$ICONX" ] && exec "$ICONX" $0 ${1+"$@"}
>> [ -x $IXLCL ] && exec $IXLCL $0 ${1+"$@"}
>> [ -x $IXBIN ] && exec $IXBIN $0 ${1+"$@"}
>> exec iconx $0 ${1+"$@"}
> ...
>>
>> Any clues as to what needs to be done to get this automatically
>> prepended.
>
> Is there a reason you want the -B option? Wouldn't you get what you
> want by just omitting it?
>
Without this option, a binary file is created that has no prefix and can
only be run by the following
iconx be
When I built the Unicon system from source, it has created a number of
the files as bash scripts which are executable because of the prefix
above. i am just trying to achieve the same effect. I have looked at the
make files but at this point in time have not been able to find where
this is added.
regards
Bruce Rennie
------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Unicon-group mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/unicon-group