[Mingw-w64-public] What is _pei386_runtime_relocator?

2016-12-05 Thread Иван Иванов
Could you please tell me what operation does the _pei386_runtime_relocator function perform exactly? In which cases does the compiler generate calls to this function? How can I get rid of this function when doing "-nostdlib" development (think of it like bare metal development)? --

[Mingw-w64-public] Please remove ident when building CRT.

2016-12-05 Thread Иван Иванов
Hello! I'm using MinGW-builds project to compile all of my C code on windows. However I've noticed that for each object file linked into the final executable I get one ident line (for example "GCC:(i686-posix-sjlj-rev1, Built by MinGW-W64 project) 6.2.0"). I can remove this line for my own object

[Mingw-w64-public] Support for compiler plugins?

2016-04-23 Thread Иван Иванов
Hello! I'm wondering why mingw-w64 builds doesn't have support for GCC's compiler plugins? To make it clear what I'm talking about: https://gcc.gnu.org/wiki/plugins -- Find and fix application performance issues faster wi

[Mingw-w64-public] API functions are not being cut off by the LTO. Is it a bug?

2016-02-20 Thread Иван Иванов
So here is an example of what I'm talking about: #include void Test1() { MessageBoxA(NULL, NULL, "Hello!", MB_OK); } extern "C" void Main() { ExitProcess(0); } Here is how I build this code: g++ -o test32.exe -m32 -O3 -Os -fno-exceptions -fno-rtti -fno-ident -flto -nostdlib -s -e_Main te

[Mingw-w64-public] mingw-w64 and gcc plugins

2014-01-16 Thread Иван Иванов
Hello! Is it possible to develop and use GCC plugins with MinGW-w64 on windows? Are there any MinGW-w64 binaries available that supports GCC plugins? I tried googling for it, but couldn't find any. -- CenturyLink Cloud: Th