View Single Post
PODbot mm x86-64 patch to source code and cross-compile Makefile
Old
  (#4)
Lazarus Long
Member
 
Lazarus Long's Avatar
 
Status: Offline
Posts: 27
Join Date: Feb 2005
Default PODbot mm x86-64 patch to source code and cross-compile Makefile - 27-03-2005

Hello, everybody:

For those who want to include ghost of evilspy changes to the source code I'm attaching a patch with them. There are two patch files podbotsrcB_x86_64.patch to run against the original source code files (with CR/LF DOS style EOL) and podbot_plugin.2005-03-12.x86_64.patch in case you converted the original *.cpp and *.h with dos2unix to compile under Linux. Please only apply the one that matches your source code or it will break compile.

I'm also attaching a full cross-compile Makefile (my own small contribution, if anyone is interested in it). It will autodetect in which environment it is building and act accordingly, one can also force the target to be built by calling make with either windows, i386 or amd64 or one can build for all targets by calling make with all. This Makefile is based on the original makefile with changes taken from Building the hlds_l Linux .so article by Vino at Wavelength (acknowledgement goes to [NvT]_KaszpiR_ for the pointer). It was developed with gcc-2.95 for x86, gcc-3.4 for x86_64 and mingw32 for windows on a Debian testing (sarge) distribution.

Best regards,

EDIT: Updated the Makefile in podbot_plugin_x86_64.zip (by recommendation of ghost of evilspy)
Attached Files
File Type: zip podbot_plugin_x86_64.zip (2.6 KB, 822 views)

Last edited by Lazarus Long; 27-03-2005 at 19:50.. Reason: Updated the Makefile in podbot_plugin_x86_64.zip
  
Reply With Quote