"Cannot export etext" or undefined reference to `WinMain@16'

2002-10-28 Thread Yingping Zhang
Hello all, When I tried to port a compiler, which is ported from Pro64, from Linux to Cygwin, I encountered some stinking problems. Please help me to beat them. At first, when I got all *.o files and tried to build be.so, I got a error report: Cannot export etext: symbol not found collect2: ld

Cannot export etext:symbol not find

2002-10-03 Thread Yingping Zhang
Hello all, Could someone help me? When I used Gcc to compile programs on cygwin, I encountered some problems. To simplify the question, I just use a "hello.c" to replace all programs and I get the same error report. What I did and got is : 1. I used follow command to compile "hello.c" and get a