Generate C Module

gen_c_mod is shell tool for generating C module.

Developed in bash code: 100%.

gen_c_mod shell checker

The README is used to introduce the modules and provide instructions on how to install the modules, any machine dependencies it may have and any other information that should be provided before the modules are installed.

GitHub issues open GitHub contributors

Table of Contents

Installation

Navigate to release page download and extract release archive.

To install gen_c_mod type the following:

tar xvzf gen_c_mod-x.y.tar.gz
cd gen_c_mod-x.y
cp -R ~/sh_tool/bin/   /root/scripts/gen_c_mod/ver.x.y/
cp -R ~/sh_tool/conf/  /root/scripts/gen_c_mod/ver.x.y/
cp -R ~/sh_tool/log/   /root/scripts/gen_c_mod/ver.x.y/

alt tag

Or You can use docker to create image/container.

gen_c_mod docker checker

Usage

# Create symlink for shell tool
ln -s /root/scripts/gen_c_mod/ver.x.y/bin/gen_c_mod.sh /root/bin/gen_c_mod

# Setting PATH
export PATH=${PATH}:/root/bin/

# Generating C module
gen_c_mod SimpleTest

Dependencies

gen_c_mod requires next modules and libraries:

Shell tool structure

gen_c_mod is based on MOP.

Code structure:

sh_tool/
├── bin/
│   └── gen_c_mod.sh
├── conf/
│   ├── gen_c_mod.cfg
│   ├── gen_c_mod_util.cfg
│   └── template/
│       ├── c_source.template
│       └── h_header.template
└── log/
    └── gen_c_mod.log

Docs

Documentation Status

More documentation and info at:

License: GPL v3 License

Copyright (C) 2017 by vroncevic.github.io/gen_c_mod

gen_c_mod is free software; you can redistribute it and/or modify it under the same terms as Bash itself, either Bash version 4.2.47 or, at your option, any later version of Bash 4 you may have available.

Lets help and support FSF.

Free Software Foundation

Donate