[Dev-C++] creating library *.a files with Dev C++
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Coosa <co...@gm...> - 2003-11-25 12:30:07
|
Hi all, I have the following problem: I'm working with Dev C++ 4.9.8.5 and suppose i have the following = scenario: A project consistes of the following files: 1.. project.dev=20 2.. main.cpp=20 3.. FileA.cpp=20 4.. FileA.h After compilation i get also: 1.. main.o=20 2.. FileA.o Now later i can also delete the FileA.cpp and insted use the object file = and just include the FileA.h to the project. Theat's all fine. But when i want to use the same file with a normal source file (not a = project) i can't simply use the functions i created in the FileA.cpp and = just include the FileA.h though i copied the FileA.o to the default = library directory and the FileA.h to the default include Directory. I heard later that i must create a FileA.a from the FileA.o, but i have = no idea how to do this! Can some please one help me on that? |