News:

Masm32 SDK description, downloads and other helpful links
Message to All Guests

Main Menu

problem building a 64 bits executable

Started by TouEnMasm, December 12, 2014, 06:13:51 AM

Previous topic - Next topic

TouEnMasm


It seems there is need to erase the old  binaries files before a new compile.
If not erase,the new code is bad coded.
 
Fa is a musical note to play with CL

qWord

Quote from: ToutEnMasm on December 13, 2014, 03:29:54 AMI don't see what you call  "natural" pointer,the one i need change is size just  adding .X64
This avoid to made header for 32 and header for 64
yes, but why do you use that type in the example code? HBITMAP, HWND, ... are also aliases for XMASM in your include files.
I just thought on readability of the example code, e.g. hWnd:HWND vs. hWnd:XMASM.
MREAL macros - when you need floating point arithmetic while assembling!

habran

Hi ToutEnMasm :biggrin:
Why do you always complicate things :icon_eek:
Use my version of JWasm and:

option casemap : none
option win64 : 11
option frame : auto
option stackbase : rsp
.xmm

It will align stack and data for you
and use WinInc
You can use Visual Studio Community 2013 for building and debugging you projects 
and your ASM life will blossom :P
Cod-Father

TouEnMasm

Quote
Why do you always complicate things :icon_eek:
Use my version of JWasm and:                          --------- GENERAL FAILURE ----------
I am happy than you ask that.
If you could made the little modify given here:
http://masm32.com/board/index.php?topic=3811.msg40240#msg40240
Your build will be usable for me.

For wininc,no thanks,too much limited
For  HBITMAP, HWND ... perhaps I could arrange this
Fa is a musical note to play with CL

habran

This build is tailored for you my friend
RIP and AVX2 are also included
I hope you'll live happily ever after :biggrin:
Cod-Father

TouEnMasm

Thanks,
This solve the general failure.
After further tests,i need to erase the .pdb .
I have not find yet where it is open in the source code.
The obj file is erased by fopen "w."
Perhaps the .pdb isn't erase ?.
I have visual studio community 2013 and no problem with the build of the source code.
Fa is a musical note to play with CL

habran

Cod-Father

TouEnMasm


I am satisfied but .. if you can help me on how erase the .pdb before compile,I get your goods advises.
Fa is a musical note to play with CL

habran

Did you try to chose Rebuild Solution or Clean Solution from Build menu?
Cod-Father

TouEnMasm

 :t
rebuild and all is OK,it's just Magic.
thanks
Fa is a musical note to play with CL

habran

That was my Christmas present to you :lol:
now I can sleep peacefully 8)
Cod-Father