Re: [Monetdb-developers] [Monetdb-checkins] MonetDB/NT monetdb_winconfig.h, , 1.6, 1.7 winrules.msc, , 1.16, 1.17
Stefan Manegold wrote:
Update of /cvsroot/monetdb/MonetDB/NT In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv15904/NT
Modified Files: monetdb_winconfig.h winrules.msc Log Message:
made OID size (command-line-) configurable (also) on 64-bit Windows: As opposed to Unix, where the default OID size is identical to the native machine word size (in particular 64-bit OIDs on 64-bit systems), the default OID size on 64-bit Windows has been and remains 32-bit (see NT/monetdb_winconfig.h for details). This default can be overruled by compiling with `nmake MONET_OID64=1`. (In case the default in NT/monetdb_winconfig.h is changed to 64-bit OIDs on 64-bit Windows, 32-bit OIDs on 64-bit Windows can be enabled by compiling with `nmake MONET_OID32=1`.) Following these rules I decided to compile MonetDB on windows like this:
E:\MonetDB\Current\MonetDB\NT>nmake MONET_OID64=1 Microsoft (R) Program Maintenance Utility Version 8.00.50727.42 Copyright (C) Microsoft Corporation. All rights reserved. "E:\Microsoft Visual Studio 8\VC\BIN\amd64\nmake.exe" /nologo /f ".\..\Makefile.msc" "prefix=E:\MonetDB\Current\M onetDB\NT" "bits=32" all if not exist "src" mkdir "src" copy ".\..\src\Makefile.msc" "src\Makefile" 1 file(s) copied. cd "src" && "E:\Microsoft Visual Studio 8\VC\BIN\amd64\nmake.exe" /nologo "prefix=E:\MonetDB\Current\MonetDB\NT" "bits=32" all if not exist "common" mkdir "common" copy ".\..\..\src\common\Makefile.msc" "common\Makefile" 1 file(s) copied. cd "common" && "E:\Microsoft Visual Studio 8\VC\BIN\amd64\nmake.exe" /nologo "prefix=E:\MonetDB\Current\MonetDB\N T" "bits=32" all cl -GF -W3 -wd4273 -wd4102 -MD -nologo -Ox -I. -I.\..\.. "-IC:\Pthreads\include" -I.\..\..\..\src\common -DHAVE_L IBZ "-IC:\zlib-1.2.3.win32\include" -DHAVE_ICONV "-IC:\iconv-1.9.2.win32\include" -DLIBSTREAM -DCOMPILE_DL_STREAM - Fo"stream.obj" -c "stream.c" stream.c As you can see the compilation is done for 32 bits and I would like to do it for 64 bits. Could someone give a help here please. Thanks in advance, Romulo
Romulo Goncalves wrote:
Stefan Manegold wrote:
Update of /cvsroot/monetdb/MonetDB/NT In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv15904/NT
Modified Files: monetdb_winconfig.h winrules.msc Log Message:
made OID size (command-line-) configurable (also) on 64-bit Windows: As opposed to Unix, where the default OID size is identical to the native machine word size (in particular 64-bit OIDs on 64-bit systems), the default OID size on 64-bit Windows has been and remains 32-bit (see NT/monetdb_winconfig.h for details). This default can be overruled by compiling with `nmake MONET_OID64=1`. (In case the default in NT/monetdb_winconfig.h is changed to 64-bit OIDs on 64-bit Windows, 32-bit OIDs on 64-bit Windows can be enabled by compiling with `nmake MONET_OID32=1`.) Following these rules I decided to compile MonetDB on windows like this:
E:\MonetDB\Current\MonetDB\NT>nmake MONET_OID64=1
Microsoft (R) Program Maintenance Utility Version 8.00.50727.42 Copyright (C) Microsoft Corporation. All rights reserved.
"E:\Microsoft Visual Studio 8\VC\BIN\amd64\nmake.exe" /nologo /f ".\..\Makefile.msc" "prefix=E:\MonetDB\Current\M onetDB\NT" "bits=32" all if not exist "src" mkdir "src" copy ".\..\src\Makefile.msc" "src\Makefile" 1 file(s) copied. cd "src" && "E:\Microsoft Visual Studio 8\VC\BIN\amd64\nmake.exe" /nologo "prefix=E:\MonetDB\Current\MonetDB\NT" "bits=32" all if not exist "common" mkdir "common" copy ".\..\..\src\common\Makefile.msc" "common\Makefile" 1 file(s) copied. cd "common" && "E:\Microsoft Visual Studio 8\VC\BIN\amd64\nmake.exe" /nologo "prefix=E:\MonetDB\Current\MonetDB\N T" "bits=32" all cl -GF -W3 -wd4273 -wd4102 -MD -nologo -Ox -I. -I.\..\.. "-IC:\Pthreads\include" -I.\..\..\..\src\common -DHAVE_L IBZ "-IC:\zlib-1.2.3.win32\include" -DHAVE_ICONV "-IC:\iconv-1.9.2.win32\include" -DLIBSTREAM -DCOMPILE_DL_STREAM - Fo"stream.obj" -c "stream.c" stream.c
As you can see the compilation is done for 32 bits and I would like to do it for 64 bits. Could someone give a help here please.
If you're compiling a 64-bit version, then you have the option to compile with 32 or 64 bit OIDs. You're compiling a 32 bit version, so you don't have that option. To compile for 64 bits, make sure you use the correct visual studio environment, and then call nmake bits=64 or nmake BITS64=1. You can then, in addition, use MONET_OID64=1 or MONET_OID32=1. -- Sjoerd Mullender
participants (2)
-
Romulo Goncalves
-
Sjoerd Mullender