mersenneforum.org

mersenneforum.org (https://www.mersenneforum.org/index.php)
-   Programming (https://www.mersenneforum.org/forumdisplay.php?f=29)
-   -   Binaries for 64-bit windows (https://www.mersenneforum.org/showthread.php?t=10584)

jbristow 2008-08-28 05:23

[quote=ATH;140129]I have been trying that mingw-64 and been trying to compile GMP and GMP-ECM but I'm stuck at GMP so far.

I tried building GMP-ECM in visual studio but stuck there too.[/quote]

64-bit GMP and GMP-ECM also built fine for me in VC9 with Brian's project files.

R.D. Silverman 2008-08-28 13:22

[QUOTE=xilman;140103]|I believe Visual Studio is capable of doing the job.

Otherwise, I wonder how MSFT are building 64-bit versions of Windows. It's not revealing any trade secrets to say that that's how they built Windows when I worked for MSR.


Paul[/QUOTE]

I have Visual Studio 2008 (just got it) and have access to a 64-bit
AMD system. We have no Itaniums.

Here is what the 64-bit documentation says for 64-bit apps:

"As with 32-bit Windows operating systems, there is a 2GB limit on the size of an object you can create while running a 64-bit managed application on a 64-bit Windows operating system."

Also, when I click on the documentation, ask for the index, and try to
access "64-bit integers", the documentation that comes up has nothing
to do with 64-bit ints. Instead, I see a discussion of the C++
Carchive function!!!!

Even with /LARGEADDRESSAWARE there seems no way to build an APP
with an address space larger than 3G under WINDOZE.

So what <expletive deleted> good is this compiler???????

dleclair 2008-08-28 13:48

[quote]I have Visual Studio 2008 (just got it) and have access to a 64-bit
AMD system. We have no Itaniums.[/quote]

You don't need an Itanium to run 64-bit code on recent Intel processors. Support for 64-bit code was added in the late revisions of the Pentium 4 and is available on all Core and Core 2 processors.

[quote]Here is what the 64-bit documentation says for 64-bit apps:

"As with 32-bit Windows operating systems, there is a 2GB limit on the size of an object you can create while running a 64-bit managed application on a 64-bit Windows operating system."
[/quote]

That is clearly referring to managed applications and I'm certain that you have no intent to build a managed C++ application.

[quote]Even with /LARGEADDRESSAWARE there seems no way to build an APP
with an address space larger than 3G under WINDOZE.[/quote]

The /LARGEADDRESSAWARE flag doesn't apply to 64-bit applications on 64-bit versions of Windows.

[quote]So what <expletive deleted> good is this compiler???????[/quote]

No good at all to someone who isn't willing to spend the time to learn how to use it properly.

-Don Leclair

henryzz 2008-08-28 13:55

[quote=dleclair;140181]You don't need an Itanium to run 64-bit code on recent Intel processors. Support for 64-bit code was added in the late revisions of the Pentium 4 and is available on all Core and Core 2 processors.
[/quote]
core 2 processors for laptops dont support 64-bit

R.D. Silverman 2008-08-28 14:25

[QUOTE=dleclair;140181]
No good at all to someone who isn't willing to spend the time to learn how to use it properly.

-Don Leclair[/QUOTE]

Learning how to use it is what I am in the process of doing. But, as
with all uSoft products there is no user manual, so one must learn by
going from topic to topic in the help index.

Andi_HB 2008-08-28 14:35

1 Attachment(s)
[quote=henryzz;140182]core 2 processors for laptops dont support 64-bit[/quote]

Hmm why the Intel Utility say that the Core 2 mobile T8100 support 64-bit?

henryzz 2008-08-28 14:49

whoops! i was sure i had seen that laptops only had 32-bit
shows u need to check things before u post them

dleclair 2008-08-28 15:03

[quote]Hmm why the Intel Utility say that the Core 2 mobile T8100 support 64-bit?[/quote]

[quote]whoops! i was sure i had seen that laptops only had 32-bit
shows u need to check things before u post them[/quote]

It seems that the Core 2 mobile processors have included 64-bit extensions since the release of the Merom line in Jul 2006.

This thread is off topic starting around post #374. Would a moderator be so kind as to cut it there and move it to a new post in the Programming forum?

-Don Leclair

jasonp 2008-08-28 16:04

[QUOTE=dleclair;140194]
This thread is off topic starting around post #374. Would a moderator be so kind as to cut it there and move it to a new post in the Programming forum?
[/QUOTE]
Moved. (For latecomers, this started off when smh asked for a 64-bit windows binary of msieve)

Robert Holmes 2008-08-28 21:27

Useful links:

[url]http://msdn.microsoft.com/en-us/library/9yb4317s(VS.80).aspx[/url]
[url]http://msdn.microsoft.com/en-us/library/x4d2c09s(VS.80).aspx[/url]
[url]http://msdn.microsoft.com/en-us/library/h2k70f3s(VS.80).aspx[/url]

Hope that helps.

Batalov 2008-08-29 01:12

1 Attachment(s)
Yep, it does build in VC9 (with B.Gladman's recipees), but it doesn't fit as an attachment here. (gzipped 283K, bzipped 280K). Haven't tested it yet, though. I'll have access to the Win64 box only later at night (and it doesn't have VC9, so I cross-compiled here; who knows if it even works... [I]EDIT[/I]: No worries - it works.)

Now - it is easier for you guys to take it and try on some recent huge data (that you probably have), then to transfer data to me (I do have some project, but it's not finished; and for finished ones I erased the relations.)

--Serge

[SIZE=1][B]msieve64.zip[/B]:[/SIZE]
[SIZE=1]Your file of 283.5 KB bytes exceeds the forum's limit of 244.1 KB for this filetype.[/SIZE]

[SIZE=1]P.S. Here's a test - part1 ...[/SIZE]


All times are UTC. The time now is 23:24.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.