|
-
July 5th, 2012, 11:05 AM
#1
Making static library with MinGW
Hi.
There is a file compressor called FreeArc (that has GPL code) and a sub project called Unarc (meant for file extraction only) that is free for any use.
Their source codes can be downloaded from here: http://freearc.org/Download-Alpha.aspx
Unarc has a makefile for making a dll. I am trying to make it static instead (.a file), using MinGW, but am failing.
If I use the .o files compiled by the makefile to make one .a file, the decompression methods don't seem to be recognized as they should, so I can't extract anything. These decompression methods are added through static functions called withing the .cpp files of each method, so I guess their code is not being executed.
Do you guys happen to know what am I missing?
By the way, this is my first post here, so I'm sorry for any mistakes I did. I'm also sorry for any english misspelling errors, as english is not my main language.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|