-
July 12th, 2012, 12:18 AM
#1
My code runs smoothly on a x86 virtual machine but not in a x64
I'm creating a parser to compile the language Fortran but only runs correctly in a x86 windows.
And the error is intermittent in the x64 , only gives segmentaion fault sometimes!I'm using codeblocks with mingw32-g++ .
Any suggestions??
-
July 12th, 2012, 02:24 AM
#2
Re: My code runs smoothly on a x86 virtual machine but not in a x64
Debug your code, without it nobody here can tell you what's wrong.
One idea could be to compile your code with MS Visual Studio. Make sure that the C/C++ option 'Detect 64-bit Portability Issues' is set in the project you create. Be aware though that 64-bit MSVC & gcc does not have the same size for all integer types.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|