How to Link to a Static Library

Hello all,
To start off, sorry if I am asking the wrong question. Long story short, I want to make a program work on other computers, but when I try to, I am missing a .dll file. I did some research, and (I think) I need to be linking to a static or dynamic library. I have decided to link to a static library because I feel it suits my program better. I have looked up how to link to a static library, but all tutorials are done with Visual Studio, which I don't want to do.
Information about what I am using: I am programming on notepad++, and compiling on command prompt with the cygwin compiler. The program I am making stores passwords to a text document, but I do not know why that is relevant.
I am unsure linking is something I do while I am compiling, or if it something that I write into the program itself. Any help would be much appreciated.


why not make a shared hard drive and store files on that?
Because my main goal is to be able to give the program to my friends so they can use it for personal use.
Topic archived. No new replies allowed.