This is the mail archive of the cygwin 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] |
On Mon, Jun 2, 2008 at 2:09 PM, Brian Dessent <brian@dessent.net> wrote: > Nathan Thern wrote: > >> The C compiler "/usr/bin/gcc.exe" is not able to compile a simple test >> program. > > Can you in fact compile a "hello world" program with gcc? > >> Is this a problem with my environment, or something else? > > This would be a lot easier to answer if you provided the requested > "cygcheck -srv" diagnostic output. > > Brian > Ah, as in "requested" in http://cygwin.com/bugs.html. Thanks for that correction; in my defense, the link from the mailing list guidelines calls that page "bug reporting guidelines", and I don't think I've actually found a bug. Anyway, here it is. I've been using gcc extensively to compile scheme interpreters and to compile code generated by various scheme-to-C systems. Here's a simple check, though: --- $ echo -e '#include <stdio.h>\nmain(){printf("Hello World\\n");}' > hw.c; cat hw.c; /usr/bin/gcc hw.c; ./a.exe #include <stdio.h> main(){printf("Hello World\n");} Hello World --- NT
Attachment:
cygcheck-srv.txt
Description: Text document
-- 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] |