Skip to content
ferng edited this page May 8, 2020 · 4 revisions

c development, what I want to be doing in my head when I say I'm a developer.

Configure environment

  • install tools
sudo apt update
sudo apt-get dist-upgrade
sudo apt autoremove
sudo apt install build-essential
sudo apt install splint
sudo apt autoremove
  • prebuild
# lint
splint main.c
  • build
# build with header in current
gcc main.c dweightfunc.c -I.
  • environment
# show gcc library locations
`gcc -print-prog-name=cpp` -v

Clone this wiki locally