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++?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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++?
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!