ProgrammingThis forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
hi folks,
i want to know what is the differences between:
1)cross-compiling and our normal compiling
2)static and dynamic linking
3)static and shared libraries
can the static library be loaded during the run-time ?
or is it only loaded during the compile time ?
Static libraries (generally ".a" files on *nix, and ".lib" files on DOS/Windows) are included into the exe at link time (not compile time). They become part of the executable code.
Shared libraries, on the other hand, are brought in as-needed into the running process at execution time. This can be done automatically by the OS at program startup, or programmatically by the process itself as it executes.
Cross compiling is completely different - it's running a compiler on one machine (like an x86 running Linux) to compile objects and build executables for a complete different machine (like an embedded system).
I'd guess post 8 and the five identical posts from @Marko-M has
an advertisement purpose.
Two times text complaining about "blocked advertisement"
( I use Adblock++ ) is actually paying more attention than
the very short "howto".
( The @ nesta post you answered is four years old.)
..
Hi! I wasn't posting links to virus or adult content. I gave three links to my articles I've spent days writing with purpose of helping Linux grow. With money I've came up from ads on my site during last few years you wouldn't buy a decent hamburger so If I wanted to make money I would certainly write about some other more spread OS then Linux. We all love Linux but costs money, time and passion to help it spread. Go out there and write some useful Linux articles or open source software, I've done both
Marko-M, it's clear that your intentions at LQ are solely to promote your own site. You have a total post count of 6 and 5 of which are identical posts to your brief how-to articles. To gain respect around here, I suggest your answer some recent questions, but I'm pretty sure all you care about are the links back to your site.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.