Crmgo Blog

kompilujemy basha za pomocą shc

kompilujemy basha za pomocą shc

Pobieramy program ze strony http://www.datsi.fi.upm.es/~frosal/, rozpakowujemy archiwum, uruchamiamy `mw shc-3.x.x.c shc.c`, wykonujemy `make`, następnie `make test` oraz `OPTIONS`.

kompilujemy basha za pomocą shc

pobieramy program ze strony http://www.datsi.fi.upm.es/~frosal/

rozpakowujemy archiwum

mw shc-3.x.x.c shc.c

make

make test

shc -v -r -T -f myscript

OPCJE

     The command line options are:

     -e date
          Expiration date in dd/mm/yyyy format [none]

     -m message
          message to display  upon  expiration  ["Please  contact
          your provider"]

     -f script_name
          File name of the script to compile

     -i inline_option
          Inline option for the shell interpreter i.e: -e

     -x comand
          eXec    command,    as    a    printf    format    i.e:
          exec(\\'%s\\',@ARGV);

     -l last_option
          Last shell option i.e: --

     -r   Relax security. Make  a  redistributable  binary  which
          executes  on different systems running the same operat-
          ing system.

     -v   Verbose compilation

     -D   Switch on debug exec calls

     -T   Allow binary to be  traceable  (using  strace,  ptrace,
          truss, etc.)

     -C   Display license and exit

     -A   Display abstract and exit

     -h   Display help and exit

Uwaga: wpis mógł powstać z pomocą AI i redakcji. Odpowiedzialny: Dmytro Lomaka, Kaltenkirchen.