Re[2]: gnugk staticaly linked FreeBSD

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




-----Original Message-----
From: Victor Gamov <vit@xxxxxxxxxx>
To: openh323gk-users@xxxxxxxxxxxxxxxxxxxxx
Date: Thu, 01 Apr 2004 14:11:10 +0400
Subject: Re:  gnugk staticaly linked FreeBSD

> 
> P. P. wrote:
> > 
> > -----Original Message-----
> > From: Victor Gamov <vit@xxxxxxxxxx>
> > To: openh323gk-users@xxxxxxxxxxxxxxxxxxxxx
> > Date: Wed, 24 Mar 2004 13:53:58 +0300
> > Subject: Re:  gnugk staticaly linked FreeBSD
> > 
> > 
> >>P. P. wrote:
> >>
> >>>Hello everybody, I have a simple question
> >>>
> >>>I compiled gnugk static build on freebsd and the final size is 8Mb
> >>>(-Os was used) How do I get it to be smaller size (which variables or
> >>>compiler flags I need to set?) I used standart compile options for
> >>>pwlib & openh323 as on a win32 machine (without all openssl expat
> >>>etc.) Even the binary from gnugk.org for FreeBSD Executable (static
> >>>for FreeBSD 4.9, with Radius authentication and accounting, no LDAP,
> >>>no MySQL support large fd_set) wheighs 1.5Mb (How can I at least get
> >>>it this small???) Is it gcc isn't this good or I have really wrong
> >>>settings??? (On vc6 I have static gnugk ~1.5Mb with almost the same
> >>>settings)
> >>>
> >>>
> >>>Any input apreciated
> >>
> >>strip ?
> >>
> > 
> > 
> > how?
> 
> strip <obj-name>
> 
> man 1 strip
> 
> 



It appears that gmake optnoshared doesn't include any symbols since the result I got after stripping *.o was exactry the same to the last bit. Clearly ms compiler does its job much better than gcc when it's about optimizing code. Intel's icc usually performs better that ms compiler and produces very similar binary for *nix and win32 platfors. I guess if icc used binary image should be around the same as on windows. Anybody tried to compile opnh323 code with intel's compiler? It's very compatible to the ms's and gcc compilers. It's available for download and for linux it's free as long as it's for privat usage :)) 
Just curious if it would be better with icc...


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
List: Openh323gk-users@xxxxxxxxxxxxxxxxxxxxx
Archive: http://sourceforge.net/mailarchive/forum.php?forum_id=8549
Homepage: http://www.gnugk.org/

[Index of Archives]     [SIP]     [Open H.323]     [Gnu Gatekeeper]     [Asterisk PBX]     [ISDN Cause Codes]     [Yosemite News]

  Powered by Linux