[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: Compiling static
From:       Thomas Rønshof <tr () kyborg ! dk>
Date:       2009-01-28 8:18:10
Message-ID: 498014C2.70102 () kyborg ! dk
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Maybe an off-topic question, but can i compile gnome-terminal in static ?


Med venlig hilsen / Best regards

Thomas Rønshof

Kyborg A/S
Hørkær 20,2
2730 Herlev




Thiago Macieira skrev:
> Em Segunda-feira 26 Janeiro 2009, às 15:17:11, Thomas Rønshof escreveu:
>   
>> it's easier du install the program on different linux versions, when
>> it's static....
>>     
>
> It's only easier if you have a small program, for which static linking is 
> possible.
>
> A KDE application is hardly such a case. For the following reasons:
>
> 1) KDE libraries were not written for static linking (it may or may not work, 
> we have no clue)
>
> 2) KDE libraries expect to be able to load plugins. That only works for 
> dynamic libraries. You'll need to strip the libraries of ALL plugins.
>
> 3) Certain applications are also kdeinit plugins, which also means those 
> applications require dynamic linking. You'll have to modify each application.
>
> So, in the end, it's more work to make the application link statically than to 
> just deploy the files.
>   
> ------------------------------------------------------------------------
>
>  
>   
>>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
>>>       

[Attachment #5 (text/html)]

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Maybe an off-topic question, but can i compile gnome-terminal in static
?<br>
<br>
<br>
<pre class="moz-signature" cols="72">Med venlig hilsen / Best regards

Thomas Rønshof

Kyborg A/S
Hørkær 20,2
2730 Herlev

</pre>
<br>
<br>
Thiago Macieira skrev:
<blockquote cite="mid:200901261548.37494.thiago@kde.org" type="cite">
  <pre wrap="">Em Segunda-feira 26 Janeiro 2009, às 15:17:11, Thomas Rønshof escreveu:
  </pre>
  <blockquote type="cite">
    <pre wrap="">it's easier du install the program on different linux versions, when
it's static....
    </pre>
  </blockquote>
  <pre wrap=""><!---->
It's only easier if you have a small program, for which static linking is 
possible.

A KDE application is hardly such a case. For the following reasons:

1) KDE libraries were not written for static linking (it may or may not work, 
we have no clue)

2) KDE libraries expect to be able to load plugins. That only works for 
dynamic libraries. You'll need to strip the libraries of ALL plugins.

3) Certain applications are also kdeinit plugins, which also means those 
applications require dynamic linking. You'll have to modify each application.

So, in the end, it's more work to make the application link statically than to 
just deploy the files.
  </pre>
  <pre wrap="">
<hr size="4" width="90%">
 
  </pre>
  <blockquote type="cite">
    <blockquote type="cite">
      <pre wrap="">Visit <a class="moz-txt-link-freetext" \
href="http://mail.kde.org/mailman/listinfo/kde-devel#unsub">http://mail.kde.org/mailman/listinfo/kde-devel#unsub</a> \
to unsubscribe &lt;&lt;  </pre>
    </blockquote>
  </blockquote>
</blockquote>
</body>
</html>



>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic