[cfe-dev] Clang Problem Running Files Continued

NAKAMURA Takumi geek4civic at gmail.com
Wed Nov 16 16:55:16 PST 2011


Brett,

Please make sure;

0) Cygwin-1.5 is not supported. (and IIRC, cygwin-1.5 would be
unavailable on windows 7)

1) your gcc.exe is gcc-4. clang/cygwin relies on gcc driver for linking.
  $ gcc --version
  gcc (GCC) 4.3.4 20090804 (release) 1

2) Run clang with -v
  $ /path/to/clang -v test.c

X) By the way, where is clang installed to?
  $ which clang


Note. clang/cygwin emits "a.out" as executable by default. you may run
it with "./a.out".

...Takumi



More information about the cfe-dev mailing list