hm...but why did i get nothing (console isn't showed)
during compiling such code as win32 program (not as win32 console program)=
In all due respect, it strikes me that you are trying to do something simply isn't going to work.
You are not going to write a program in Pelles C that will run on Linux. The executable files are different enough that it ain't gonna happen and you ain't gonna force it to happen. Windows and Linux cannot exchange executables... and yes that is by design.
Now you do have a few options... none of which involve your screwball #defines and #ifdefs...
1) Write console code on windows, sticking to the C-99 standard function calls. You can then take your source code over to a Linux machine and recompile it there. (Look in the Pelles C help file, all non-standard functions are clearly identified. Don't use any Windows API calls.)
2) You can install a Windows Emulator --like Wine-- on the Linux machine. This will allow you to run *some* (meaning "not all") windows programs on the linux machine.
No matter what you do Pelles C is a compiler for the Windows Platform *only*.
As we discussed in your other thread... you are not going to write a program that runs in both Windows Console and Windows Gui modes... They are different for a whole lot of reasons, not the least of which is that printf(), scanf() and similar function calls write to console windows and the GUI mode uses graphic controls for input and output... these are so different as to be totally incompatible with each other.
For the problem of nothing showing up... Windows GUI programs do not open a console window. If you don't make your own windows you see nothing.
My best advice to you at this point is to get a good book on C Programming... start on page 1, read the text, type up and try the examples... play with the code, break it, fix it, change it, until you know what does and does not work... Now turn to page 2 ... repeat until you hit the end of the book. At least then you wil have some decent understanding of how C programming works.
It is a terrible mistake to think you can just mess about as you are... the end result is usually nothing better than a whole lot of wasted time and effort.