- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have several
extraordinarily large programs that I would like to compile with IVF
9.1 on a 64-bit version of Windows. Is the compiler itself capable of
addressing more than 2GB?
Link Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The IA-64 (Itanium) compiler is a 64-bit app, but the Intel 64 (EM64T) compiler is 32-bit and would have similar memory constraints as on 32-bit Windows. Are these single source files that are very large? Note that no matter what you do, there is a hard limit of 2GB for all static code and data on Windows, even 64-bit.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It is a single large file. I don't think the data will often be larger than 2GB, but if so, I can change to allocatable arrays. But the program code might be and I actually have less control over that.
By "static code", do you mean all program code, code that is not exported (say via _declspec()), code that is explicitly declared static (like in C), or something else?
By "static code", do you mean all program code, code that is not exported (say via _declspec()), code that is explicitly declared static (like in C), or something else?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sorry - should have said "code and static data". That is, anything that is placed by the linker. It excludes dynamic allocation. The 2GB is a Windows object code format limit and not a compiler limit.
I would strongly suggest trying to break up the program into separate files (and that means separate subroutines, not just pieces that you stick together with INCLUDE.)
I would strongly suggest trying to break up the program into separate files (and that means separate subroutines, not just pieces that you stick together with INCLUDE.)

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page