I've raised this as a new issue rather than requesting reopening of
since this issue highlights a new area of pcc being a problem. The additions to the wiki page at http://pcc.ludd.ltu.se/cross-compiler/
may assist in relation to this issue.
The cross-compiler executable '/usr/local/bin/i386-pe-pcc' fails to build pcc-libs at file ssp.c with Assembler error: unknown pseudo-op: `.previous'. The reason I hesitate to call this a backend issue is because of the lines:
#define __constructor _Pragma("init")
#define __destructor _Pragma("fini")
which seem to cause the problem. However I'm not qualified to judge that.
With the mingw32 and w32api packages it is the header files which fail to compile with pcc saying "bad argument to #pragma" many times before giving up.
I attach a .c file which currently fails to compile but which may well work if pcc can be made to support the pragma's in the support libraries. (It is a very slightly altered version of http://www.cprogramming.com/tutorial/opengl_first_windows_app.html
. Compile with "i386-pe-pcc -o /tmp/hellowin.exe /tmp/hellowin.c -lgdi32".)