Author Topic: can i make static library with type .lib for usig in cpp builder?  (Read 6059 times)

Offline soican

  • Single posting newcomer
  • *
  • Posts: 6
my topic's name is question, duplicate:
can i make static library with type .lib for usig in cpp builder(for example)?
compiler is mingw.
« Last Edit: July 10, 2013, 11:11:57 pm by soican »

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13406
    • Travis build status
Re: can i make static library with type .lib for usig in cpp builder?
« Reply #1 on: July 10, 2013, 11:27:22 pm »
If the compiler in the cpp builder is mingw then you can easily make one.
If it is not then you have to know what you're doing to do it and then it is not guaranteed that you'll succeed.
(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 soican

  • Single posting newcomer
  • *
  • Posts: 6
Re: can i make static library with type .lib for usig in cpp builder?
« Reply #2 on: July 11, 2013, 10:20:15 pm »
Quote
you can easily make one.
i meant can i save statik lib with .lib format but no .a one(using codeblock with mingw)

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13406
    • Travis build status
Re: can i make static library with type .lib for usig in cpp builder?
« Reply #3 on: July 12, 2013, 07:05:16 am »
I don't think so. Also keep in mind that GCC doesn't support the native debugger symbols format. So even if you can create a .lib file you won't be able to debug it in C++ builder.

Another option is to setup the C++ builder compiler in Codeblocks.
(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!]