pkgsrc-Users archive

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

Re: PHP-GD at 64bit?



On Thu, 12 Mar 2009 10:22:00 -0400
Ernie Gillis <egillis%berklee.edu@localhost> wrote:

> Hi!
> I sent something about this a couple of weeks ago, but got no
> response.
> 
> I'm wondering what success people have had in doing 64bit compiling  
> from source on an intel platform.
> 
> I am using an Intel Core 2 Duo with Mac OS X as my platform.
> 
> Currently, my main issues are with PHP-GD which is relying on the  
> "libjpeg.dylib." The "libjpeg.dylib" does not appear to want to  
> compile at 64bit.
> 
> Does anyone know if I'm stuck having to compile everything 32bit?
> The problem is certain libraries relying on other libraries and when  
> there is architecture mismatching, it fails across the board.
> 
> I'd really like to be taking advantage of 64bit, for current and  
> future development, but I'm only starting and fear I'll end up not  
> being able to move from 32bit.
> 
My experience is that without too much work, 64-bit applications can be
fixed.

The biggest problem I've seen has been functions with 'long' parameters
where the caller doesn't have a prototype declaration.  I've also see
some problems with format strings in printf/scanf.


                --Steve Bellovin, http://www.cs.columbia.edu/~smb


Home | Main Index | Thread Index | Old Index