linking static libraries lazarus / 13-General ---------------------------------------------------------------------- angman · 2006-10-06 11:02 Hi, I am new to lazarus, and I need to know if could be possible create an application that statically link thirty parts libraries (that exists only in static version), and if possibile, how do tath. Thanks very much,  Angelo :?:  :?: ---------------------------------------------------------------------- CCRDude · 2006-10-06 12:08 Depends on the type of library and the OS Static linking is used a lot in FPC, static linking to DLLs/SOs is quite simple. Not sure about .obj and that stuff ---------------------------------------------------------------------- angman · 2006-10-06 12:58 Well I have a thirty part library written in c that is provided il a .lib format for windows and in a .a format for linux (the library is a coolection of api for an AD device). So if we could statically link in both OS the library with a Lazarus application, we couls have only  a developmente branch for both OS. Thanks,  Angelo ---------------------------------------------------------------------- felipemdc · 2006-10-06 16:43 Linking to .lib files is planned, but not yet possible. It´s better to get to whoever created that library to generate .dll (Windows) and a .so (for Linux) version of that libraries. And also provide the .h headers. Even better if he can translate the .h headers to pascal himself. ---------------------------------------------------------------------- angman · 2006-10-06 16:55 so for linux, if I only have the .a library there is no way to do the job? thanks for the answers, Angelo :roll: