Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: NightOfFear on May 25, 2011, 07:34:06 pm

Title: Making a Static Library
Post by: NightOfFear on May 25, 2011, 07:34:06 pm
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.
Title: Re: Making a Static Library
Post by: oBFusCATed on May 25, 2011, 08:06:55 pm
Use a compiler which supports the generation of .lib static libraries. (Visual C++ or compatible)
Title: Re: Making a Static Library
Post by: NightOfFear on May 25, 2011, 09:38:28 pm
I was using the default GNU GCC.  I did  not realize it did not make .lib files.

Thanks,
Peter.