View Single Post
  #4  
Old 01-03-2009, 01:18 AM
movieman
Fire Beetle
 
Join Date: May 2004
Posts: 25
Default

So anyway, to make it compile 64-bit, here's what you need:

1. Fix TCPConnection.cpp to use socklen_t as BSD does, rather than size_t.
2. Fix the makefiles to not force -march=i686
3. Fix the makefiles which have hard-coded MYSQL_FLAGS and MYSQL_LIB to instead use mysql_config as the chatserver makefile does.

I'm not sure when I'll be able to try running it to see whether it actually works, but I checked the 'uint32'-type definitions and they look correct for 64-bit code; as far as I'm aware int is 32-bit, long is 64-bit and long long is 64-bit on AMD64 Linux.
Reply With Quote