-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Lars Nielsen edited this page Jul 1, 2014
·
2 revisions
Make certain you have the following two directories on your system:
/usr/local/lib
/usr/local/include
In the build zip file is include a CONFIG file, this file includes a small bash script
with sudo or in su. run the following command:
sudo sh ./CONFIG
or in su sh ./CONFIG
This installs dynstr as a static library on your system
In SampleMakefile, you find an example on how to compile your program using dynstr, below is the content of SampleMakefile
gcc -o Demo -g -pedantic -Wall -O Demo.c -I /usr/local/include/ -L /usr/local/lib -l dynstr