nanogui: Thread: Re: size?


[<<] [<] Page 1 of 1 [>] [>>]
Subject: Re: size?
From: "LC. Chang" ####@####.####
Date: 21 Dec 2000 05:58:47 -0000
Message-Id: <3A419DF2.84E5112@sis.com.tw>


> I build viewml under X windows and run it correctlythe size of viewml
> is about 5M.after I stripped it, the size of it is about 917Kit's so
> small now the problem is followrun ldd viewmlI get a list of shared
> lib which viewml depends onthe total size of these libs is about
> 10Mafter stripped(   stripped lib can run correctly?)the total size
> changed to about 3M questions:1.if I strip libs viewml depends on ,can
> viewml run correctly?2.how to get a more samll size viewml,included
> libs?3.is there some way to build viewml with static lib ?

I did the same as you mentioned above, and it runs ok.
total size is 3.x M (viewml+shared lib)
But when I try to link with static lib, the following error occurs:

/usr/local/lib/libwwwapp.a(HTInit.o): In function `HTConverterInit':
/minlinux/w3c-libwww-5.3.1/Library/src/HTInit.c:84: undefined reference
to `HTXML_new'
/minlinux/w3c-libwww-5.3.1/Library/src/HTInit.c:85: undefined reference
to `HTXML_new'
collect2: ld returned 1 exit status
make[1]: *** [all] Error 1
make[1]: Leaving directory `/minlinux/viewml-0.18/src'
make: *** [viewml] Error 2
Subject: Re: size?
From: "Tony Hoo" ####@####.####
Date: 22 Dec 2000 02:11:01 -0000
Message-Id: <001f01c06bcd$fe73e610$354f44d3@HuXianGang>

What I done is for CS7500FE (ARM arch), and viewml can run now.
I also  encountered this problem, and now I have compiled it with 2.3M(1.7M for viewml, before striped it was 8M, 500k for shared lib), I suggested you keeping libfile.so、libwwwhttp.so、libwwwmime.so、libxmlparse.so、libxmltok、so, and others keeping static . I don't know why, perhaps greg can explain it.
 
> > I build viewml under X windows and run it correctlythe size of viewml
> > is about 5M.after I stripped it, the size of it is about 917Kit's so
> > small now the problem is followrun ldd viewmlI get a list of shared
> > lib which viewml depends onthe total size of these libs is about
> > 10Mafter stripped(   stripped lib can run correctly?)the total size
> > changed to about 3M questions:1.if I strip libs viewml depends on ,can
> > viewml run correctly?2.how to get a more samll size viewml,included
> > libs?3.is there some way to build viewml with static lib ?
> 
> I did the same as you mentioned above, and it runs ok.
> total size is 3.x M (viewml+shared lib)
> But when I try to link with static lib, the following error occurs:

[<<] [<] Page 1 of 1 [>] [>>]


Powered by ezmlm-browse 0.20.