Menu

How to use *.lib file?

2003-01-06
2012-09-26
  • Nobody/Anonymous

    I want to use AMD math library which is a *.lib file containing math functions optimized using 3DNOW instructions. But it seems dev-c++ only accepts *.a files as lib file. I changed the file name to amathd.a and it does not work.
    How can I use *.lib file in dev-c++?

     
    • upcase

      upcase - 2003-01-06

      You're right. gcc only accepts .a files. I guess you can't use .lib files because they're for MS VC and got a different structure. It it was a loader code for a dll you are maybe lucky with a tool called reimp. I managed to get the mysql.lib working with gcc using this tool.
      Bye!

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.