nanogui: Re: size?
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