I am attempting to use clang (3.0) and mingw (gcc version 4.6.2) to build and run a simple C++ program. I'm getting unresolved external symbol on _pei386_runtime_relocator, and I just can't seem to find the right obj/lib to link to get this function. I thought I found it in crt1.o, but linking this object does not resolve the linker error.
Any ideas?