Re: [Mingw-w64-public] ASLR/--dynamicbase and -pie with MinGW-w64

2013-06-09 Thread JonY
On 6/9/2013 08:09, Daniel Verkamp wrote: So, this leads us to a list of questions: Why does --dynamicbase not enable generation of .reloc? Barring that, is the -pie option the correct way to force generation of .reloc for .exe files? If so, why does adding -pie set an incorrect entry

[Mingw-w64-public] PRIu64 and uint64_t

2013-06-09 Thread Gunnar
In MinGW564 the code: #define __STDC_FORMAT_MACROS 1 #include inttypes.h .. .. uint64_t i = 0; printf(i = % PRIu64 \n, i); leads to a unknown conversion type character 'l' in format. In MiGW32 it compiles witout a warning. The command that I use is x86_64-w64-mingw32-gcc-4.8.0.exe

Re: [Mingw-w64-public] PRIu64 and uint64_t

2013-06-09 Thread Tony Theodore
On 03/06/2013, at 2:52 AM, Gunnar gunnar.ha...@chello.nl wrote: In MinGW564 the code: #define __STDC_FORMAT_MACROS 1 #include inttypes.h .. .. uint64_t i = 0; printf(i = % PRIu64 \n, i); leads to a unknown conversion type character 'l' in format. In MiGW32 it compiles