Create x86 and x64 build targets


I would like to create both x86 and x64 build targets for the Hieroglyph library, the Lua build, and the sample applications. This will allow taking advantage of very large memory spaces in x64, but still allow for standard 32-bit applications to be built as well.
If this is important to you, please vote on this topic!
Closed Mar 1, 2014 at 3:05 PM by jzink


DarkRadeon wrote Aug 25, 2011 at 12:40 PM

You are still able to compile a x64 build, you only need to recompile the lua libs and then copy them into *Hieroglyph3\Source\Scripting\Library 'cause the lua libs share the same directory for both x86 and x64 builds.

DarkRadeon wrote Aug 25, 2011 at 7:38 PM

Ok, I'm sorry, I probably was drunk and I made a mix of answer on different topics on different we-pages -_-'... that's awkward..
antway, yes, x64 build target will be nice, due the 'size_t' to 'int' conversion..

DarkRadeon wrote Aug 25, 2011 at 7:53 PM

Ok, you probably now hate me.. for triple-posting (an "edit" button" would be nice :O )
but, if I change around the 373rd line of ConsoleWindow

lpfnInputEdit = (WNDPROC)SetWindowLong( m_hEditControl, GWL_WNDPROC, (long) SubclassInputEditProc );


lpfnInputEdit = (WNDPROC)SetWindowLong( m_hEditControl, GWLP_WNDPROC, (long) SubclassInputEditProc );

the x64 compiler works.. (after re-compiling the lua libs too)

jzink wrote Sep 3, 2011 at 9:41 PM

I don't hate you :) I was just on vacation for a few days...

In general I think it will be good to have separate targets, even if the code itself is more or less able to run on either platform. The reason being that future use of the library could incorporate other libraries, which do need to have explicit support for one or the other... Plus having the Lua library builds integrated into the solution would make things much easier and streamlined to get up and running.

Thanks for the input though - I appreciate you digging into the details of getting x64 running!