News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

Making a Static Library

Started by NightOfFear, May 25, 2011, 07:34:06 PM

Previous topic - Next topic

NightOfFear

I am using Code Blocks 10.05 on Windows XP 5.1 (SP3).

I would like to make a static library with the suffix .lib but when I choose the static library option, the ouput is 3 file types with the suffices .o, .a and .cbp.

How can I make a library file with the suffix .lib.

Thanks,
Peter.

oBFusCATed

Use a compiler which supports the generation of .lib static libraries. (Visual C++ or compatible)
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

NightOfFear

I was using the default GNU GCC.  I did  not realize it did not make .lib files.

Thanks,
Peter.