hi,
How can I create my own library of functions on linux?
I wrote a program for linux, and I would like to write a library (like windows dll?).
could you help me please.
thank's
DPierret
hi,
How can I create my own library of functions on linux?
I wrote a program for linux, and I would like to write a library (like windows dll?).
could you help me please.
thank's
DPierret
Depends how you want create them. You can have statically-linked libraries (those end in .a, and are linked at compile time), or you can have dynamically-linked libraries (they usually end in .so, and they're similar to Windows DLLs). A static library is nothing more than an archived object file, a dynamic library requires some special gcc command-line arguments. Here's a brief tutorial;
http://www.adp-gmbh.ch/cpp/gcc/create_lib.html
for more information, look at the gcc manpage.
Thank you for your reply.
It's more simple than windows dll's :)
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.