OESF | ELSI | pdaXrom | OpenZaurus | Zaurus Themes | Community Links | Ibiblio


Welcome Guest ( Log In | Register )

> How To Link Statically?
post Jun 27 2006, 12:42 AM
Post #1

Group: Members
Posts: 1,002
Joined: 28-April 05
From: Germany
Member No.: 7,027


I'm not a development guru, but from time to time I compile programs on the zaurus.
One questions, because there are often problems with unresolved dependencies when distributing programs which are linked dynamically:

How can I switch to statical linking

a. when using the normal Makefile stuff most sources come with
b. when compiling without having a makefile, i.e. directly with
gcc -o binary source.c

Is really everything linked in statically then, or only the direct dependencies, but dependencies of dependencies still dynamically, e.g. if a library needs a library...

Go to the top of the page
+Quote Post

Posts in this topic

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:


RSS Lo-Fi Version Time is now: 28th October 2016 - 04:45 AM