[Freeswitch-users] Optimal configuration for compiling on 64-bit platforms
curriegrad2004
curriegrad2004 at gmail.com
Sun Apr 10 02:41:42 MSD 2011
It seems for me on a PIII under SL6/Fedora 12-13 that the
auto-optmization doesn't happen at all
On Sat, Apr 9, 2011 at 3:23 PM, Giovanni Maruzzelli <gmaruzz at gmail.com> wrote:
> Compilation flags (if you do not compile on one machine kind and run
> on another kind) are taken care of automatically by the
> bootstrap/configure/make mechanism.
> You are not supposed to do anything (actually, fiddling with those
> options can damage performance/stability).
> -giovanni
>
>
> On 4/9/11, curriegrad2004 <curriegrad2004 at gmail.com> wrote:
>> 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
>>>
>>>
>>
>> _______________________________________________
>> 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
>>
>
> --
> Sent from my mobile device
>
> Sincerely,
>
> Giovanni Maruzzelli
> Cell : +39-347-2665618
>
> _______________________________________________
> 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