Hello, FreeBSD executable on gnugk.org was built with following command: # gmake optnoshared If you need more info, please let me know. Regards, Aivis -----Original Message----- From: openh323gk-users-admin@xxxxxxxxxxxxxxxxxxxxx [mailto:openh323gk-users-admin@xxxxxxxxxxxxxxxxxxxxx]On Behalf Of Zygmuntowicz Michal Sent: Wednesday, March 24, 2004 10:12 AM To: openh323gk-users@xxxxxxxxxxxxxxxxxxxxx Subject: Re: gnugk staticaly linked FreeBSD Microsoft compilers are very good at shrinking down the executable size (it is also a matter of librarier - statis Windows executable is not really static, it uses dynamic libraries anyway). Are you sure the FreeBSD 1.6MB executable is linked statically? Hard to believe... FreeBSD also uses GCC, doesn't it? ----- Original Message ----- From: "P. P." <block111@xxxxxxx> Sent: Wednesday, March 24, 2004 6:27 AM > 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 ------------------------------------------------------- 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/ ------------------------------------------------------- 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/