Re: RES: Libs for cross compilation

Friendly Ghost <[email protected]> Thu, 27 Feb 2003 16:54:16 +0200 (EET)
Newsgroups gmane.comp.video.gimp.windows.devel
Message-ID <[email protected]>
Hi Daniel,

My program itself if striped weights about 60Kb. With all those libs it
weights about 2Mb and that's terrible.

I thought if I statically link with all libs and strip all unused code
(I'm not certain it is possible) it will probably weight about 600Kb and
that would be acceptable.

If I'm correct that's how Patric did with his X-Chat. It only weights
600Kb and it's only one file. And it is much bigger program than mine is.

All the best,
Kostik.

On Thu, 27 Feb 2003, Daniel K. O. wrote:

> 
> 
> Maybe the answer is given with another question: do you REALLY want a
> program static linked with GTK, (say, a 'hello world') with almost 10 MB?
> Also, GTK is in constant development, so at every update, you would need to
> recompile all your 10 MB program again.
> 
> 
> 
> Daniel K. O.
> 
> 
> 
>  >  -----Mensagem original-----
>  >  De: Friendly Ghost [mailto:[email protected]]
>  >  Enviada em: quinta-feira, 27 de fevereiro de 2003 11:07
>  >  Para: [email protected]
>  >  Assunto: Re: [gimpwin-dev] Libs for cross compilation
>  >
>  >
>  >  Hi,
>  >
>  >  Thanks for your help. It worked!
>  >
>  >  The next stage is to find out how to statically link. What names
>  >  static libs have? And what are .dll.a?
>  >
>  >  I can link statically against libjpeg but can't do that for gtk+, glib,
>  >  gmodule, libiconv and other. Doesn't they have static libs or what is a
>  >  problem?
>  >
>  >  Have a good day,
>  >  Kostik.
> 
> 
> 
> To Post a message, send it to: [email protected]
> To Unsubscribe, send a blank message to: [email protected] 
> 
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 
> 
>