|
From: Abhijit S. <mu...@gm...> - 2002-06-18 15:07:40
|
.a files are library files. To make them under MingW32, you do this: g++ -c -o foo.o foo.cpp ar -r libfoo.a foo.o Copy libfoo.a to your 'lib' directory, and when compiling stuff, you can use it as a library, as in g++ -o boo.exe boo.cpp -lfoo Translate these commands into appropriate Dev-C++ settings (if possible)... for the 'ar' bit, you'll have to use a script. A reminder: Some people are (still)using HTML e-mail, please switch to text. -------------------------- http://mudeth.tripod.com ----- Original Message ----- From: "Carlos García del Monte" <cg...@wo...> To: "dev-cpp-users-list" <dev...@li...> Sent: Tuesday, June 18, 2002 3:41 PM Subject: Re: [Dev-C++] making .a files There is no option in file -> new project to make only the .a file, at least in Dev-C++ 4. There are only windows, console, winmain, dll and empty. But I tried to open a new DLL and compile it wothout touch the basic template, and in the output are the .def, the .dll and the .a file. I suppose then that if you want make an .a file you have just to make a dll. It is valid I'll suppose while no other thing is said. [I don't know yet program them, but I am trying to write an application to convert MSVC project to DEV-C++ project] |