cmake doesn't like gcc

Nathan Thern nthern@gmail.com
Mon Jun 2 19:39:00 GMT 2008


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
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: cygcheck-srv.txt
URL: <http://cygwin.com/pipermail/cygwin/attachments/20080602/523086f7/attachment.txt>
-------------- next part --------------
--
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/


More information about the Cygwin mailing list

AltStyle によって変換されたページ (->オリジナル) /