Skip to content

Instantly share code, notes, and snippets.

@jsonpittman
Created July 15, 2019 04:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jsonpittman/d3461c29e616b0d821b1345308423222 to your computer and use it in GitHub Desktop.
Save jsonpittman/d3461c29e616b0d821b1345308423222 to your computer and use it in GitHub Desktop.
CMOC and LWTOOLS on Fedora
// **********************************************************************
//** Steps to install CMOC and LWTOOLS on Fedora workstation **
//** CMOC and LWTOOLS versions are current versions as of 7/14/19 **
// **********************************************************************
// First, install updates and reboot:
sudo yum -y update
sudo yum -y install bison flex make gcc-c++
wget http://www.lwtools.ca/releases/lwtools/lwtools-4.17.tar.gz
tar zxvf lwtools-4.17.tar.gz
cd lwtools-4.17
make
sudo make install
cd ..
wget http://perso.b2b2c.ca/~sarrazip/dev/cmoc-0.1.59.tar.gz
tar zxvf cmoc-0.1.59.tar.gz
cd cmoc-0.1.59
sudo ./configure
sudo make
sudo make install
Now, you should be able to compile .c source files into a .bin:
cmoc -o somefile.bin somefile.c
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment