On Sat, Jan 19, 2008 at 11:49:07AM +0100, Stefan Manegold wrote:
> Jennie,
>
> you might also want to check, if your system & compiler are actually capable
> of producing 64-bit binaries, and if so, whether the default of your
> compiler is 32- or 64-bit. E.g.:
>
> echo -e '#include <stdlib.h>\n#include <stdio.h>\nint main()
> {\nprintf("Hello\\n");\nreturn 0;\n}' | tee hello.c ; gcc -o hello hello.c &&
> ./hello ; gcc -m32 -o hello32 hello.c && ./hello32 ; gcc -m64 -o hello64
> hello.c && ./hello64 ; file hello{,32,64}
or even
echo -e '#include <stdlib.h>\n#include <stdio.h>\nint main()
{\nprintf("Hello(%d,%d)\\n",8*sizeof(char*),8*sizeof(size_t));\nreturn 0;\n}' |
tee hello.c ; gcc -o hello hello.c && ./hello ; gcc -m32 -o hello32 hello.c &&
./hello32 ; gcc -m64 -o hello64 hello.c && ./hello64 ; file hello{,32,64}
> In case "hello" (the default) is 64-bit, you don't need to use
> --enable-bits=64 at all.
>
> In case "hello64" does not compiler or work, there is not much hope to get a
> 64-bit MonetDB on your system (at least not easily).
>
> Could you please also report what
> uname -a
> says on your system?
>
> Stefan
--
| Dr. Stefan Manegold | mailto:[EMAIL PROTECTED] |
| CWI, P.O.Box 94079 | http://www.cwi.nl/~manegold/ |
| 1090 GB Amsterdam | Tel.: +31 (20) 592-4212 |
| The Netherlands | Fax : +31 (20) 592-4312 |
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Monetdb-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-developers