[Freeswitch-users] Optimal configuration for compiling on 64-bit platforms

curriegrad2004 curriegrad2004 at gmail.com
Sat Apr 9 07:28:49 MSD 2011


You can specifiy -march options on the CXX and CFLAGS section, but
I've only seen noticeable performance increases on the 32-bit
platforms. I personally have "-O2 -g -march=pentium3" on the CXX and
CFLAGS section as I run a small home office setup on my P3 router ;)

On Fri, Apr 8, 2011 at 7:18 PM, A E [Gmail] <all.eforums at gmail.com> wrote:
> Hello,
> I'm sure this has been talked about several times and searching through the
> email archives etc. I have seen 64-bit been mentioned many times, but never
> seen a targetted instructions as to what are the best/optimal parameters to
> give the configure script to compile on a 64-bit Linux platform. In the
> wiki, the following is given:
>
>  CFLAGS=-m64 CXXFLAGS=-m64 LDFLAGS=-m64 ./configure --prefix=/opt/freeswitch
> --enable-core-odbc-support \
> --enable-core-libedit-support --enable-64 --with-openssl=/usr/sfw
>
> But it's for compiling in Solaris. Do these flags/settings work on Linux?
> Can we just use '--enable-64' and that would take care of everything or do
> we need the extra CFLAGS, CXXFLAGS and LDFLAGS as well?
> I'm using Debian 64-bit
> Thanks
> AEG
> _______________________________________________
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>



More information about the FreeSWITCH-users mailing list