RE: 64 bit or 32 bit

"Hillel" <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Message-ID <!&!AAAAAAAAAAAYAAAAAAAAAAht0jWTOrFAoEs8v1HaiFjCgAAAEAAAAIoB0Cgmn+BLsKAgRsP/[email protected]>
Hi Andries,

Thanks for your great advice.

We will be using Linux Redhat Enterprise 64 bit OS and so would the
CFLAGS=-arch x86_64 work to compile for the 64 bit OS?

If we have to move back to 32 bit but still run on 64 bit server, what do we
need to do?

Rgds

-----Original Message-----
From: Andreas Fink [mailto:[email protected]] 
Sent: 26 May 2008 11:37 AM
To: Hillel
Cc: devel Devel
Subject: Re: 64 bit or 32 bit


Kannel won't profit from 64bit in any way unless you intend to send so  
many SMS that the memory usage would be above 4GB of RAM.
So the speed should be the same. Depending on the operating system  
underneath you could see some slowdown or improvement but I doubt it  
would make much difference.

The compile flags to compile for 64bit or 32bit also depend on the  
operating sytem. Under MacOS X 10.5 you would use CFLAGS=-arch x86_64  
to indicate a compilation for 64bit. Note that all supporting  
libraries have to be 64bit as well. This includes libxml2 and possibly  
any database engine like mysql if you use that.

On 26.05.2008, at 11:31, Hillel wrote:

> Hi,
>
> We are looking at running Kannel on our 64 bit Server.
>
> 1. Do Kannel developers experience that Kannel runs faster or slower  
> on 64
> bit server versus 32 bit OS?
>
> 2. How do you compile Kannel on a 64 bit OS? Are there any extra  
> compile
> options?
>
> 3. If we want to compile 32 bit Kannel on a 64 bit OS, will it  
> compile as
> usual or must we use any extra compile options?
>
> Thanks for any assistance.
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.