Author Topic: Making a Static Library  (Read 4051 times)

Offline NightOfFear

  • Single posting newcomer
  • *
  • Posts: 5
Making a Static Library
« 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.

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13406
    • Travis build status
Re: Making a Static Library
« Reply #1 on: May 25, 2011, 08:06:55 pm »
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!]

Offline NightOfFear

  • Single posting newcomer
  • *
  • Posts: 5
Re: Making a Static Library
« Reply #2 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.