-
Notifications
You must be signed in to change notification settings - Fork 0
nditc/shared_lib_demo
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Let's Make a DLL ================ First let's define our libray. In our case we are gonna use `fib.cpp` as a library aka outer code. Now build the object file. ``` > g++ -c fib.cpp -o fib.o ``` Then let's build the dll ``` > ld -shared fib.o -o fib.dll ``` The dll is complete! Now let's compile & run the main program! ``` > g++ main.cpp -ldl -o main.exe > main.exe ``` And Congrats!
About
A demo made for shared libraries aka dll files
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published