This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Segmentation fault with all c programs


Hi,

Each C program that I compile with gcc causes a segmentation fault. Even such 
simple and harmless programs:

    void funct() {
    }

    int main() {
        funct();
        return 0;
    }

With compilation I don?t get any warnings or errors. I tried it with gcc 
version 3.2.1 and version 2.95. In both cases I have the same problem. I?m 
using WinXP.

Any Ideas?

Michael

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]